13 references to PROCESS_QUERY_INFORMATION
System (13)
services\monitoring\system\diagnosticts\Process.cs (9)
229handle = GetProcessHandle(NativeMethods.PROCESS_QUERY_INFORMATION | NativeMethods.SYNCHRONIZE, false); 296int access = NativeMethods.PROCESS_QUERY_INFORMATION; 730handle = GetProcessHandle(NativeMethods.PROCESS_QUERY_INFORMATION); 772handle = GetProcessHandle(NativeMethods.PROCESS_QUERY_INFORMATION); 903handle = GetProcessHandle(NativeMethods.PROCESS_QUERY_INFORMATION); 1435handle = GetProcessHandle(NativeMethods.PROCESS_QUERY_INFORMATION); 1701if (throwIfExited && (access & NativeMethods.PROCESS_QUERY_INFORMATION) != 0) { 1817handle = GetProcessHandle(NativeMethods.PROCESS_QUERY_INFORMATION | NativeMethods.PROCESS_SET_QUOTA); 2497handle = GetProcessHandle(NativeMethods.SYNCHRONIZE | NativeMethods.PROCESS_QUERY_INFORMATION);
services\monitoring\system\diagnosticts\ProcessManager.cs (2)
579processHandle = ProcessManager.OpenProcess(processId, NativeMethods.PROCESS_QUERY_INFORMATION | NativeMethods.PROCESS_VM_READ, true); 613hCurProcess = ProcessManager.OpenProcess(NativeMethods.GetCurrentProcessId(), NativeMethods.PROCESS_QUERY_INFORMATION, true);
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (2)
60using (SafeProcessHandle procHandle = SafeProcessHandle.OpenProcess(NativeMethods.PROCESS_QUERY_INFORMATION, false, pid)) { 1212using (SafeProcessHandle procHandle = SafeProcessHandle.OpenProcess(NativeMethods.PROCESS_QUERY_INFORMATION, false, pid)) {