Lines Matching refs:GetCurrentProcessId

375         while (pe.th32ProcessID != GetCurrentProcessId())  in doChild()
379 ok(pe.th32ProcessID == GetCurrentProcessId(), "failed to find current process in snapshot\n"); in doChild()
1175 okChildInt("Toolhelp", "th32ParentProcessID", GetCurrentProcessId()); in test_Toolhelp()
1767 … hproc = OpenProcess(PROCESS_ALL_ACCESS_NT4 & ~PROCESS_VM_OPERATION, FALSE, GetCurrentProcessId()); in test_OpenProcess()
1789 hproc = OpenProcess(PROCESS_VM_OPERATION, FALSE, GetCurrentProcessId()); in test_OpenProcess()
1811 hproc = OpenProcess(PROCESS_QUERY_INFORMATION, FALSE, GetCurrentProcessId()); in test_OpenProcess()
1835 hproc = OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION, FALSE, GetCurrentProcessId()); in test_OpenProcess()
1878 ret = GetProcessVersion(GetCurrentProcessId()); in test_GetProcessVersion()
2019 hSelf = OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION, FALSE, GetCurrentProcessId()); in test_QueryFullProcessImageNameW()
2918 test_assigned_proc(job, 1, GetCurrentProcessId()); in test_AddSelfToJob()
2947 test_assigned_proc(job, 2, GetCurrentProcessId(), pi.dwProcessId); in test_jobInheritance()
2977 test_assigned_proc(job, 1, GetCurrentProcessId()); in test_BreakawayOk()
3001 test_assigned_proc(job, 1, GetCurrentProcessId()); in test_BreakawayOk()
3020 test_assigned_proc(job, 1, GetCurrentProcessId()); in test_BreakawayOk()
3582 r = pProcessIdToSessionId(GetCurrentProcessId(), &session_id); in test_session_info()
3679 hproc = OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION, FALSE, GetCurrentProcessId()); in test_process_info()