// ntddndis.h
typedef struct _NDIS_WMI_EVENT_HEADER {
NDIS_OBJECT_HEADER Header;
NET_IFINDEX IfIndex;
NET_LUID NetLuid;
ULONG64 RequestId;
NDIS_PORT_NUMBER PortNumber;
ULONG DeviceNameLength;
ULONG DeviceNameOffset;
UCHAR Padding[4];
} NDIS_WMI_EVENT_HEADER, *PNDIS_WMI_EVENT_HEADER;
View the official Windows Driver Kit DDI referenceNo description available.
The NDIS_WMI_EVENT_HEADER structure provides information about a GUID event for WMI clients.
HeaderThe NDIS_OBJECT_HEADER structure for this NDIS_WMI_EVENT_HEADER structure. Set the Type member of NDIS_OBJECT_HEADER to NDIS_WMI_OBJECT_TYPE_EVENT, the Revision member to NDIS_WMI_EVENT_HEADER_REVISION_1, and the Size member to sizeof(NDIS_WMI_EVENT_HEADER).
IfIndexThe NDIS interface index of the NDIS miniport adapter interface that is associated with the GUID.
NetLuidThe NDIS network interface name of the miniport adapter.
RequestIdAn 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.
PortNumberThe miniport adapter port, if any. If the GUID is not specific to a port, PortNumber is zero.
DeviceNameLengthThe length, in bytes, of the device name.
DeviceNameOffsetThe offset, in bytes, to the beginning of the device name from the beginning of the NDIS_WMI_EVENT_HEADER structure.
PaddingThis member is reserved.
NDIS translates NDIS status indications to WMI GUID event indications.
WMI GUID event indications that are specific to NDIS 6.0 and later versions include an NDIS_WMI_EVENT_HEADER structure that is followed by the GUID-specific data, if any.