WiFi Framework C++ Edition

◆ ElevatePrivileges()

virtual int ElevatePrivileges ( ) const
protectedvirtual

The function must setup privileges for Native WiFi.

Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

By default this function does nothing and always returns WCL_E_SUCCESS. The CwclCustomWiFiSecurableComponent class overrides this function to implement elevation code.

Reimplemented in CwclCustomWiFiSecurableComponent.