Export (0) Print
Expand All

PsDereferenceImpersonationToken routine

The PsDereferenceImpersonationToken routine decrements the reference count of an impersonation token.

Syntax


VOID PsDereferenceImpersonationToken(
  _In_  PACCESS_TOKEN ImpersonationToken
);

Parameters

ImpersonationToken [in]

Pointer to the impersonation token whose reference count is to be decremented. If this is a NULL pointer, PsDereferenceImpersonationToken does nothing.

Return value

None

Remarks

If the token's reference count reaches zero, the token is deleted.

For more information about security and access control, see the documentation on these topics in the Microsoft Windows SDK.

Requirements

Header

Ntifs.h (include Ntifs.h)

Library

Ntoskrnl.lib

IRQL

< DISPATCH_LEVEL

See also

PsImpersonateClient
PsReferenceImpersonationToken

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft