NDIS_WMI_METHOD_HEADER structure (ntddndis.h)

The NDIS_WMI_METHOD_HEADER structure provides information about a GUID method request from WMI clients.

Syntax

typedef struct _NDIS_WMI_METHOD_HEADER {
  NDIS_OBJECT_HEADER Header;
  NDIS_PORT_NUMBER   PortNumber;
  NET_LUID           NetLuid;
  ULONG64            RequestId;
  ULONG              Timeout;
  UCHAR              Padding[4];
} NDIS_WMI_METHOD_HEADER, *PNDIS_WMI_METHOD_HEADER;

Members

Header

The NDIS_OBJECT_HEADER structure for this NDIS_WMI_METHOD_HEADER structure. Set the Type member of NDIS_OBJECT_HEADER to NDIS_WMI_OBJECT_TYPE_METHOD, the Revision member to NDIS_GUID_HEADER_REVISION_1, and the Size member to sizeof(NDIS_WMI_METHOD_HEADER).

PortNumber

The miniport adapter port, if any. If the GUID is not specific to a port, PortNumber is zero. WMI clients can use the GUID_NDIS_GEN_ENUMERATE_PORTS GUID to obtain list of the ports that are associated with a miniport adapter.

NetLuid

The NDIS network interface name of the miniport adapter. WMI clients can use the GUID_NDIS_ENUMERATE_ADAPTERS_EX GUID to find a device name and the associated NetLuid value.

RequestId

An identifier for the request. If a miniport driver must complete a request immediately and it completes the request with a status of NDIS_STATUS_INDICATION_REQUIRED, the miniport driver uses this RequestId value to set the RequestId member of the associated NDIS_STATUS_INDICATION structure.

NDIS or overlying drivers can also use the RequestId to cancel a request. When a miniport driver receives a cancellation request, the miniport driver cancels any pending requests with a matching RequestId. If RequestId is zero, the miniport driver can ignore this member.

For more information about this member, see NDIS_OID_REQUEST.

Timeout

A time-out, in seconds, for the request. NDIS can reset the driver or cancel the request if the time-out expires before the driver completes the request.

For more information about this member, see NDIS_OID_REQUEST.

Padding[4]

This member is reserved.

Remarks

NDIS translates WMI GUID method requests to NDIS OID requests.

WMI method GUID requests that are specific to NDIS 6.0 and later versions include an NDIS_WMI_METHOD_HEADER structure that is followed by the GUID-specific data, if any. The WMI output buffer contains GUID-specific data, if any, when the request succeeds and completes.

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

GUID_NDIS_GEN_ENUMERATE_PORTS

NDIS_OBJECT_HEADER