WDI_MESSAGE_HEADER structure (dot11wificxintf.h)

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.

Syntax

typedef struct _WDI_MESSAGE_HEADER {
  WDI_PORT_ID PortId;
  UINT16      Reserved;
  NDIS_STATUS Status;
  UINT32      TransactionId;
  UINT32      IhvSpecificId;
} WDI_MESSAGE_HEADER, *PWDI_MESSAGE_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.

Requirements

Requirement Value
Minimum supported client Windows 11
Minimum supported server Windows Server 2022
Header dot11wificxintf.h

See also

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

WiFiCx message structure