// ntddndis.h
void NDIS_SWITCH_PORT_AT_ARRAY_INDEX(
_PortArray_,
_Index_
);
View the official Windows Driver Kit DDI referenceNo description available.
Hyper-V extensible switch extensions use the NDIS_SWITCH_PORT_AT_ARRAY_INDEX macro to access an NDIS_SWITCH_PORT_PARAMETERS element inside an NDIS_SWITCH_PORT_ARRAY structure.
_PortArray_A pointer to an NDIS_SWITCH_PORT_ARRAY structure.
_Index_A USHORT value that specifies the zero-based index of the NDIS_SWITCH_PORT_PARAMETERS element inside the NDIS_SWITCH_PORT_ARRAY.
[!NOTE] This value must be less than the value of the NumElements member of the NDIS_SWITCH_PORT_ARRAY structure.
The NDIS_SWITCH_PORT_AT_ARRAY_INDEX macro returns a pointer to the specified NDIS_SWITCH_PORT_PARAMETERS element inside the NDIS_SWITCH_PORT_ARRAY.