[PSDK] Add definitions for WLAN_AVAILABLE_NETWORK.dwFlags member (#7504)

Enable use of flags denoting state of Wi-Fi access point relative to the network adapter trying to connect to it. Used when working with WLAN_AVAILABLE_NETWORK.dwFlags to check whether we are connected to the network or not, for instance.

These flags have been introduced in Windows 10.

References:
- https://learn.microsoft.com/en-us/windows/win32/api/wlanapi/ns-wlanapi-wlan_available_network
- Windows SDK

CORE-6905
This commit is contained in:
Vitaly Orekhov 2024-11-18 23:31:17 +03:00 committed by GitHub
parent 1f2d67a841
commit 2e3a080e10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,6 +19,16 @@ extern "C" {
#define WLAN_AVAILABLE_NETWORK_INCLUDE_ALL_ADHOC_PROFILES 0x00000001
#define WLAN_AVAILABLE_NETWORK_INCLUDE_ALL_MANUAL_HIDDEN_PROFILES 0x00000002
#define WLAN_AVAILABLE_NETWORK_CONNECTED 0x00000001
#define WLAN_AVAILABLE_NETWORK_HAS_PROFILE 0x00000002
#define WLAN_AVAILABLE_NETWORK_CONSOLE_USER_PROFILE 0x00000004
#define WLAN_AVAILABLE_NETWORK_INTERWORKING_SUPPORTED 0x00000008
#define WLAN_AVAILABLE_NETWORK_HOTSPOT2_ENABLED 0x00000010
#define WLAN_AVAILABLE_NETWORK_ANQP_SUPPORTED 0x00000020
#define WLAN_AVAILABLE_NETWORK_HOTSPOT2_DOMAIN 0x00000040
#define WLAN_AVAILABLE_NETWORK_HOTSPOT2_ROAMING 0x00000080
#define WLAN_AVAILABLE_NETWORK_AUTO_CONNECT_FAILED 0x00000100
/* Enumerations */
#if defined(__midl) || defined(__WIDL__)