WiFi Framework C++ Edition

◆ GetNetworks()

int GetNetworks ( const wclNlmEnumNetwork  Flags,
wclNlmNetworks Networks 
) const

Retrieves the list of networks available on the local machine.

Parameters
FlagsThe value specifies the flags for the network (specifically, connected or not connected).
NetworksA dynamic array that receives the CwclNlmNetwork 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.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
See also
wclNlmEnumNetwork, wclNlmNetworks