WLAN_AVAILABLE_NETWORK_LIST_V2 structure

Contains an array of information about available networks.

Syntax

typedef struct _WLAN_AVAILABLE_NETWORK_LIST_V2 {
  DWORD                     dwNumberOfItems;
  DWORD                     dwIndex;
  WLAN_AVAILABLE_NETWORK_V2 Network[1];
} WLAN_AVAILABLE_NETWORK_LIST_V2, *PWLAN_AVAILABLE_NETWORK_LIST_V2;

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 WLAN_AVAILABLE_NETWORK_LIST_V2 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 WLAN_AVAILABLE_NETWORK_V2 structures containing interface information.

Requirements

Minimum supported client

Windows 10

Minimum supported server

Windows Server 2016 Technical Preview [desktop apps only]

Header

Wlanapi.h