RevertToSelf

  BOOL RevertToSelf(VOID)    

The RevertToSelf function terminates impersonation of a named pipe client application.

Parameters

This function has no parameters.

Return Value

The return value is TRUE if the function was successful, or FALSE if an error occurred. Use the GetLastError function to obtain extended error information.

See Also

DdeImpersonateClient, ImpersonateNamedPipeClient, ImpersonateSelf