TwclWiFiClient.Scan(TGUID) Method

The Scan function requests a scan for available networks.

Namespace: wclWiFi
public
 function Scan(const IfaceId: TGUID): Integer; overload;

Parameters

IfaceId
Type: TGUID

The WLAN interface's ID.

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.