WiFi Framework
ContentsIndexHome
PreviousUpNext
CwclWiFiClient::Scan Method (GUID, tstring)

The Scan function requests a scan for available networks.

Syntax
C++
int Scan(GUID IfaceId, tstring Ssid);
Parameters 
Description 
GUID IfaceId 
The WLAN interface's ID.  
tstring Ssid 
Specifies 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.  
Ie 
An 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 NULL. Maximum length of data is 240 bytes.  

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.

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