TwclCustomWiFiComponent.ElevatePrivileges Method

The function must setup privileges for Native WiFi.

Namespace: wclWiFi
protected
 function ElevatePrivileges: Integer; virtual;

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.

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