This topic has not yet been rated - Rate this topic

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

Build date: 4/2/2012

Did you find this helpful?
(1500 characters remaining)