WiFi Framework C++ Edition

◆ Scan() [3/4]

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

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.
IeAn information element to include in probe requests. This may include client provisioning availability information and 802.1X authentication requirements. On Windows XP with SP3 and Wireless LAN API for Windows XP with SP2 this parameter must be empty. Maximum length of data is 240 bytes.
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.

See also
wclWiFiScanIeData