WLAN_PROFILE_INFO_LIST structure (wlanapi.h)

The WLAN_PROFILE_INFO_LIST structure contains a list of wireless profile information.

Syntax

typedef struct _WLAN_PROFILE_INFO_LIST {
  DWORD             dwNumberOfItems;
  DWORD             dwIndex;
#if ...
  WLAN_PROFILE_INFO *ProfileInfo[];
#else
  WLAN_PROFILE_INFO ProfileInfo[1];
#endif
} WLAN_PROFILE_INFO_LIST, *PWLAN_PROFILE_INFO_LIST;

Members

dwNumberOfItems

The number of wireless profile entries in the ProfileInfo member.

dwIndex

The index of the current item. The index of the first item is 0. The dwIndex member must be less than the dwNumberOfItems member.

This member is not used by the wireless service. Applications can use this member when processing individual profiles in the WLAN_PROFILE_INFO_LIST structure. When an application passes this structure from one function to another, it can set the value of dwIndex to the index of the item currently being processed. This can help an application maintain state.

dwIndex should always be initialized before use.

ProfileInfo[*]

An array of WLAN_PROFILE_INFO structures containing interface information. The number of items in the array is specified in the dwNumberOfItems member.

ProfileInfo[1]

An array of WLAN_PROFILE_INFO structures containing interface information. The number of items in the array is specified in the dwNumberOfItems member.

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

See also

WLAN_PROFILE_INFO

WlanGetProfile

WlanGetProfileList