Enumerating wireless network adapters and interfaces
Scanning for available wireless networks
Connecting and disconnecting from wireless networks
Creating, deleting, and modifying wireless network profiles
Registering for wireless network notifications
Querying and setting wireless network interface parameters
Using independent hardware vendor (IHV) extensibility functions
Using pairwise master key (PMK) caching and pre-authentication
However, the WLANAPI is not supported by default on Windows XP with Service Pack 2 (SP2). To enable a subset of the WLANAPI functionality on Windows XP with SP2, a hotfix is required, which is known as Wireless LAN API for Windows XP with Service Pack 2 (SP2) or KB918997. This hotfix can be downloaded from the Microsoft Support website. The hotfix includes a DLL file (wlanapi.dll) that implements the WLANAPI functions, and a header file (wlanapi.h) that defines the WLANAPI data structures and constants.
The Wireless LAN API for Windows XP with SP2 has some limitations compared to the WLANAPI on Windows Vista and later versions. Here is a list of limitations:
At most one SSID can be associated with a profile.
Infrastructure networks always appear before ad hoc networks in the profile list.
Profile names are derived from the SSID, and cannot be set by the user to an arbitrary string.
PHY types are not supported.
Pairwise master key (PMK) caching is not supported.
Independent hardware vendor (IHV) extensibility functions are not supported.
Profile permissions are not supported.
Only the wlan_notification_acm_connection_complete and the wlan_notification_acm_disconnected notifications are available.
Global 802.1X and EAPOL configuration settings are not supported.
The following functions are supported by Windows XP with SP3 and Wireless LAN API for Windows XP with SP2:
WLAN_NOTIFICATION_CALLBACK
WlanAllocateMemory
WlanCloseHandle
WlanConnect
WlanDeleteProfile
WlanDisconnect
WlanEnumInterfaces
WlanFreeMemory
WlanGetAvailableNetworkList
WlanGetProfile
WlanGetProfileList
WlanOpenHandle
WlanQueryInterface
WlanReasonCodeToString
WlanRegisterNotification
WlanScan
WlanSetInterface
WlanSetProfile
WlanSetProfileEapXmlUserData
WlanSetProfileList
WlanSetProfilePosition
: [Can't install Wireless LAN API (KB918997) without internet connection] : [Download Wireless LAN API (KB918997) from Official Microsoft Download Center] : [Native Wifi API Support on Windows XP]
a104e7fe7e