WLAN_PROFILE_INFO structure (wlanapi.h)
The WLAN_PROFILE_INFO structure contains basic information about a profile.
Syntax
typedef struct _WLAN_PROFILE_INFO {
WCHAR strProfileName[WLAN_MAX_NAME_LENGTH];
DWORD dwFlags;
} WLAN_PROFILE_INFO, *PWLAN_PROFILE_INFO;
Members
strProfileName[WLAN_MAX_NAME_LENGTH]
The name of the profile. This value may be the name of a domain if the profile is for provisioning. Profile names are case-sensitive. This string must be NULL-terminated.
Windows XP with SP3 and Wireless LAN API for Windows XP with SP2: The name of the profile is derived automatically from the SSID of the wireless network. For infrastructure network profiles, the name of the profile is the SSID of the network. For ad hoc network profiles, the name of the profile is the SSID of the ad hoc network followed by -adhoc
.
dwFlags
A set of flags specifying settings for wireless profile. These values are defined in the Wlanapi.h header file.
Windows XP with SP3 and Wireless LAN API for Windows XP with SP2: dwFlags must be 0. Per-user profiles are not supported.
Combinations of these flag bits are possible
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista, Windows XP with SP3 [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | wlanapi.h |
Redistributable | Wireless LAN API for Windows XP with SP2 |