Lines Matching refs:TokenHandle
216 IN HANDLE TokenHandle OPTIONAL, in PspSetPrimaryToken()
232 Status = ObReferenceObjectByHandle(TokenHandle, in PspSetPrimaryToken()
352 OUT PHANDLE TokenHandle) in NtOpenProcessToken() argument
358 TokenHandle); in NtOpenProcessToken()
369 OUT PHANDLE TokenHandle) in NtOpenProcessTokenEx() argument
386 ProbeForWriteHandle(TokenHandle); in NtOpenProcessTokenEx()
420 *TokenHandle = hToken; in NtOpenProcessTokenEx()
503 IN HANDLE TokenHandle) in PsAssignImpersonationToken() argument
509 PSTRACE(PS_SECURITY_DEBUG, "Thread: %p Token: %p\n", Thread, TokenHandle); in PsAssignImpersonationToken()
512 if (!TokenHandle) in PsAssignImpersonationToken()
520 Status = ObReferenceObjectByHandle(TokenHandle, in PsAssignImpersonationToken()