NDIS_NIC_SWITCH_INFO_ARRAY - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddndis.h

typedef struct _NDIS_NIC_SWITCH_INFO_ARRAY {
  NDIS_OBJECT_HEADER Header;
  ULONG              FirstElementOffset;
  ULONG              NumElements;
  ULONG              ElementSize;
} NDIS_NIC_SWITCH_INFO_ARRAY, *PNDIS_NIC_SWITCH_INFO_ARRAY;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddndis-_ndis_nic_switch_info_array)

_NDIS_NIC_SWITCH_INFO_ARRAY structure

Description

The NDIS_NIC_SWITCH_INFO_ARRAY structure specifies an array. Each element in the array specifies the attributes of a network adapter switch that has been created on the network adapter.

Members

The type, revision, and size of the NDIS_NIC_SWITCH_INFO_ARRAY structure. This member is formatted as an NDIS_OBJECT_HEADER structure.

NDIS sets the Type member of Header to NDIS_OBJECT_TYPE_DEFAULT. To specify the version of the NDIS_NIC_SWITCH_INFO_ARRAY structure, NDIS sets the Revision member of Header to the following value:

NDIS_NIC_SWITCH_INFO_ARRAY_REVISION_1

Original version for NDIS 6.30.

Set the Size member to NDIS_SIZEOF_NIC_SWITCH_INFO_ARRAY_REVISION_1.

FirstElementOffset

A ULONG value that specifies the offset, in bytes, to the first element in an array of elements that follow this structure. The offset is measured from the start of the NDIS_NIC_SWITCH_INFO_ARRAY structure up to the beginning of the first element. Each element in the array is an NDIS_NIC_SWITCH_INFO structure.

Note If NumElements is set to zero, this member is ignored.

NumElements

A ULONG value that specifies the number of elements that follow the NDIS_NIC_SWITCH_INFO_ARRAY structure.

ElementSize

A ULONG value that specifies the size, in bytes, of each element that follows the NDIS_NIC_SWITCH_INFO_ARRAY structure.

Remarks

NDIS returns an NDIS_NIC_SWITCH_INFO_ARRAY structure in the following ways:

Each element in the array that follows the NDIS_NIC_SWITCH_INFO_ARRAY structure is an NDIS_NIC_SWITCH_INFO structure.

Note Starting with NDIS 6.30, only the NDIS_NIC_SWITCH_INFO that describes the information about the default network adapter switch is returned through an OID query request of OID_NIC_SWITCH_ENUM_SWITCHES.

See also

FilterAttach

NDIS_BIND_PARAMETERS

NDIS_FILTER_ATTACH_PARAMETERS

NDIS_NIC_SWITCH_INFO

NDIS_OBJECT_HEADER

OID_NIC_SWITCH_ENUM_SWITCHES

ProtocolBindAdapterEx