TwclWiFiClient.Scan(TGUID,TwclWiFiScanIeData) Method
The Scan function requests a scan for available networks.
public function Scan(const IfaceId: TGUID; const Ie: TwclWiFiScanIeData): Integer; overload;
Parameters
- IfaceId
- Type: TGUID
The WLAN interface's ID.
- Ie
- Type: TwclWiFiScanIeData
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
nil
. Maximum length of data is 240 bytes.
Return Value
Type: Integer
If the function succeeds, the return value is wclErrors.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.