TwclCustomWiFiComponent.RequestAccess Method

The function requests access to the WiFi features on Win 11 24H2 and above.

Namespace: wclWiFi
protected
 function RequestAccess: Integer;

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.