WiFi Framework
ContentsIndexHome
PreviousUpNext
TwclNetworkListManager.GetNetworks Method

Retrieves the list of networks available on the local machine.

Syntax
Pascal
function GetNetworks(const Flags: TwclNlmEnumNetwork; out Networks: TwclNlmNetworks): Integer;
Parameters 
Description 
const Flags: TwclNlmEnumNetwork 
The value specifies the flags for the network (specifically, connected or not connected).  
out Networks: TwclNlmNetworks 
A dynamic array that receives the TwclNlmNetwork class objects for available networks. An application is responsible to free all the Network objects in the array as well as release the memory allocated for the dynamic array.  

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

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