WDI_MESSAGE_HEADER - NtDoc

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

typedef struct _WDI_MESSAGE_HEADER {
  WDI_PORT_ID PortId;
  UINT16      Reserved;
  NDIS_STATUS Status;
  UINT32      TransactionId;
  UINT32      IhvSpecificId;
} WDI_MESSAGE_HEADER, *PWDI_MESSAGE_HEADER;
View the official Windows Driver Kit DDI reference
// dot11wificxintf.h

typedef struct _WDI_MESSAGE_HEADER {
  WDI_PORT_ID PortId;
  UINT16      Reserved;
  NDIS_STATUS Status;
  UINT32      TransactionId;
  UINT32      IhvSpecificId;
} WDI_MESSAGE_HEADER, *PWDI_MESSAGE_HEADER;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-dot11wdi-_wdi_message_header)

_WDI_MESSAGE_HEADER structure

Description

[!IMPORTANT] This topic is part of the WDI driver model released in Windows 10. The WDI driver model is now in maintenance mode and will only receive high priority fixes. WiFiCx is the Wi-Fi driver model released in Windows 11. We recommend that you use WiFiCx to take advantage of the latest features.

The WDI_MESSAGE_HEADER structure defines the WDI message header. All WDI command messages must start with this header.

Members

PortId

Specifies the identifier for the Port object that this command is targeted for. For commands on the Adapter object, this is 0xFFFF.

Reserved

This member is reserved.

Status

Specifies the operation completion status for output messages. For input messages, this field is reserved.

TransactionId

Specifies the transaction ID. This value is used to match host-sent messages with function responses. This value must be unique among all outstanding transactions. For notifications, the TransactionId must be set to 0 by the function.

IhvSpecificId

Specifies an IHV-specific ID for this message. This can be used by IHVs for debugging purpose.


Windows Driver Kit DDI reference (ns-dot11wificxintf-wdi_message_header)

Description

[!IMPORTANT] This topic is part of the WiFiCx driver model. WiFiCx is the Wi-Fi driver model released in Windows 11. We recommend that you use WiFiCx to take advantage of the latest features. The previous Wi-Fi driver model WDI is now in maintenance mode and will only receive high priority fixes.

The WDI_MESSAGE_HEADER structure defines the WiFi message header. All WiFi command messages must start with this header.

Members

PortId

Specifies the identifier for the Port object that this command is targeted for. For commands on the Adapter object, this is 0xFFFF.

Reserved

This member is reserved.

Status

Specifies the operation completion status for output messages. For input messages, this field is reserved.

TransactionId

Specifies the transaction ID. This value is used to match host-sent messages with function responses. This value must be unique among all outstanding transactions. For notifications, the TransactionId must be set to 0 by the function.

IhvSpecificId

Specifies an IHV-specific ID for this message. This can be used by IHVs for debugging purpose.

See also

Introduction to the Wi-Fi WDF class extension (WiFiCx)

WiFiCx message structure