NDIS_WMI_ENUM_ADAPTER structure (ntddndis.h)

The NDIS_WMI_ENUM_ADAPTER structure is returned when NDIS responds to the GUID_NDIS_ENUMERATE_ADAPTERS_EX GUID.

Syntax

typedef struct _NDIS_WMI_ENUM_ADAPTER {
  NDIS_OBJECT_HEADER Header;
  NET_IFINDEX        IfIndex;
  NET_LUID           NetLuid;
  USHORT             DeviceNameLength;
  CHAR               DeviceName[1];
} NDIS_WMI_ENUM_ADAPTER, *PNDIS_WMI_ENUM_ADAPTER;

Members

Header

The NDIS_OBJECT_HEADER structure for this NDIS_WMI_ENUM_ADAPTER structure. Set the Type member of NDIS_OBJECT_HEADER to NDIS_WMI_OBJECT_TYPE_ENUM_ADAPTER, the Revision member to NDIS_WMI_ENUM_ADAPTER_REVISION_1, and the Size member to sizeof(NDIS_WMI_ENUM_ADAPTER).

IfIndex

The NDIS interface index of the NDIS miniport adapter interface that is associated with the GUID.

NetLuid

The NDIS network interface name of the miniport adapter.

DeviceNameLength

The length, in bytes, of the device name of the NDIS miniport adapter interface that is associated with the GUID.

DeviceName[1]

The device name of the NDIS miniport adapter interface that is associated with the GUID. The device name is a null-terminated wide character string.

Remarks

NDIS returns the NDIS_WMI_ENUM_ADAPTER structure when it enumerates miniport adapters for WMI clients. For more information about enumerating miniport adapters for WMI clients, see GUID_NDIS_ENUMERATE_ADAPTERS_EX.

Requirements

Requirement Value
Minimum supported client Supported in NDIS 6.0 and later.
Header ntddndis.h (include Ndis.h)

See also

GUID_NDIS_ENUMERATE_ADAPTERS_EX

NDIS_OBJECT_HEADER