Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Assigns the supplied impersonation token to the current thread.
Note
This API is for internal use only. It's not intended for use from developer code.
Syntax
HRESULT ResetSecurity (
[in] HANDLE token
);
Parameters
token
[in] The impersonation token to associate with the current thread. Its value can be null
.
Return value
If the function succeeds, the return value is S_OK
(0).
If the function fails, the return value is a non-zero error code. To get extended error information, call the GetErrorInfo function.
Requirements
Platforms: See System Requirements.
Header: WMINet_Utils.idl
.NET Framework Versions: Available since 4.7.2