// ntifs.h
VOID PsDereferenceImpersonationToken(
[in] PACCESS_TOKEN ImpersonationToken
);
View the official Windows Driver Kit DDI reference
No description available.
The PsDereferenceImpersonationToken routine decrements the reference count of an impersonation token.
ImpersonationToken
[in]Pointer to the impersonation token whose reference count is to be decremented. If this is a NULL pointer, PsDereferenceImpersonationToken does nothing.
If the token's reference count reaches zero, the token is deleted.
For more information about security and access control, see Windows security model for driver developers and the documentation on these topics in the Windows SDK.