TwclWiFiInterface.GetState(TwclWiFiInterfaceState) Method

Reads the interface's state.

Namespace: wclWiFi
public
 function GetState(out State: TwclWiFiInterfaceState): Integer;

Parameters

State
Type: TwclWiFiInterfaceState

The interface state.

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.