WDI_P2P_DISCOVER_TYPE enumeration (wditypes.hpp)
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.
Syntax
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;
Constants
WDI_P2P_DISCOVER_TYPE_SCAN_ONLY Device discovery occurs only during the scan phase. Adapter should scan each channel at least once every 250 milliseconds. |
WDI_P2P_DISCOVER_TYPE_FIND_ONLY Device discovery occurs only during the find phase. |
WDI_P2P_DISCOVER_TYPE_AUTO Device discovery is determined by the port. |
WDI_P2P_DISCOVER_TYPE_SCAN_SOCIAL_CHANNELS Port 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 The maximum value for this type. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Minimum supported server | Windows Server 2016 |
Header | wditypes.hpp |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for