DOT11_NETWORK_LIST structure (wlanapi.h)

The DOT11_NETWORK_LIST structure contains a list of 802.11 wireless networks.

Syntax

typedef struct _DOT11_NETWORK_LIST {
  DWORD         dwNumberOfItems;
  DWORD         dwIndex;
#if ...
  DOT11_NETWORK *Network[];
#else
  DOT11_NETWORK Network[1];
#endif
} DOT11_NETWORK_LIST, *PDOT11_NETWORK_LIST;

Members

dwNumberOfItems

Contains the number of items in the Network 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 networks in the DOT11_NETWORK_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.

Network[*]

An array of DOT11_NETWORK structures that contain 802.11 wireless network information.

Network[1]

An array of DOT11_NETWORK structures that contain 802.11 wireless network information.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header wlanapi.h (include Wlanapi.h)

See also

DOT11_NETWORK

WlanGetFilterList

WlanSetFilterList