// dot11wificxtypes.h
typedef enum _WDI_P2P_DISCOVER_TYPE {
WDI_P2P_DISCOVER_TYPE_SCAN_ONLY = 1,
WDI_P2P_DISCOVER_TYPE_FIND_ONLY = 2,
WDI_P2P_DISCOVER_TYPE_AUTO = 3,
WDI_P2P_DISCOVER_TYPE_SCAN_SOCIAL_CHANNELS = 4,
WDI_P2P_DISCOVER_TYPE_MAX_VALUE = 0xFFFFFFFF
} WDI_P2P_DISCOVER_TYPE;
View the official Windows Driver Kit DDI reference// wditypes.h
typedef enum _WDI_P2P_DISCOVER_TYPE {
WDI_P2P_DISCOVER_TYPE_SCAN_ONLY,
WDI_P2P_DISCOVER_TYPE_FIND_ONLY,
WDI_P2P_DISCOVER_TYPE_AUTO,
WDI_P2P_DISCOVER_TYPE_SCAN_SOCIAL_CHANNELS,
WDI_P2P_DISCOVER_TYPE_MAX_VALUE
} WDI_P2P_DISCOVER_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
[!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 in maintenance mode and will only receive high priority fixes.
The WDI_P2P_DISCOVER_TYPE enumeration defines the Wi-Fi Direct discovery types.
WDI_P2P_DISCOVER_TYPE_SCAN_ONLY:1Device discovery occurs only during the scan phase. Adapter should scan each channel at least once every 250 milliseconds.
WDI_P2P_DISCOVER_TYPE_FIND_ONLY:2Device discovery occurs only during the find phase.
WDI_P2P_DISCOVER_TYPE_AUTO:3Device discovery is determined by the port.
WDI_P2P_DISCOVER_TYPE_SCAN_SOCIAL_CHANNELS:4Port must perform device discovery by scanning only Wi-Fi Direct social channels. In this setting, the adapter should scan each social channel at least once every 250 milliseconds.
WDI_P2P_DISCOVER_TYPE_MAX_VALUE:0xFFFFFFFFThe maximum value for this type.
The WDI_P2P_DISCOVER_TYPE enum is a value in the WDI_TLV_P2P_DISCOVER_MODE and WDI_TLV_P2P_BACKGROUND_DISCOVER_MODE TLVs.
WDI_TLV_P2P_BACKGROUND_DISCOVER_MODE
[!IMPORTANT] This topic is part of the WDI driver model released in Windows 10. The WDI driver model is 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_P2P_DISCOVER_TYPE enumeration defines the Wi-Fi Direct discovery types.
WDI_P2P_DISCOVER_TYPE_SCAN_ONLYDevice discovery occurs only during the scan phase. Adapter should scan each channel at least once every 250 milliseconds.
WDI_P2P_DISCOVER_TYPE_FIND_ONLYDevice discovery occurs only during the find phase.
WDI_P2P_DISCOVER_TYPE_AUTODevice discovery is determined by the port.
WDI_P2P_DISCOVER_TYPE_SCAN_SOCIAL_CHANNELSPort must perform device discovery by scanning only Wi-Fi Direct social channels. In this setting, the adapter should scan each social channel at least once every 250 milliseconds.
WDI_P2P_DISCOVER_TYPE_MAX_VALUEThe maximum value for this type.