Skip to content

Commit 2e3a080

Browse files
authored
[PSDK] Add definitions for WLAN_AVAILABLE_NETWORK.dwFlags member (reactos#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
1 parent 1f2d67a commit 2e3a080

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

sdk/include/psdk/wlanapi.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ extern "C" {
1919
#define WLAN_AVAILABLE_NETWORK_INCLUDE_ALL_ADHOC_PROFILES 0x00000001
2020
#define WLAN_AVAILABLE_NETWORK_INCLUDE_ALL_MANUAL_HIDDEN_PROFILES 0x00000002
2121

22+
#define WLAN_AVAILABLE_NETWORK_CONNECTED 0x00000001
23+
#define WLAN_AVAILABLE_NETWORK_HAS_PROFILE 0x00000002
24+
#define WLAN_AVAILABLE_NETWORK_CONSOLE_USER_PROFILE 0x00000004
25+
#define WLAN_AVAILABLE_NETWORK_INTERWORKING_SUPPORTED 0x00000008
26+
#define WLAN_AVAILABLE_NETWORK_HOTSPOT2_ENABLED 0x00000010
27+
#define WLAN_AVAILABLE_NETWORK_ANQP_SUPPORTED 0x00000020
28+
#define WLAN_AVAILABLE_NETWORK_HOTSPOT2_DOMAIN 0x00000040
29+
#define WLAN_AVAILABLE_NETWORK_HOTSPOT2_ROAMING 0x00000080
30+
#define WLAN_AVAILABLE_NETWORK_AUTO_CONNECT_FAILED 0x00000100
31+
2232
/* Enumerations */
2333

2434
#if defined(__midl) || defined(__WIDL__)

0 commit comments

Comments
 (0)