/reactos/win32ss/printing/base/spoolss/ |
H A D | context.c | 74 if (OpenThreadToken(GetCurrentThread(), TOKEN_IMPERSONATE, TRUE, &hToken)) in RevertToPrinterSelf()
|
/reactos/base/services/svchost/ |
H A D | security.cxx | 45 if (OpenThreadToken(GetCurrentThread(), TOKEN_QUERY, 0, &hToken) == FALSE) in DwInitializeSdFromThreadToken()
|
/reactos/dll/win32/authz/ |
H A D | resman.c | 105 Ret = OpenThreadToken(GetCurrentThread(), in AuthzpInitUnderImpersonation()
|
/reactos/modules/rostests/apitests/userenv/ |
H A D | LoadUserProfile.c | 130 Success = OpenThreadToken(GetCurrentThread(), in START_TEST()
|
/reactos/ntoskrnl/include/ |
H A D | sysfuncs.h | 136 SVC_(OpenThreadToken, 4)
|
H A D | sysfuncs64.h | 34 SVC_(OpenThreadToken, 4)
|
/reactos/modules/rosapps/applications/sysutils/regexpl/ |
H A D | ShellCommandSACL.cpp | 124 if (!OpenThreadToken(GetCurrentThread(),TOKEN_ADJUST_PRIVILEGES|TOKEN_QUERY,FALSE,&hThreadToken)) in Execute()
|
/reactos/drivers/filesystems/udfs/Include/ |
H A D | user_lib.cpp | 543 if (!OpenThreadToken(GetCurrentThread(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, TRUE, &hToken)){ in Privilege()
|
H A D | env_spec_w32.cpp | 331 … if (!OpenThreadToken(GetCurrentThread(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, TRUE, &hToken)) { in Privilege()
|
/reactos/dll/win32/winmm/ |
H A D | playsound.c | 50 if (!OpenThreadToken(GetCurrentThread(), in PlaySound_ExpandEnvironmentStrings()
|
/reactos/modules/rostests/winetests/advapi32/ |
H A D | security.c | 1025 rc = OpenThreadToken(GetCurrentThread(), TOKEN_QUERY, TRUE, &token); in test_FileSecurity() 1034 rc = OpenThreadToken(GetCurrentThread(), TOKEN_QUERY, TRUE, &token); in test_FileSecurity() 3199 …ret = OpenThreadToken(GetCurrentThread(), TOKEN_QUERY | TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY_SOUR… in test_impersonation_level() 3254 …ret = OpenThreadToken(GetCurrentThread(), TOKEN_QUERY | TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY_SOUR… in test_impersonation_level() 3270 …ret = OpenThreadToken(GetCurrentThread(), TOKEN_QUERY | TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY_SOUR… in test_impersonation_level() 3646 if (!OpenThreadToken(GetCurrentThread(), TOKEN_READ, TRUE, &token)) in test_CreateDirectoryA() 4025 if (!OpenThreadToken(GetCurrentThread(), TOKEN_READ, TRUE, &token)) in test_GetNamedSecurityInfoA() 4904 if (!OpenThreadToken(GetCurrentThread(), TOKEN_READ, TRUE, &token)) in test_GetSecurityInfo() 7038 if (!OpenThreadToken(GetCurrentThread(), TOKEN_READ, TRUE, &token)) in test_GetWindowsAccountDomainSid() 7167 ret = OpenThreadToken(GetCurrentThread(), TOKEN_QUERY, TRUE, &token); in test_pseudo_tokens()
|
/reactos/dll/win32/advapi32/sec/ |
H A D | misc.c | 303 if (!OpenThreadToken (GetCurrentThread(), TOKEN_QUERY, FALSE, &hToken)) in GetUserNameW()
|
/reactos/dll/win32/ntmarta/ |
H A D | ntmarta.c | 463 if (!OpenThreadToken(GetCurrentThread(), TOKEN_READ, TRUE, &Token)) in AccpLookupCurrentUser()
|
/reactos/dll/win32/shell32/ |
H A D | utils.cpp | 170 ret = OpenThreadToken(GetCurrentThread(), DesiredAccess, FALSE, phToken); in OpenEffectiveToken()
|
/reactos/dll/win32/userenv/ |
H A D | profile.c | 1667 if (!OpenThreadToken(GetCurrentThread(), TOKEN_QUERY, TRUE, &hToken)) in GetProfileType()
|
/reactos/dll/win32/advapi32/ |
H A D | advapi32.spec | 450 @ stdcall OpenThreadToken(long long long ptr)
|
/reactos/modules/rostests/winetests/kernel32/ |
H A D | pipe.c | 1933 ret = OpenThreadToken(GetCurrentThread(), TOKEN_QUERY, FALSE, &hToken); in test_ImpersonateNamedPipeClient() 1956 ret = OpenThreadToken(GetCurrentThread(), TOKEN_QUERY, FALSE, &hToken); in test_ImpersonateNamedPipeClient()
|
/reactos/dll/win32/advapi32/wine/ |
H A D | security.c | 336 OpenThreadToken( HANDLE ThreadHandle, DWORD DesiredAccess, in OpenThreadToken() function
|
/reactos/base/services/umpnpmgr/ |
H A D | rpcserver.c | 604 if (OpenThreadToken(GetCurrentThread(), TOKEN_QUERY, FALSE, &hToken)) in IsCallerInteractive()
|
/reactos/sdk/include/psdk/ |
H A D | winbase.h | 2926 BOOL WINAPI OpenThreadToken(HANDLE,DWORD,BOOL,PHANDLE);
|