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