Skip to content

Commit abe20f6

Browse files
authored
[PSDK] Add definitions of desired Native Wi-Fi data access permissions (reactos#7626)
The `WLAN_READ_ACCESS`, `WLAN_WRITE_ACCESS` and `WLAN_EXECUTE_ACCESS` flags are for controlling whether we can (or not) return data via Wlan[Get|Query]* or modify via WlanSet* function families. https://learn.microsoft.com/en-us/windows/win32/nativewifi/native-wifi-api-permissions
1 parent e3e520d commit abe20f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sdk/include/psdk/wlanapi.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ extern "C" {
2929
#define WLAN_AVAILABLE_NETWORK_HOTSPOT2_ROAMING 0x00000080
3030
#define WLAN_AVAILABLE_NETWORK_AUTO_CONNECT_FAILED 0x00000100
3131

32+
#define WLAN_READ_ACCESS (STANDARD_RIGHTS_READ | FILE_READ_DATA)
33+
#define WLAN_EXECUTE_ACCESS (STANDARD_RIGHTS_EXECUTE | FILE_EXECUTE | WLAN_READ_ACCESS)
34+
#define WLAN_WRITE_ACCESS (STANDARD_RIGHTS_WRITE | FILE_WRITE_DATA | DELETE | WRITE_DAC | WLAN_READ_ACCESS | WLAN_EXECUTE_ACCESS)
35+
3236
/* Enumerations */
3337

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

0 commit comments

Comments
 (0)