WiFi Framework C++ Edition

◆ GetState()

int GetState ( bool &  Enabled) const

Reads the wireless Hosted Network enabled flag.

Parameters
EnabledTrue if the Wireless Hosted Network is enabled.
Returns
If the function succeeds, the return value is wclCommon::WCL_E_SUCCESS. If the function fails, the return value may be one of the WCL return codes.

The method can be called without opening the Hosted Network.