NDIS_SWITCH_NIC_AT_ARRAY_INDEX macro

Hyper-V extensible switch extensions use the NDIS_SWITCH_NIC_AT_ARRAY_INDEX macro to access an NDIS_SWITCH_NIC_PARAMETERS element inside an NDIS_SWITCH_NIC_ARRAY structure.

Syntax


PNDIS_SWITCH_NIC_PARAMETERS NDIS_SWITCH_NIC_AT_ARRAY_INDEX(
   PNDIS_SWITCH_NIC_ARRAY _NicArray_,
   USHORT                 _Index_
);

Parameters

_NicArray_

A pointer to an NDIS_SWITCH_NIC_ARRAY structure.

_Index_

A USHORT value that specifies the zero-based index of the NDIS_SWITCH_NIC_PARAMETERS element inside the NDIS_SWITCH_NIC_ARRAY.

Note  This value must be less than the value of the NumElements member of the NDIS_SWITCH_NIC_ARRAY structure.
 

Return value

The NDIS_SWITCH_NIC_AT_ARRAY_INDEX macro returns a pointer to the specified NDIS_SWITCH_NIC_PARAMETERS element inside the NDIS_SWITCH_NIC_ARRAY.

Requirements

Target platform

Version

Supported in NDIS 6.30 and later.

Header

Ntddndis.h (include Ndis.h)

See also

NDIS_SWITCH_NIC_PARAMETERS
NDIS_SWITCH_NIC_ARRAY

 

 

Send comments about this topic to Microsoft

Show: