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