WiFi Framework C++ Edition

◆ EnableNoConnectionsTimeout()

int EnableNoConnectionsTimeout ( )

Enables the NoConnections timeout. This means that Mobile HotSpot turns off automatically in 5 minutes after the last peer of the tethering connection goes away.

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.