WiFi Framework C++ Edition

◆ IsNoConnectionsTimeoutEnabled()

int IsNoConnectionsTimeoutEnabled ( bool & Enabled)

Gets a value indicating whether the NoConnections timeout is enabled. If enabled, Mobile HotSpot turns off automatically in 5 minutes after the last peer of the tethering connection goes away.

Parameters
EnabledIf the method completed with success on output contains a Boolean indicates current NoConnectionTimeout state. True if the NoConnections timeout is enabled, otherwise False.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

This feature is supported on Windows 10 2004 and above.