WDI_P2P_SERVICE_DISCOVERY_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_SERVICE_DISCOVERY_TYPE enumeration defines the types of service discovery.
Syntax
typedef enum _WDI_P2P_SERVICE_DISCOVERY_TYPE {
WDI_P2P_SERVICE_DISCOVERY_TYPE_NO_SERVICE_DISCOVERY,
WDI_P2P_SERVICE_DISCOVERY_TYPE_SERVICE_NAME_ONLY,
WDI_P2P_SERVICE_DISCOVERY_TYPE_SERVICE_INFORMATION,
WDI_P2P_SERVICE_DISCOVERY_TYPE_MAX_VALUE
} WDI_P2P_SERVICE_DISCOVERY_TYPE;
Constants
WDI_P2P_SERVICE_DISCOVERY_TYPE_NO_SERVICE_DISCOVERY The adapter should only do a WFD discovery for WFD devices. It should not encode service hashes in the P2P IEs. |
WDI_P2P_SERVICE_DISCOVERY_TYPE_SERVICE_NAME_ONLY The adapter encodes service hashes in the P2P IEs during probe requests and indicates probe responses. It does not perform any GAS queries for service information. |
WDI_P2P_SERVICE_DISCOVERY_TYPE_SERVICE_INFORMATION The adapter encodes the service hashes in the IEs, tracks the service names from the probe responses, and does GAS queries to get service information for each responding device. This is only applicable if the adapter supports the P2P Service Information Discovery capability. |
WDI_P2P_SERVICE_DISCOVERY_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