TwclMobileHotspot.GetState(TwclMobileHotspotState) Method

Gets the current Mobile Hotspot state.

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

Parameters

State
Type: TwclMobileHotspotState

If the function completed with success on output the parameter contains the current Mobile Hotspot 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.