PsRevertToSelf routine

The PsRevertToSelf routine ends the calling thread's impersonation of a client.

Syntax


VOID PsRevertToSelf(void);

Parameters

This routine has no parameters.

Return value

None

Remarks

A server thread can impersonate a client by calling the PsImpersonateClient routine. When the thread is done impersonating the client, it can call the PsRevertToSelf routine to end all impersonations.

Requirements

Version

Available in Windows XP and later versions of the Windows operating systems.

Header

Ntifs.h (include Ntifs.h or FltKernel.h)

Library

Ntoskrnl.lib

IRQL

PASSIVE_LEVEL

See also

PsImpersonateClient

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft