/reactos/modules/rostests/apitests/ntdll/ |
H A D | NtOpenThreadToken.c | 19 Status = NtOpenThreadToken(NtCurrentThread(), in START_TEST() 31 Status = NtOpenThreadToken(NtCurrentThread(), in START_TEST() 45 Status = NtOpenThreadTokenEx(NtCurrentThread(), in START_TEST() 61 Status = NtSetInformationThread(NtCurrentThread(), in START_TEST()
|
H A D | probelib.c | 258 Status = NtQueryInformationThread(NtCurrentThread(), in QuerySetThreadValidator() 328 Status = NtSetInformationThread(NtCurrentThread(), in QuerySetThreadValidator()
|
/reactos/sdk/lib/rtl/ |
H A D | priv.c | 29 Status = ZwOpenThreadToken(NtCurrentThread(), DesiredAccess, in RtlpOpenThreadToken() 33 Status = ZwOpenThreadToken(NtCurrentThread(), DesiredAccess, in RtlpOpenThreadToken() 90 Status = ZwSetInformationThread(NtCurrentThread(), in RtlImpersonateSelf() 185 Status = ZwSetInformationThread(NtCurrentThread(), in RtlAcquirePrivilege() 238 Status = ZwSetInformationThread(NtCurrentThread(), in RtlAcquirePrivilege() 335 IntStatus = ZwSetInformationThread(NtCurrentThread(), ThreadImpersonationToken, in RtlAcquirePrivilege() 376 Status = ZwSetInformationThread(NtCurrentThread(), ThreadImpersonationToken, in RtlReleasePrivilege() 432 Status = ZwOpenThreadToken(NtCurrentThread(), in RtlAdjustPrivilege()
|
H A D | workitem.c | 42 return NtTerminateThread(NtCurrentThread(), ExitStatus); in RtlpExitThread() 150 Status = NtOpenThreadToken(NtCurrentThread(), in RtlpGetImpersonationToken() 208 Status = NtSetInformationThread(NtCurrentThread(), in RtlpExecuteWorkItem() 237 Status = NtSetInformationThread(NtCurrentThread(), in RtlpExecuteWorkItem() 325 Status = NtSetInformationThread(NtCurrentThread(), in RtlpExecuteIoWorkItem() 354 Status = NtSetInformationThread(NtCurrentThread(), in RtlpExecuteIoWorkItem() 527 NtCurrentThread(), in RtlpIsIoPending() 576 NtCurrentThread(), in RtlpIoWorkerThreadProc()
|
H A D | thread.c | 196 ZwQueryInformationThread(NtCurrentThread(), in RtlSetThreadIsCritical() 206 return ZwSetInformationThread(NtCurrentThread(), in RtlSetThreadIsCritical() 295 NtTerminateThread(NtCurrentThread(), Status); in RtlExitUserThread()
|
H A D | security.c | 267 Status = NtOpenThreadToken(NtCurrentThread(), in RtlDefaultNpAcl() 626 Status = NtOpenThreadToken(NtCurrentThread(), TOKEN_QUERY, TRUE, &Token); in RtlNewSecurityGrantedAccess()
|
/reactos/win32ss/user/winsrv/usersrv/ |
H A D | shutdown.c | 199 NtUserSetInformationThread(NtCurrentThread(), in EndNowThreadProc() 807 Status = NtUserSetInformationThread(NtCurrentThread(), in CSR_API() 821 NtUserSetInformationThread(NtCurrentThread(), UserThreadRestoreDesktop, NULL, 0); in CSR_API() 835 Status = NtUserSetInformationThread(NtCurrentThread(), in CSR_API() 866 NtUserSetInformationThread(NtCurrentThread(), UserThreadRestoreDesktop, NULL, 0); in CSR_API()
|
H A D | register.c | 66 Status = NtUserSetInformationThread(NtCurrentThread(), in CSR_API()
|
H A D | init.c | 203 Status = NtUserSetInformationThread(NtCurrentThread(), in UserClientConnect()
|
H A D | harderror.c | 1122 Status = NtUserSetInformationThread(NtCurrentThread(), in UserServerHardError() 1183 NtUserSetInformationThread(NtCurrentThread(), UserThreadRestoreDesktop, NULL, 0); in UserServerHardError()
|
/reactos/base/system/lsass/ |
H A D | lsass.c | 82 NtTerminateThread(NtCurrentThread(), Status); in wWinMain()
|
/reactos/dll/win32/advapi32/misc/ |
H A D | logon.c | 692 Status = NtOpenThreadToken(NtCurrentThread(), in CreateProcessAsUserCommon() 715 Status = NtSetInformationThread(NtCurrentThread(), in CreateProcessAsUserCommon() 780 Status = NtSetInformationThread(NtCurrentThread(), in CreateProcessAsUserCommon() 807 Status = NtSetInformationThread(NtCurrentThread(), in CreateProcessAsUserCommon() 896 StatusOnExit = NtSetInformationThread(NtCurrentThread(), in CreateProcessAsUserCommon()
|
/reactos/subsystems/csr/csrss/ |
H A D | csrss.c | 93 NtTerminateThread(NtCurrentThread(), Status); in _main()
|
/reactos/subsystems/csr/csrsrv/ |
H A D | procsup.c | 840 Status = NtOpenThreadToken(NtCurrentThread(), in CsrGetProcessLuid() 948 Status = NtImpersonateThread(NtCurrentThread(), in CsrImpersonateClient() 1081 Status = NtSetInformationThread(NtCurrentThread(), in CsrRevertToSelf()
|
/reactos/dll/win32/kernel32/client/ |
H A D | utils.c | 73 Status = NtOpenThreadToken(NtCurrentThread(), in BaseGetNamedObjectDirectory() 80 Status = NtSetInformationThread(NtCurrentThread(), in BaseGetNamedObjectDirectory() 143 NtSetInformationThread(NtCurrentThread(), in BaseGetNamedObjectDirectory()
|
H A D | handle.c | 164 (hSourceHandle != NtCurrentThread()))) in DuplicateHandle()
|
H A D | thread.c | 379 Status = NtQueryInformationThread(NtCurrentThread(), in ExitThread() 1208 Status = NtSetInformationThread(NtCurrentThread(), in TlsFree()
|
/reactos/ntoskrnl/ob/ |
H A D | obref.c | 218 if (AccessMode != KernelMode || Handle == NtCurrentProcess() || Handle == NtCurrentThread()) in ObReferenceFileObjectForWrite() 566 else if (Handle == NtCurrentThread()) in ObReferenceObjectByHandle()
|
/reactos/dll/win32/advapi32/token/ |
H A D | token.c | 52 Status = NtOpenThreadToken(NtCurrentThread(), in CheckTokenMembership()
|
/reactos/subsystems/win/basesrv/ |
H A D | dosdev.c | 61 Status = NtOpenThreadToken(NtCurrentThread(), in GetCallerLuid() 363 NtTerminateThread(NtCurrentThread(), ExitStatus); in BaseSrvBSMThread()
|
/reactos/dll/win32/kernel32/client/file/ |
H A D | npipe.c | 59 Status = NtOpenThreadToken(NtCurrentThread(), TOKEN_IMPERSONATE, TRUE, &hToken); in NpGetUserNamep() 78 Status = NtSetInformationThread(NtCurrentThread(), ThreadImpersonationToken, in NpGetUserNamep()
|
/reactos/sdk/include/ndk/ |
H A D | pstypes.h | 327 #define NtCurrentThread() ((HANDLE)(LONG_PTR)-2) macro 328 #define ZwCurrentThread() NtCurrentThread()
|
/reactos/ntoskrnl/include/internal/ |
H A D | ob.h | 78 ((Handle) != NtCurrentThread()))
|
/reactos/base/setup/usetup/ |
H A D | devinst.c | 509 NtTerminateThread(NtCurrentThread(), Status); in PnpEventThread()
|
/reactos/sdk/include/xdk/ |
H A D | zwfuncs.h | 10 #define NtCurrentThread() ( (HANDLE)(LONG_PTR) -2 ) macro 11 #define ZwCurrentThread() NtCurrentThread()
|