WLAN_INTERFACE_INFO_LIST structure (wlanapi.h)

The WLAN_INTERFACE_INFO_LIST structure contains an array of NIC interface information.

Syntax

typedef struct _WLAN_INTERFACE_INFO_LIST {
  DWORD               dwNumberOfItems;
  DWORD               dwIndex;
#if ...
  WLAN_INTERFACE_INFO *InterfaceInfo[];
#else
  WLAN_INTERFACE_INFO InterfaceInfo[1];
#endif
} WLAN_INTERFACE_INFO_LIST, *PWLAN_INTERFACE_INFO_LIST;

Members

dwNumberOfItems

Contains the number of items in the InterfaceInfo member.

dwIndex

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

This member is not used by the wireless service. Applications can use this member when processing individual interfaces in the WLAN_INTERFACE_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.

InterfaceInfo[*]

An array of WLAN_INTERFACE_INFO structures containing interface information.

InterfaceInfo[1]

An array of WLAN_INTERFACE_INFO structures containing interface information.

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

WlanEnumInterfaces