// windot11.h
typedef enum _DOT11_WFD_DISCOVER_TYPE {
dot11_wfd_discover_type_scan_only = 1,
dot11_wfd_discover_type_find_only = 2,
dot11_wfd_discover_type_auto = 3,
dot11_wfd_discover_type_scan_social_channels = 4,
dot11_wfd_discover_type_forced = 0x80000000
} DOT11_WFD_DISCOVER_TYPE;
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_DISCOVER_TYPE enumeration indicates the mode of Wi-Fi Direct device discovery.
dot11_wfd_discover_type_scan_onlyDevice discovery occurs only during the scan phase. During the scan phase, Wi-Fi Direct devices should scan each social channel at least once every 250ms.
dot11_wfd_discover_type_find_onlyDevice discovery occurs only during the find phase.
dot11_wfd_discover_type_autoDiscovery mode is determined by the driver.
dot11_wfd_discover_type_scan_social_channelsThe WFD device must perform device discovery by scanning only P2P social channels. In this setting, the device should scan each social channel at least once every 250ms.
dot11_wfd_discover_type_forcedA flag indicating that a complete device discovery is required. If this flag is not set, a partial discovery can be performed.
typedef enum _DOT11_WFD_DISCOVER_TYPE {
dot11_wfd_discover_type_scan_only = 1,
dot11_wfd_discover_type_find_only = 2,
dot11_wfd_discover_type_auto = 3,
dot11_wfd_discover_type_scan_social_channels = 4,
dot11_wfd_discover_type_forced = 0x80000000
} DOT11_WFD_DISCOVER_TYPE;
The dot11_wfd_discover_type_forced flag may be set along with only one of the other discovery modes.
OID_DOT11_WFD_DISCOVER_REQUEST