Headers diff for wlanui.dll between 6.3.9600.17415-Windows 8.1 and 10.0.10586.494-Windows 10 1511 10586.494 versions



 wlanapi.h (6.3.9600.17415-Windows 8.1)   wlanapi.h (10.0.10586.494-Windows 10 1511 10586.494) 
skipping to change at line 70 skipping to change at line 70
#error WLAN API is not supported on platform earlier than Windows XP. #error WLAN API is not supported on platform earlier than Windows XP.
#endif // (_WIN32_WINNT >= _WIN32_WINNT_WINXP) #endif // (_WIN32_WINNT >= _WIN32_WINNT_WINXP)
#endif // (_WIN32_WINNT >= _WIN32_WINNT_VISTA) #endif // (_WIN32_WINNT >= _WIN32_WINNT_VISTA)
// maximum length of name, in characters // maximum length of name, in characters
#define WLAN_MAX_NAME_LENGTH L2_PROFILE_MAX_NAME_LENGTH #define WLAN_MAX_NAME_LENGTH L2_PROFILE_MAX_NAME_LENGTH
// profile flags // profile flags
#define WLAN_PROFILE_GROUP_POLICY 0x00000001 #define WLAN_PROFILE_GROUP_POLICY 0x00000001
#define WLAN_PROFILE_USER 0x00000002 #define WLAN_PROFILE_USER 0x00000002
#define WLAN_PROFILE_GET_PLAINTEXT_KEY 0x00000004 #define WLAN_PROFILE_GET_PLAINTEXT_KEY 0x00000004
// the following flags are only used for WlanSaveTemporaryProfile API // the following flags are only used for WlanSaveTemporaryProfile API
#define WLAN_PROFILE_CONNECTION_MODE_SET_BY_CLIENT 0x00010000 #define WLAN_PROFILE_CONNECTION_MODE_SET_BY_CLIENT 0x00010000
#define WLAN_PROFILE_CONNECTION_MODE_AUTO 0x00020000 #define WLAN_PROFILE_CONNECTION_MODE_AUTO 0x00020000
// EAPHost data storage flags // EAPHost data storage flags
#define WLAN_SET_EAPHOST_DATA_ALL_USERS 0x00000001 #define WLAN_SET_EAPHOST_DATA_ALL_USERS 0x00000001
// struct WLAN_PROFILE_INFO defines the basic information of an 802.11 network p rofile // struct WLAN_PROFILE_INFO defines the basic information of an 802.11 network p rofile
typedef struct _WLAN_PROFILE_INFO { typedef struct _WLAN_PROFILE_INFO {
WCHAR strProfileName[WLAN_MAX_NAME_LENGTH]; WCHAR strProfileName[WLAN_MAX_NAME_LENGTH];
skipping to change at line 197 skipping to change at line 197
#define WLAN_REASON_CODE_CONNECT_CALL_FAIL (WLAN_REASON_CODE_AC_CONNECT_BAS E +9) #define WLAN_REASON_CODE_CONNECT_CALL_FAIL (WLAN_REASON_CODE_AC_CONNECT_BAS E +9)
#define WLAN_REASON_CODE_SCAN_CALL_FAIL (WLAN_REASON_CODE_AC_CONNECT_BAS E +10) #define WLAN_REASON_CODE_SCAN_CALL_FAIL (WLAN_REASON_CODE_AC_CONNECT_BAS E +10)
#define WLAN_REASON_CODE_NETWORK_NOT_AVAILABLE (WLAN_REASON_CODE_AC_CONNECT_B ASE +11) #define WLAN_REASON_CODE_NETWORK_NOT_AVAILABLE (WLAN_REASON_CODE_AC_CONNECT_B ASE +11)
#define WLAN_REASON_CODE_PROFILE_CHANGED_OR_DELETED \ #define WLAN_REASON_CODE_PROFILE_CHANGED_OR_DELETED \
(WLAN_REASON_CODE_AC_CONNECT_BAS E +12) (WLAN_REASON_CODE_AC_CONNECT_BAS E +12)
#define WLAN_REASON_CODE_KEY_MISMATCH (WLAN_REASON_CODE_AC_CONNECT_BAS E + 13) #define WLAN_REASON_CODE_KEY_MISMATCH (WLAN_REASON_CODE_AC_CONNECT_BAS E + 13)
#define WLAN_REASON_CODE_USER_NOT_RESPOND (WLAN_REASON_CODE_AC_CONNECT_BAS E + 14) #define WLAN_REASON_CODE_USER_NOT_RESPOND (WLAN_REASON_CODE_AC_CONNECT_BAS E + 14)
#define WLAN_REASON_CODE_AP_PROFILE_NOT_ALLOWED_FOR_CLIENT \ #define WLAN_REASON_CODE_AP_PROFILE_NOT_ALLOWED_FOR_CLIENT \
(WLAN_REASON_CODE_AC_CONNECT_BAS E + 15) (WLAN_REASON_CODE_AC_CONNECT_BAS E + 15)
#define WLAN_REASON_CODE_AP_PROFILE_NOT_ALLOWED (WLAN_REASON_CODE_AC_CONNECT_BAS E + 16) #define WLAN_REASON_CODE_AP_PROFILE_NOT_ALLOWED (WLAN_REASON_CODE_AC_CONNECT_BAS E + 16)
#define WLAN_REASON_CODE_HOTSPOT2_PROFILE_DENIED \
(WLAN_REASON_CODE_AC_CONNECT_BAS
E + 17)
// Profile validation errors // Profile validation errors
// //
#define WLAN_REASON_CODE_INVALID_PROFILE_SCHEMA (WLAN_REASON_CODE_PROFILE_BASE + 1) #define WLAN_REASON_CODE_INVALID_PROFILE_SCHEMA (WLAN_REASON_CODE_PROFILE_BASE + 1)
#define WLAN_REASON_CODE_PROFILE_MISSING (WLAN_REASON_CODE_PROFILE_BASE + 2) #define WLAN_REASON_CODE_PROFILE_MISSING (WLAN_REASON_CODE_PROFILE_BASE + 2)
#define WLAN_REASON_CODE_INVALID_PROFILE_NAME (WLAN_REASON_CODE_PROFILE_BASE + 3) #define WLAN_REASON_CODE_INVALID_PROFILE_NAME (WLAN_REASON_CODE_PROFILE_BASE + 3)
#define WLAN_REASON_CODE_INVALID_PROFILE_TYPE (WLAN_REASON_CODE_PROFILE_BASE + 4) #define WLAN_REASON_CODE_INVALID_PROFILE_TYPE (WLAN_REASON_CODE_PROFILE_BASE + 4)
#define WLAN_REASON_CODE_INVALID_PHY_TYPE (WLAN_REASON_CODE_PROFILE_BASE + 5) #define WLAN_REASON_CODE_INVALID_PHY_TYPE (WLAN_REASON_CODE_PROFILE_BASE + 5)
#define WLAN_REASON_CODE_MSM_SECURITY_MISSING (WLAN_REASON_CODE_PROFILE_BASE + 6) #define WLAN_REASON_CODE_MSM_SECURITY_MISSING (WLAN_REASON_CODE_PROFILE_BASE + 6)
#define WLAN_REASON_CODE_IHV_SECURITY_NOT_SUPPORTED \ #define WLAN_REASON_CODE_IHV_SECURITY_NOT_SUPPORTED \
skipping to change at line 241 skipping to change at line 243
(WLAN_REASON_CODE_PROFILE_BASE + 21) (WLAN_REASON_CODE_PROFILE_BASE + 21)
#define WLAN_REASON_CODE_BAD_MAX_NUMBER_OF_CLIENTS_FOR_AP \ #define WLAN_REASON_CODE_BAD_MAX_NUMBER_OF_CLIENTS_FOR_AP \
(WLAN_REASON_CODE_PROFILE_BASE + 22) (WLAN_REASON_CODE_PROFILE_BASE + 22)
#define WLAN_REASON_CODE_INVALID_CHANNEL (WLAN_REASON_CODE_PROFILE_BASE + 23) #define WLAN_REASON_CODE_INVALID_CHANNEL (WLAN_REASON_CODE_PROFILE_BASE + 23)
#define WLAN_REASON_CODE_OPERATION_MODE_NOT_SUPPORTED \ #define WLAN_REASON_CODE_OPERATION_MODE_NOT_SUPPORTED \
(WLAN_REASON_CODE_PROFILE_BASE + 24) (WLAN_REASON_CODE_PROFILE_BASE + 24)
#define WLAN_REASON_CODE_AUTO_AP_PROFILE_NOT_ALLOWED \ #define WLAN_REASON_CODE_AUTO_AP_PROFILE_NOT_ALLOWED \
(WLAN_REASON_CODE_PROFILE_BASE + 25) (WLAN_REASON_CODE_PROFILE_BASE + 25)
#define WLAN_REASON_CODE_AUTO_CONNECTION_NOT_ALLOWED \ #define WLAN_REASON_CODE_AUTO_CONNECTION_NOT_ALLOWED \
(WLAN_REASON_CODE_PROFILE_BASE + 26) (WLAN_REASON_CODE_PROFILE_BASE + 26)
#define WLAN_REASON_CODE_HOTSPOT2_PROFILE_NOT_ALLOWED \
(WLAN_REASON_CODE_PROFILE_BASE +
27)
// MSM network incompatible reasons // MSM network incompatible reasons
// //
#define WLAN_REASON_CODE_UNSUPPORTED_SECURITY_SET_BY_OS \ #define WLAN_REASON_CODE_UNSUPPORTED_SECURITY_SET_BY_OS \
(WLAN_REASON_CODE_MSM_BASE +1) (WLAN_REASON_CODE_MSM_BASE +1)
#define WLAN_REASON_CODE_UNSUPPORTED_SECURITY_SET \ #define WLAN_REASON_CODE_UNSUPPORTED_SECURITY_SET \
(WLAN_REASON_CODE_MSM_BASE +2) (WLAN_REASON_CODE_MSM_BASE +2)
#define WLAN_REASON_CODE_BSS_TYPE_UNMATCH (WLAN_REASON_CODE_MSM_BASE +3) #define WLAN_REASON_CODE_BSS_TYPE_UNMATCH (WLAN_REASON_CODE_MSM_BASE +3)
#define WLAN_REASON_CODE_PHY_TYPE_UNMATCH (WLAN_REASON_CODE_MSM_BASE +4) #define WLAN_REASON_CODE_PHY_TYPE_UNMATCH (WLAN_REASON_CODE_MSM_BASE +4)
#define WLAN_REASON_CODE_DATARATE_UNMATCH (WLAN_REASON_CODE_MSM_BASE +5) #define WLAN_REASON_CODE_DATARATE_UNMATCH (WLAN_REASON_CODE_MSM_BASE +5)
skipping to change at line 431 skipping to change at line 435
#define WLAN_REASON_CODE_MSMSEC_G1_MISSING_MGMT_GRP_KEY (WLAN_REASON_CODE_MS MSEC_CONNECT_BASE+27) #define WLAN_REASON_CODE_MSMSEC_G1_MISSING_MGMT_GRP_KEY (WLAN_REASON_CODE_MS MSEC_CONNECT_BASE+27)
#define WLAN_REASON_CODE_MSMSEC_MAX WLAN_REASON_CODE_MSM SEC_END #define WLAN_REASON_CODE_MSMSEC_MAX WLAN_REASON_CODE_MSM SEC_END
typedef ULONG WLAN_SIGNAL_QUALITY, *PWLAN_SIGNAL_QUALITY; typedef ULONG WLAN_SIGNAL_QUALITY, *PWLAN_SIGNAL_QUALITY;
// available network flags // available network flags
#define WLAN_AVAILABLE_NETWORK_CONNECTED 0x00000001 // This network is currently connected #define WLAN_AVAILABLE_NETWORK_CONNECTED 0x00000001 // This network is currently connected
#define WLAN_AVAILABLE_NETWORK_HAS_PROFILE 0x00000002 // There is a profile for this network #define WLAN_AVAILABLE_NETWORK_HAS_PROFILE 0x00000002 // There is a profile for this network
#define WLAN_AVAILABLE_NETWORK_CONSOLE_USER_PROFILE 0x00000004 // The p rofile is the active console user's per user profile #define WLAN_AVAILABLE_NETWORK_CONSOLE_USER_PROFILE 0x00000004 // The p rofile is the active console user's per user profile
#define WLAN_AVAILABLE_NETWORK_INTERWORKING_SUPPORTED 0x00000008 // Inter
working is supported
#define WLAN_AVAILABLE_NETWORK_HOTSPOT2_ENABLED 0x00000010 // Hotsp
ot2 is enabled
#define WLAN_AVAILABLE_NETWORK_ANQP_SUPPORTED 0x00000020 // ANQP
is supported
#define WLAN_AVAILABLE_NETWORK_HOTSPOT2_DOMAIN 0x00000040 // Domai
n network
#define WLAN_AVAILABLE_NETWORK_HOTSPOT2_ROAMING 0x00000080 // Roami
ng network
#define WLAN_AVAILABLE_NETWORK_AUTO_CONNECT_FAILED 0x00000100 // This
network failed to connect
// flags that control the list returned by WlanGetAvailableNetworkList // flags that control the list returned by WlanGetAvailableNetworkList
// include all ad hoc network profiles in the available network list, regardless they are visible or not // include all ad hoc network profiles in the available network list, regardless they are visible or not
#define WLAN_AVAILABLE_NETWORK_INCLUDE_ALL_ADHOC_PROFILES 0x00000001 #define WLAN_AVAILABLE_NETWORK_INCLUDE_ALL_ADHOC_PROFILES 0x00000001
// include all hidden network profiles in the available network list, regardless they are visible or not // include all hidden network profiles in the available network list, regardless they are visible or not
#define WLAN_AVAILABLE_NETWORK_INCLUDE_ALL_MANUAL_HIDDEN_PROFILES 0x00000002 #define WLAN_AVAILABLE_NETWORK_INCLUDE_ALL_MANUAL_HIDDEN_PROFILES 0x00000002
typedef struct _WLAN_RATE_SET { typedef struct _WLAN_RATE_SET {
ULONG uRateSetLength; ULONG uRateSetLength;
_Field_size_part_(DOT11_RATE_SET_MAX_LENGTH, uRateSetLength) USHORT usRateSe t[DOT11_RATE_SET_MAX_LENGTH]; _Field_size_part_(DOT11_RATE_SET_MAX_LENGTH, uRateSetLength) USHORT usRateSe t[DOT11_RATE_SET_MAX_LENGTH];
skipping to change at line 468 skipping to change at line 478
// first WLAN_MAX_PHY_TYPE_NUMBER PHY types are returned. // first WLAN_MAX_PHY_TYPE_NUMBER PHY types are returned.
BOOL bMorePhyTypes; BOOL bMorePhyTypes;
WLAN_SIGNAL_QUALITY wlanSignalQuality; WLAN_SIGNAL_QUALITY wlanSignalQuality;
BOOL bSecurityEnabled; BOOL bSecurityEnabled;
DOT11_AUTH_ALGORITHM dot11DefaultAuthAlgorithm; DOT11_AUTH_ALGORITHM dot11DefaultAuthAlgorithm;
DOT11_CIPHER_ALGORITHM dot11DefaultCipherAlgorithm; DOT11_CIPHER_ALGORITHM dot11DefaultCipherAlgorithm;
DWORD dwFlags; DWORD dwFlags;
DWORD dwReserved; DWORD dwReserved;
} WLAN_AVAILABLE_NETWORK, *PWLAN_AVAILABLE_NETWORK; } WLAN_AVAILABLE_NETWORK, *PWLAN_AVAILABLE_NETWORK;
typedef struct _WLAN_AVAILABLE_NETWORK_V2 {
WCHAR strProfileName[WLAN_MAX_NAME_LENGTH];
DOT11_SSID dot11Ssid;
DOT11_BSS_TYPE dot11BssType;
ULONG uNumberOfBssids;
BOOL bNetworkConnectable;
WLAN_REASON_CODE wlanNotConnectableReason;
ULONG uNumberOfPhyTypes;
DOT11_PHY_TYPE dot11PhyTypes[WLAN_MAX_PHY_TYPE_NUMBER];
// bMorePhyTypes is set to TRUE if the PHY types for the network
// exceeds WLAN_MAX_PHY_TYPE_NUMBER.
// In this case, uNumerOfPhyTypes is WLAN_MAX_PHY_TYPE_NUMBER and the
// first WLAN_MAX_PHY_TYPE_NUMBER PHY types are returned.
BOOL bMorePhyTypes;
WLAN_SIGNAL_QUALITY wlanSignalQuality;
BOOL bSecurityEnabled;
DOT11_AUTH_ALGORITHM dot11DefaultAuthAlgorithm;
DOT11_CIPHER_ALGORITHM dot11DefaultCipherAlgorithm;
DWORD dwFlags;
// V2 fields
DOT11_ACCESSNETWORKOPTIONS AccessNetworkOptions;
DOT11_HESSID dot11HESSID;
DOT11_VENUEINFO VenueInfo;
DWORD dwReserved;
} WLAN_AVAILABLE_NETWORK_V2, *PWLAN_AVAILABLE_NETWORK_V2;
typedef struct _WLAN_BSS_ENTRY { typedef struct _WLAN_BSS_ENTRY {
DOT11_SSID dot11Ssid; DOT11_SSID dot11Ssid;
ULONG uPhyId; ULONG uPhyId;
DOT11_MAC_ADDRESS dot11Bssid; DOT11_MAC_ADDRESS dot11Bssid;
DOT11_BSS_TYPE dot11BssType; DOT11_BSS_TYPE dot11BssType;
DOT11_PHY_TYPE dot11BssPhyType; DOT11_PHY_TYPE dot11BssPhyType;
LONG lRssi; LONG lRssi;
ULONG uLinkQuality; ULONG uLinkQuality;
BOOLEAN bInRegDomain; BOOLEAN bInRegDomain;
USHORT usBeaconPeriod; USHORT usBeaconPeriod;
skipping to change at line 588 skipping to change at line 626
DWORD dwPhyIndex; DWORD dwPhyIndex;
DOT11_RADIO_STATE dot11SoftwareRadioState; DOT11_RADIO_STATE dot11SoftwareRadioState;
DOT11_RADIO_STATE dot11HardwareRadioState; DOT11_RADIO_STATE dot11HardwareRadioState;
} WLAN_PHY_RADIO_STATE, *PWLAN_PHY_RADIO_STATE; } WLAN_PHY_RADIO_STATE, *PWLAN_PHY_RADIO_STATE;
typedef struct _WLAN_RADIO_STATE { typedef struct _WLAN_RADIO_STATE {
DWORD dwNumberOfPhys; DWORD dwNumberOfPhys;
WLAN_PHY_RADIO_STATE PhyRadioState[WLAN_MAX_PHY_INDEX]; WLAN_PHY_RADIO_STATE PhyRadioState[WLAN_MAX_PHY_INDEX];
} WLAN_RADIO_STATE, *PWLAN_RADIO_STATE; } WLAN_RADIO_STATE, *PWLAN_RADIO_STATE;
// use the 4-byte enum
#ifdef __midl
typedef [v1_enum] enum _WLAN_OPERATIONAL_STATE {
#else
typedef enum _WLAN_OPERATIONAL_STATE {
#endif
wlan_operational_state_unknown = 0,
wlan_operational_state_off,
wlan_operational_state_on,
wlan_operational_state_going_off,
wlan_operational_state_going_on
} WLAN_OPERATIONAL_STATE, *PWLAN_OPERATIONAL_STATE;
typedef enum _WLAN_INTERFACE_TYPE { typedef enum _WLAN_INTERFACE_TYPE {
wlan_interface_type_emulated_802_11 = 0, wlan_interface_type_emulated_802_11 = 0,
wlan_interface_type_native_802_11, wlan_interface_type_native_802_11,
wlan_interface_type_invalid wlan_interface_type_invalid
} WLAN_INTERFACE_TYPE, *PWLAN_INTERFACE_TYPE; } WLAN_INTERFACE_TYPE, *PWLAN_INTERFACE_TYPE;
typedef struct _WLAN_INTERFACE_CAPABILITY { typedef struct _WLAN_INTERFACE_CAPABILITY {
WLAN_INTERFACE_TYPE interfaceType; WLAN_INTERFACE_TYPE interfaceType;
BOOL bDot11DSupported; BOOL bDot11DSupported;
DWORD dwMaxDesiredSsidListSize; DWORD dwMaxDesiredSsidListSize;
skipping to change at line 645 skipping to change at line 696
DWORD dwIndex; DWORD dwIndex;
#ifdef __midl #ifdef __midl
[unique, size_is(dwNumberOfItems)] WLAN_AVAILABLE_NETWORK Network[*]; [unique, size_is(dwNumberOfItems)] WLAN_AVAILABLE_NETWORK Network[*];
#else #else
WLAN_AVAILABLE_NETWORK Network[1]; WLAN_AVAILABLE_NETWORK Network[1];
#endif #endif
} WLAN_AVAILABLE_NETWORK_LIST, *PWLAN_AVAILABLE_NETWORK_LIST; } WLAN_AVAILABLE_NETWORK_LIST, *PWLAN_AVAILABLE_NETWORK_LIST;
typedef struct _WLAN_AVAILABLE_NETWORK_LIST_V2 {
DWORD dwNumberOfItems;
DWORD dwIndex;
#ifdef __midl
[unique, size_is(dwNumberOfItems)] WLAN_AVAILABLE_NETWORK_V2 Network[*];
#else
WLAN_AVAILABLE_NETWORK_V2 Network[1];
#endif
} WLAN_AVAILABLE_NETWORK_LIST_V2, *PWLAN_AVAILABLE_NETWORK_LIST_V2;
typedef struct _WLAN_INTERFACE_INFO_LIST { typedef struct _WLAN_INTERFACE_INFO_LIST {
DWORD dwNumberOfItems; DWORD dwNumberOfItems;
DWORD dwIndex; DWORD dwIndex;
#ifdef __midl #ifdef __midl
[unique, size_is(dwNumberOfItems)] WLAN_INTERFACE_INFO InterfaceInfo[*]; [unique, size_is(dwNumberOfItems)] WLAN_INTERFACE_INFO InterfaceInfo[*];
#else #else
WLAN_INTERFACE_INFO InterfaceInfo[1]; WLAN_INTERFACE_INFO InterfaceInfo[1];
#endif #endif
skipping to change at line 699 skipping to change at line 762
#define WLAN_CONNECTION_ADHOC_JOIN_ONLY 0x00000002 #define WLAN_CONNECTION_ADHOC_JOIN_ONLY 0x00000002
// Ignore the privacy bit for the association. This is used to support easy conf ig. // Ignore the privacy bit for the association. This is used to support easy conf ig.
// This flag is valid only for wlan_connection_mode_temporary_profile and infras tructure networks. // This flag is valid only for wlan_connection_mode_temporary_profile and infras tructure networks.
#define WLAN_CONNECTION_IGNORE_PRIVACY_BIT 0x00000004 #define WLAN_CONNECTION_IGNORE_PRIVACY_BIT 0x00000004
// Exempt EAPOL traffic from encryption/decryption. This is used to // Exempt EAPOL traffic from encryption/decryption. This is used to
// support an application that needs to send EAPOL traffic in non-802.1x WEP // support an application that needs to send EAPOL traffic in non-802.1x WEP
// networks. This flag is valid only for wlan_connection_mode_temporary_profile // networks. This flag is valid only for wlan_connection_mode_temporary_profile
// in infrastructure networks when using authentication algorithm Open and // in infrastructure networks when using authentication algorithm Open and
// Cipher WEP with 802.1x disabled // Cipher WEP with 802.1x disabled
#define WLAN_CONNECTION_EAPOL_PASSTHROUGH 0x00000008 #define WLAN_CONNECTION_EAPOL_PASSTHROUGH 0x00000008
// Automatically persist discovery profile on successful connection completion.
// This flag is only valid for wlan_connection_mode_discovery_secure or
// wlan_connection_mode_discovery_unsecure. The profile will be saved as an all
// user profile, with the name generated from the SSID using WlanUtf8SsidToDispl
ayName.
// If there is already a profile with the same name, a number will be appended
// to the end of the profile name. The profile will be saved with manual connect
ion mode,
// unless WLAN_CONNECTION_PERSIST_DISCOVERY_PROFILE_CONNECTION_MODE_AUTO is also
specified.
#define WLAN_CONNECTION_PERSIST_DISCOVERY_PROFILE 0x00000010
// To be used in conjunction with WLAN_CONNECTION_PERSIST_DISCOVERY_PROFILE. The
// discovery profile will be persisted with automatic connection mode.
#define WLAN_CONNECTION_PERSIST_DISCOVERY_PROFILE_CONNECTION_MODE_AUTO 0x0000002
0
// connection parameters // connection parameters
typedef struct _WLAN_CONNECTION_PARAMETERS { typedef struct _WLAN_CONNECTION_PARAMETERS {
WLAN_CONNECTION_MODE wlanConnectionMode; WLAN_CONNECTION_MODE wlanConnectionMode;
#ifdef __midl #ifdef __midl
[string] LPCWSTR strProfile; [string] LPCWSTR strProfile;
#else #else
LPCWSTR strProfile; LPCWSTR strProfile;
#endif #endif
PDOT11_SSID pDot11Ssid; PDOT11_SSID pDot11Ssid;
PDOT11_BSSID_LIST pDesiredBssidList; PDOT11_BSSID_LIST pDesiredBssidList;
DOT11_BSS_TYPE dot11BssType; DOT11_BSS_TYPE dot11BssType;
DWORD dwFlags; DWORD dwFlags;
} WLAN_CONNECTION_PARAMETERS, *PWLAN_CONNECTION_PARAMETERS; } WLAN_CONNECTION_PARAMETERS, *PWLAN_CONNECTION_PARAMETERS;
typedef struct _WLAN_CONNECTION_PARAMETERS_V2 {
WLAN_CONNECTION_MODE wlanConnectionMode;
#ifdef __midl
[string] LPCWSTR strProfile;
#else
LPCWSTR strProfile;
#endif
PDOT11_SSID pDot11Ssid;
PDOT11_HESSID pDot11Hessid;
PDOT11_BSSID_LIST pDesiredBssidList;
DOT11_BSS_TYPE dot11BssType;
DWORD dwFlags;
PDOT11_ACCESSNETWORKOPTIONS pDot11AccessNetworkOptions;
} WLAN_CONNECTION_PARAMETERS_V2, *PWLAN_CONNECTION_PARAMETERS_V2;
// data structure for connection-related notifications. // data structure for connection-related notifications.
typedef struct _WLAN_MSM_NOTIFICATION_DATA { typedef struct _WLAN_MSM_NOTIFICATION_DATA {
WLAN_CONNECTION_MODE wlanConnectionMode; WLAN_CONNECTION_MODE wlanConnectionMode;
WCHAR strProfileName[WLAN_MAX_NAME_LENGTH]; WCHAR strProfileName[WLAN_MAX_NAME_LENGTH];
DOT11_SSID dot11Ssid; DOT11_SSID dot11Ssid;
DOT11_BSS_TYPE dot11BssType; DOT11_BSS_TYPE dot11BssType;
DOT11_MAC_ADDRESS dot11MacAddr; DOT11_MAC_ADDRESS dot11MacAddr;
BOOL bSecurityEnabled; BOOL bSecurityEnabled;
BOOL bFirstPeer; BOOL bFirstPeer;
BOOL bLastPeer; BOOL bLastPeer;
skipping to change at line 788 skipping to change at line 877
wlan_notification_acm_profiles_exhausted, wlan_notification_acm_profiles_exhausted,
wlan_notification_acm_network_not_available, wlan_notification_acm_network_not_available,
wlan_notification_acm_network_available, wlan_notification_acm_network_available,
wlan_notification_acm_disconnecting, wlan_notification_acm_disconnecting,
wlan_notification_acm_disconnected, wlan_notification_acm_disconnected,
wlan_notification_acm_adhoc_network_state_change, wlan_notification_acm_adhoc_network_state_change,
wlan_notification_acm_profile_unblocked, wlan_notification_acm_profile_unblocked,
wlan_notification_acm_screen_power_change, wlan_notification_acm_screen_power_change,
wlan_notification_acm_profile_blocked, wlan_notification_acm_profile_blocked,
wlan_notification_acm_scan_list_refresh, wlan_notification_acm_scan_list_refresh,
wlan_notification_acm_operational_state_change,
wlan_notification_acm_end wlan_notification_acm_end
} WLAN_NOTIFICATION_ACM, *PWLAN_NOTIFICATION_ACM; } WLAN_NOTIFICATION_ACM, *PWLAN_NOTIFICATION_ACM;
#ifdef __midl #ifdef __midl
// use the 4-byte enum // use the 4-byte enum
typedef [v1_enum] enum _WLAN_NOTIFICATION_MSM { typedef [v1_enum] enum _WLAN_NOTIFICATION_MSM {
#else #else
typedef enum _WLAN_NOTIFICATION_MSM { typedef enum _WLAN_NOTIFICATION_MSM {
#endif #endif
wlan_notification_msm_start = L2_NOTIFICATION_CODE_PUBLIC_BEGIN, wlan_notification_msm_start = L2_NOTIFICATION_CODE_PUBLIC_BEGIN,
skipping to change at line 1133 skipping to change at line 1223
DWORD WINAPI DWORD WINAPI
WlanGetAvailableNetworkList( WlanGetAvailableNetworkList(
_In_ HANDLE hClientHandle, _In_ HANDLE hClientHandle,
_In_ CONST GUID *pInterfaceGuid, _In_ CONST GUID *pInterfaceGuid,
_In_ DWORD dwFlags, _In_ DWORD dwFlags,
_Reserved_ PVOID pReserved, _Reserved_ PVOID pReserved,
_Outptr_ PWLAN_AVAILABLE_NETWORK_LIST *ppAvailableNetworkList _Outptr_ PWLAN_AVAILABLE_NETWORK_LIST *ppAvailableNetworkList
); );
DWORD WINAPI DWORD WINAPI
WlanGetAvailableNetworkList2(
_In_ HANDLE hClientHandle,
_In_ CONST GUID *pInterfaceGuid,
_In_ DWORD dwFlags,
_Reserved_ PVOID pReserved,
_Outptr_ PWLAN_AVAILABLE_NETWORK_LIST_V2 *ppAvailableNetworkList
);
DWORD WINAPI
WlanGetNetworkBssList( WlanGetNetworkBssList(
_In_ HANDLE hClientHandle, _In_ HANDLE hClientHandle,
_In_ CONST GUID *pInterfaceGuid, _In_ CONST GUID *pInterfaceGuid,
_In_opt_ CONST PDOT11_SSID pDot11Ssid, _In_opt_ CONST PDOT11_SSID pDot11Ssid,
_In_ DOT11_BSS_TYPE dot11BssType, _In_ DOT11_BSS_TYPE dot11BssType,
_In_ BOOL bSecurityEnabled, _In_ BOOL bSecurityEnabled,
_Reserved_ PVOID pReserved, _Reserved_ PVOID pReserved,
_Outptr_ PWLAN_BSS_LIST *ppWlanBssList _Outptr_ PWLAN_BSS_LIST *ppWlanBssList
); );
DWORD WINAPI DWORD WINAPI
WlanConnect( WlanConnect(
_In_ HANDLE hClientHandle, _In_ HANDLE hClientHandle,
_In_ CONST GUID *pInterfaceGuid, _In_ CONST GUID *pInterfaceGuid,
_In_ CONST PWLAN_CONNECTION_PARAMETERS pConnectionParameters, _In_ CONST PWLAN_CONNECTION_PARAMETERS pConnectionParameters,
_Reserved_ PVOID pReserved _Reserved_ PVOID pReserved
); );
DWORD WINAPI DWORD WINAPI
WlanConnect2(
_In_ HANDLE hClientHandle,
_In_ const GUID *pInterfaceGuid,
_In_ const PWLAN_CONNECTION_PARAMETERS_V2 pConnectionParameters,
_Reserved_ PVOID pReserved
);
DWORD WINAPI
WlanDisconnect( WlanDisconnect(
_In_ HANDLE hClientHandle, _In_ HANDLE hClientHandle,
_In_ CONST GUID *pInterfaceGuid, _In_ CONST GUID *pInterfaceGuid,
_Reserved_ PVOID pReserved _Reserved_ PVOID pReserved
); );
DWORD WINAPI DWORD WINAPI
WlanRegisterNotification( WlanRegisterNotification(
_In_ HANDLE hClientHandle, _In_ HANDLE hClientHandle,
_In_ DWORD dwNotifSource, _In_ DWORD dwNotifSource,
skipping to change at line 1737 skipping to change at line 1844
// {439B20AF-8955-405B-99F0-A62AF0C68D43} // {439B20AF-8955-405B-99F0-A62AF0C68D43}
// //
// Description: Wi-Fi Direct Device Nodes will expose a device // Description: Wi-Fi Direct Device Nodes will expose a device
// interface identified by this GUID. // interface identified by this GUID.
// //
DEFINE_GUID( DEFINE_GUID(
GUID_DEVINTERFACE_WIFIDIRECT_DEVICE, GUID_DEVINTERFACE_WIFIDIRECT_DEVICE,
0x439b20af, 0x8955, 0x405b, 0x99, 0xf0, 0xa6, 0x2a, 0xf0, 0xc6, 0x8d, 0x43 0x439b20af, 0x8955, 0x405b, 0x99, 0xf0, 0xa6, 0x2a, 0xf0, 0xc6, 0x8d, 0x43
); );
// String identifying Miracast protocol support in Wi Fi Direct services propert //
y // Wi-Fi Direct Device AEP Service Class GUID
static const WCHAR c_szMiracast[] = L"Miracast"; //
// {CC29827C-9CAF-4928-99A9-18F7C2381389}
// The constant for Wi Fi Direct services. Since there is just one right now, it //
is simpler to define a constant as multi string value. // Description: Wi-Fi Direct Devices will expose a default AEP Service
static const WCHAR c_szzWiFiDirectServices[] = L"Miracast\0"; // identified by this GUID.
//
DEFINE_GUID(
GUID_AEPSERVICE_WIFIDIRECT_DEVICE,
0xcc29827c, 0x9caf, 0x4928, 0x99, 0xa9, 0x18, 0xf7, 0xc2, 0x38, 0x13, 0x89
);
// //
// Wi-Fi Direct Property Key Definitions // Wi-Fi Direct Property Key Definitions
// These properties are exposed through Wi-Fi Direct Device Nodes when // These properties are exposed through Wi-Fi Direct Device Nodes when
// created through the inbox Windows pairing experience. // created through the inbox Windows pairing experience.
// //
// //
// Property: DEVPKEY_WiFiDirect_DeviceAddress // Property: DEVPKEY_WiFiDirect_DeviceAddress
// Description: Binary representation of WFD Device's Device Address. // Description: Binary representation of WFD Device's Device Address.
skipping to change at line 1872 skipping to change at line 1986
DEFINE_DEVPROPKEY( DEFINE_DEVPROPKEY(
DEVPKEY_WiFiDirect_IsMiracastLCPSupported, DEVPKEY_WiFiDirect_IsMiracastLCPSupported,
0x1506935d, 0xe3e7, 0x450f, 0x86, 0x37, 0x82, 0x23, 0x3e, 0xbe, 0x5f, 0x6E, 0x1506935d, 0xe3e7, 0x450f, 0x86, 0x37, 0x82, 0x23, 0x3e, 0xbe, 0x5f, 0x6E,
0x09 0x09
); );
// //
// Property: DEVPKEY_WiFiDirect_Services // Property: DEVPKEY_WiFiDirect_Services
// Description: A value indicating services supported by the Wi Fi Direct device . // Description: A value indicating services supported by the Wi Fi Direct device .
// Type: DEVPROP_TYPE_STRING_LIST // Type: DEVPROP_TYPE_STRING_LIST
// Availability: If Miracast capable, set to string indicating Miracast service (c_Miracast) or empty // Availability: If Miracast capable, set to string indicating Miracast service or empty
// //
DEFINE_DEVPROPKEY( DEFINE_DEVPROPKEY(
DEVPKEY_WiFiDirect_Services, DEVPKEY_WiFiDirect_Services,
0x1506935d, 0xe3e7, 0x450f, 0x86, 0x37, 0x82, 0x23, 0x3e, 0xbe, 0x5f, 0x6E, 0x1506935d, 0xe3e7, 0x450f, 0x86, 0x37, 0x82, 0x23, 0x3e, 0xbe, 0x5f, 0x6E,
0x0a 0x0A
); );
// //
// Property: DEVPKEY_WiFiDirect_SupportedChannelList // Property: DEVPKEY_WiFiDirect_SupportedChannelList
// Description: Binary representation of WFD Device's channel list attribute. // Description: Binary representation of WFD Device's channel list attribute.
// Type: DEVPROP_TYPE_BINARY // Type: DEVPROP_TYPE_BINARY
// Binary Data: WFA P2P Spec channel list attribute value // Binary Data: WFA P2P Spec channel list attribute value
// Availability: Optional, whenever provided by the remote device. // Availability: Optional, whenever provided by the remote device.
// //
DEFINE_DEVPROPKEY( DEFINE_DEVPROPKEY(
DEVPKEY_WiFiDirect_SupportedChannelList, DEVPKEY_WiFiDirect_SupportedChannelList,
0x1506935d, 0xe3e7, 0x450f, 0x86, 0x37, 0x82, 0x23, 0x3e, 0xbe, 0x5f, 0x6E, 0x1506935d, 0xe3e7, 0x450f, 0x86, 0x37, 0x82, 0x23, 0x3e, 0xbe, 0x5f, 0x6E,
0x0b 0x0B
);
//
// Property: DEVPKEY_WiFiDirect_InformationElements
// Description: The full set of IEs provided by the Wi-Fi Direct Device
// Type: DEVPROP_TYPE_BINARY
// Binary Data: The IEs provided by the Wi-Fi Direct Device
// Availability: Always.
//
DEFINE_DEVPROPKEY(
DEVPKEY_WiFiDirect_InformationElements,
0x1506935d, 0xe3e7, 0x450f, 0x86, 0x37, 0x82, 0x23, 0x3e, 0xbe, 0x5f, 0x6E,
0x0C
);
//
// Property: DEVPKEY_WiFiDirect_DeviceAddressCopy
// Description: Binary representation of WFD Device's Device Address.
// This is a copy of the DEVPKEY_WiFiDirect_DeviceAddress so
// that a canonical name can be added for device address property.
// Type: DEVPROP_TYPE_BINARY
// Binary Data: DOT11_MAC_ADDRESS (UCHAR[6])
// Availability: Always.
//
DEFINE_DEVPROPKEY(
DEVPKEY_WiFiDirect_DeviceAddressCopy,
0x1506935d, 0xe3e7, 0x450f, 0x86, 0x37, 0x82, 0x23, 0x3e, 0xbe, 0x5f, 0x6E,
0x0D
);
//
// Property: DEVPKEY_WiFiDirect_IsRecentlyAssociated
// Description: A value indicating if WFD Device was recently associated
// Type: DEVPROP_TYPE_BOOLEAN
// Availability: If recently associated, set to DEVPROP_TRUE,
// otherwise always set to DEVPROP_FALSE
//
DEFINE_DEVPROPKEY(
DEVPKEY_WiFiDirect_IsRecentlyAssociated,
0x1506935d, 0xe3e7, 0x450f, 0x86, 0x37, 0x82, 0x23, 0x3e, 0xbe, 0x5f, 0x6E,
0x0E
);
//
// Wi-Fi Direct Services Property Key Definitions
// These properties are exposed through Wi-Fi Direct Aep service objects when
// enumerated through a DevQuery.
//
//
// Property: DEVPKEY_WiFiDirectServices_ServiceAddress
// Description: Binary representation of WFD Service's Address.
// Type: DEVPROP_TYPE_BINARY
// Binary Data: DOT11_MAC_ADDRESS (UCHAR[6])
// Availability: Always.
//
DEFINE_DEVPROPKEY(
DEVPKEY_WiFiDirectServices_ServiceAddress,
0x31b37743, 0x7c5e, 0x4005, 0x93, 0xe6, 0xe9, 0x53, 0xf9, 0x2b, 0x82, 0xe9,
0x02
);
//
// Property: DEVPKEY_WiFiDirectServices_ServiceName
// Description: A value indicating name ofthe Wi Fi Direct service.
// Type: DEVPROP_TYPE_STRING
// Availability: Always
//
DEFINE_DEVPROPKEY(
DEVPKEY_WiFiDirectServices_ServiceName,
0x31b37743, 0x7c5e, 0x4005, 0x93, 0xe6, 0xe9, 0x53, 0xf9, 0x2b, 0x82, 0xe9,
0x03
);
//
// Property: DEVPKEY_WiFiDirectServices_ServiceInformation
// Description: Service information blob for the Wi Fi Direct Service.
// Type: DEVPROP_TYPE_BINARY
// Availability: Optional - returned when requested and available.
//
DEFINE_DEVPROPKEY(
DEVPKEY_WiFiDirectServices_ServiceInformation,
0x31b37743, 0x7c5e, 0x4005, 0x93, 0xe6, 0xe9, 0x53, 0xf9, 0x2b, 0x82, 0xe9,
0x04
);
//
// Property: DEVPKEY_WiFiDirectServices_AdvertisementId
// Description: Service advertisement ID for the Wi Fi Direct Service.
// Type: DEVPROP_TYPE_UINT32
// Availability: Always
//
DEFINE_DEVPROPKEY(
DEVPKEY_WiFiDirectServices_AdvertisementId,
0x31b37743, 0x7c5e, 0x4005, 0x93, 0xe6, 0xe9, 0x53, 0xf9, 0x2b, 0x82, 0xe9,
0x05
);
//
// Property: DEVPKEY_WiFiDirectServices_ServiceConfigMethods
// Description: Service advertisement ID for the Wi Fi Direct Service.
// Type: DEVPROP_TYPE_UINT32
// Availability: Always
//
DEFINE_DEVPROPKEY(
DEVPKEY_WiFiDirectServices_ServiceConfigMethods,
0x31b37743, 0x7c5e, 0x4005, 0x93, 0xe6, 0xe9, 0x53, 0xf9, 0x2b, 0x82, 0xe9,
0x06
);
//
// Property: DEVPKEY_WiFiDirectServices_RequestServiceInformation
// Description: A service information string that will be used to do a substring
search in the advertiser's service information.
// This property is only allowed as a filter in the query and is ne
ver returned for the Aep Service object.
// Type: DEVPROP_TYPE_STRING
// Availability: Optional - specified when app requested service information
//
DEFINE_DEVPROPKEY(
DEVPKEY_WiFiDirectServices_RequestServiceInformation,
0x31b37743, 0x7c5e, 0x4005, 0x93, 0xe6, 0xe9, 0x53, 0xf9, 0x2b, 0x82, 0xe9,
0x07
); );
DWORD DWORD
WINAPI WINAPI
WFDOpenHandle( WFDOpenHandle(
_In_ DWORD dwClientVersion, _In_ DWORD dwClientVersion,
_Out_ PDWORD pdwNegotiatedVersion, _Out_ PDWORD pdwNegotiatedVersion,
_Out_ PHANDLE phClientHandle _Out_ PHANDLE phClientHandle
); );
skipping to change at line 1954 skipping to change at line 2189
); );
DWORD DWORD
WINAPI WINAPI
WFDUpdateDeviceVisibility( WFDUpdateDeviceVisibility(
_In_ PDOT11_MAC_ADDRESS pDeviceAddress _In_ PDOT11_MAC_ADDRESS pDeviceAddress
); );
#endif // WFD_API_SUPPORTED #endif // WFD_API_SUPPORTED
//
// Property: DEVPKEY_WiFi_InterfaceGuid
// Description: Wi-Fi interfaces will have this value set to the Wlan Interface
// Guid by WlanSvc
// Type: DEVPROP_TYPE_GUID
// Availability: This will be set after first time WlanSvc brings up its interfa
ces
//
DEFINE_DEVPROPKEY(
DEVPKEY_WiFi_InterfaceGuid,
0xef1167eb, 0xcbfc, 0x4341, 0xa5, 0x68, 0xa7, 0xc9, 0x1a, 0x68, 0x98, 0x2c,
0x02
);
#endif // (_WIN32_WINNT >= _WIN32_WINNT_WIN7) #endif // (_WIN32_WINNT >= _WIN32_WINNT_WIN7)
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion #pragma endregion
#endif // _WLAN_WLANAPI_H #endif // _WLAN_WLANAPI_H
 End of changes. 17 change blocks. 
11 lines changed or deleted 272 lines changed or added

This html diff was produced by rfcdiff 1.41.