WiFi Framework C++ Edition

◆ Scan() [2/4]

int Scan ( const GUID &  IfaceId,
const tstring Ssid 
)

The Scan function requests a scan for available networks.

Parameters
IfaceIdThe WLAN interface's ID.
SsidSpecifies the SSID of the network to be scanned. This parameter is optional. When set to an empty string, the returned list contains all available networks.
Returns
If the function succeeds, the return value is wclCommon::WCL_E_SUCCESS.

If the function fails, the return value may be one of the WCL return codes.

The Scan function requests that the native 802.11 Wireless LAN driver scan for available wireless networks.