WiFi Framework
ContentsIndexHome
PreviousUpNext
TwclWiFiClient.EnumAvailableNetworks Method

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

Syntax
Pascal
function EnumAvailableNetworks(const IfaceId: TGUID; const Filters: TwclWiFiAvailableNetworkFilters; out Networks: TwclWiFiAvailableNetworks): Integer;
Parameters 
Description 
const IfaceId: TGUID 
The Wireless LAN interface's ID to be queried.  
const Filters: TwclWiFiAvailableNetworkFilters 
A set of flags that control the type of networks returned in the list.  
out Networks: TwclWiFiAvailableNetworks 
A dynamic array to receive the returned list of visible networks.  

If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

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

Copyright (c) 2006-2019. All rights reserved.