// windot11.h
typedef struct _DOT11_WFD_DEVICE_INFO {
NDIS_OBJECT_HEADER Header;
DOT11_MAC_ADDRESS DeviceAddress;
USHORT ConfigMethods;
DOT11_WPS_DEVICE_TYPE PrimaryDeviceType;
DOT11_WPS_DEVICE_NAME DeviceName;
} DOT11_WFD_DEVICE_INFO, *PDOT11_WFD_DEVICE_INFO;
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 DOT11_WFD_DEVICE_INFO structure is included with a OID_DOT11_WFD_DEVICE_INFO request. The structure contains Wi-Fi Direct (WFD) device information related to Peer-to-Peer (P2P) attributes.
HeaderSpecifies the type, revision and size of the DOT11_WFD_DEVICE_INFO structure. The required settings for the members of Header are the following:
| Member | Setting |
|---|---|
| Type | NDIS_OBJECT_TYPE_DEFAULT |
| Revision | DOT11_WFD_DEVICE_INFO_REVISION_1 |
| Size | DOT11_SIZEOF_WFD_DEVICE_INFO_REVISION_1 |
DeviceAddressThe device address to assign to a WFD port. This address is used when constructing P2P Information Elements (IEs).
ConfigMethodsThe configuration methods supported by the WFD device.
PrimaryDeviceTypeThe primary device type for the WFD device.
DeviceNameA friendly name assigned to the WFD device.
typedef struct _DOT11_WFD_DEVICE_INFO {
NDIS_OBJECT_HEADER Header;
DOT11_MAC_ADDRESS DeviceAddress;
USHORT ConfigMethods;
DOT11_WPS_DEVICE_TYPE PrimaryDeviceType;
DOT11_WPS_DEVICE_NAME DeviceName;
} DOT11_WFD_DEVICE_INFO, *PDOT11_WFD_DEVICE_INFO;