Home
last modified time | relevance | path

Searched refs:OpenThreadToken (Results 1 – 20 of 20) sorted by relevance

/reactos/win32ss/printing/base/spoolss/
H A Dcontext.c74 if (OpenThreadToken(GetCurrentThread(), TOKEN_IMPERSONATE, TRUE, &hToken)) in RevertToPrinterSelf()
/reactos/base/services/svchost/
H A Dsecurity.cxx45 if (OpenThreadToken(GetCurrentThread(), TOKEN_QUERY, 0, &hToken) == FALSE) in DwInitializeSdFromThreadToken()
/reactos/dll/win32/authz/
H A Dresman.c105 Ret = OpenThreadToken(GetCurrentThread(), in AuthzpInitUnderImpersonation()
/reactos/modules/rostests/apitests/userenv/
H A DLoadUserProfile.c130 Success = OpenThreadToken(GetCurrentThread(), in START_TEST()
/reactos/ntoskrnl/include/
H A Dsysfuncs.h136 SVC_(OpenThreadToken, 4)
H A Dsysfuncs64.h34 SVC_(OpenThreadToken, 4)
/reactos/modules/rosapps/applications/sysutils/regexpl/
H A DShellCommandSACL.cpp124 if (!OpenThreadToken(GetCurrentThread(),TOKEN_ADJUST_PRIVILEGES|TOKEN_QUERY,FALSE,&hThreadToken)) in Execute()
/reactos/drivers/filesystems/udfs/Include/
H A Duser_lib.cpp543 if (!OpenThreadToken(GetCurrentThread(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, TRUE, &hToken)){ in Privilege()
H A Denv_spec_w32.cpp331 … if (!OpenThreadToken(GetCurrentThread(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, TRUE, &hToken)) { in Privilege()
/reactos/dll/win32/winmm/
H A Dplaysound.c50 if (!OpenThreadToken(GetCurrentThread(), in PlaySound_ExpandEnvironmentStrings()
/reactos/modules/rostests/winetests/advapi32/
H A Dsecurity.c1025 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 Dmisc.c303 if (!OpenThreadToken (GetCurrentThread(), TOKEN_QUERY, FALSE, &hToken)) in GetUserNameW()
/reactos/dll/win32/ntmarta/
H A Dntmarta.c463 if (!OpenThreadToken(GetCurrentThread(), TOKEN_READ, TRUE, &Token)) in AccpLookupCurrentUser()
/reactos/dll/win32/shell32/
H A Dutils.cpp170 ret = OpenThreadToken(GetCurrentThread(), DesiredAccess, FALSE, phToken); in OpenEffectiveToken()
/reactos/dll/win32/userenv/
H A Dprofile.c1667 if (!OpenThreadToken(GetCurrentThread(), TOKEN_QUERY, TRUE, &hToken)) in GetProfileType()
/reactos/dll/win32/advapi32/
H A Dadvapi32.spec450 @ stdcall OpenThreadToken(long long long ptr)
/reactos/modules/rostests/winetests/kernel32/
H A Dpipe.c1933 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 Dsecurity.c336 OpenThreadToken( HANDLE ThreadHandle, DWORD DesiredAccess, in OpenThreadToken() function
/reactos/base/services/umpnpmgr/
H A Drpcserver.c604 if (OpenThreadToken(GetCurrentThread(), TOKEN_QUERY, FALSE, &hToken)) in IsCallerInteractive()
/reactos/sdk/include/psdk/
H A Dwinbase.h2926 BOOL WINAPI OpenThreadToken(HANDLE,DWORD,BOOL,PHANDLE);