// windot11.h
typedef struct _DOT11_PROVISION_DISCOVERY_RESPONSE_SEND_COMPLETE_PARAMETERS {
NDIS_OBJECT_HEADER Header;
DOT11_MAC_ADDRESS ReceiverDeviceAddress;
DOT11_DIALOG_TOKEN DialogToken;
NDIS_STATUS Status;
ULONG uIEsOffset;
ULONG uIEsLength;
} DOT11_PROVISION_DISCOVERY_RESPONSE_SEND_COMPLETE_PARAMETERS, *PDOT11_PROVISION_DISCOVERY_RESPONSE_SEND_COMPLETE_PARAMETERS;
View the official Windows Driver Kit DDI referenceNo description available.
[!Important] WiFiCx is the new Wi-Fi driver model released in Windows 11. We recommend that you use WiFiCx to take advantage of the latest features. The WDI driver model is now in maintenance mode and will only receive high priority fixes.
The parameters for a provision discovery response are specified in a DOT11_PROVISION_DISCOVERY_RESPONSE_SEND_COMPLETE_PARAMETERS structure. This structure is sent with an NDIS_STATUS_DOT11_WFD_PROVISION_DISCOVERY_RESPONSE_SEND_COMPLETE indication.
HeaderThe type, revision, and size of the DOT11_PROVISION_DISCOVERY_RESPONSE_SEND_COMPLETE_PARAMETERS structure. The required settings for the members of Header are the following.
| Member | Setting |
|---|---|
| Type | NDIS_OBJECT_TYPE_DEFAULT |
| Revision | DOT11_PROVISION_DISCOVERY_RESPONSE_SEND_COMPLETE_PARAMETERS_REVISION_1 |
| Size | DOT11_SIZEOF_PROVISION_DISCOVERY_RESPONSE_SEND_COMPLETE_PARAMETERS_REVISION_1 |
ReceiverDeviceAddressThe device address of the Wi-Fi Direct (WFD) device that the provision discovery response was sent to.
DialogTokenThe dialog token used for the provision discovery response packet. This token must match the token sent with the OID_DOT11_WFD_SEND_PROVISION_DISCOVERY_REQUEST request.
StatusThe status for the provision discovery response that was sent.
uIEsOffsetThe offset, in bytes, of the array of additional information elements (IEs) that were included in the provision discovery response packet. This offset is from the start of the buffer that contains this structure.
uIEsLengthThe length, in bytes, of the array of IEs provided at uIEsOffset.
typedef struct _DOT11_PROVISION_DISCOVERY_RESPONSE_SEND_COMPLETE_PARAMETERS {
NDIS_OBJECT_HEADER Header;
DOT11_MAC_ADDRESS ReceiverDeviceAddress;
DOT11_DIALOG_TOKEN DialogToken;
NDIS_STATUS Status;
ULONG uIEsOffset;
ULONG uIEsLength;
} DOT11_PROVISION_DISCOVERY_RESPONSE_SEND_COMPLETE_PARAMETERS, *PDOT11_PROVISION_DISCOVERY_RESPONSE_SEND_COMPLETE_PARAMETERS;
OID_DOT11_WFD_SEND_PROVISION_DISCOVERY_REQUEST
NDIS_STATUS_DOT11_WFD_PROVISION_DISCOVERY_RESPONSE_SEND_COMPLETE