WiFi Framework C++ Edition

◆ EnumAvailableNetworks()

int EnumAvailableNetworks ( const GUID &  IfaceId,
const wclWiFiAvailableNetworkFilters Filters,
wclWiFiAvailableNetworks Networks 
)

Retrieves the list of available networks on a wireless LAN interface.

Parameters
IfaceIdThe Wireless LAN interface's ID to be queried.
FiltersA set of flags that control the type of networks returned in the list.
NetworksA dynamic array to receive the returned list of visible networks.
Returns
If the function succeed the return value is wclCommon::WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

The caller is responsible to dispose the memory allocated for the dynamic array contains the available network list.

See also
wclWiFiAvailableNetworkFilters, wclWiFiAvailableNetworks