TwclWiFiInterface.GetOperationMode(TwclWiFiOperationMode) Method

Reads the interface's current operation mode.

Namespace: wclWiFi
public
 function GetOperationMode(out Mode: TwclWiFiOperationMode): Integer;

Parameters

Mode
Type: TwclWiFiOperationMode

The WiFi interface's current operation mode.

Return Value

Type: Integer

If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.