3 references to GetCurrentProcessId
System (3)
services\monitoring\system\diagnosticts\Process.cs (1)
1625return new Process(".", false, NativeMethods.GetCurrentProcessId(), null);
services\monitoring\system\diagnosticts\ProcessManager.cs (1)
613hCurProcess = ProcessManager.OpenProcess(NativeMethods.GetCurrentProcessId(), NativeMethods.PROCESS_QUERY_INFORMATION, true);
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (1)
51int pid = NativeMethods.GetCurrentProcessId();