Home
last modified time | relevance | path

Searched refs:OpenProcessToken (Results 1 – 7 of 7) sorted by relevance

/external/lzma/CPP/Windows/
DMemoryLock.cpp35 GET_PROC_ADDR(OpenProcessToken, "OpenProcessToken"); in EnablePrivilege()
47 if (MY_FUNC_SELECT(OpenProcessToken)(::GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES, &token)) in EnablePrivilege()
DSecurityUtils.h29 bool OpenProcessToken(HANDLE processHandle, DWORD desiredAccess) in OpenProcessToken() function
32 return BOOLToBool(::OpenProcessToken(processHandle, desiredAccess, &_handle)); in OpenProcessToken()
/external/llvm-project/llvm/lib/Support/Windows/
DMemory.inc68 OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DMemory.inc68 OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY,
/external/libchrome/base/process/
Dprocess_util_unittest.cc749 ASSERT_TRUE(OpenProcessToken(GetCurrentProcess(), TOKEN_ALL_ACCESS, &token)); in TEST_F()
/external/lzma/CPP/7zip/UI/Common/
DArchiveExtractCallback.cpp75 if (!token.OpenProcessToken(GetCurrentProcess(), in InitLocalPrivileges()
/external/python/cpython3/Modules/
D_winapi.c559 if (!OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES, &token)) in _winapi_CreateJunction_impl()