4 references to SafeProcessHandle
aspire (2)
Processes\IsolatedProcess.Windows.cs (2)
109SafeProcessHandle? processHandle = new(pi.hProcess, ownsHandle: true); 229SafeProcessHandle? processHandle = new(pi.hProcess, ownsHandle: true);
PresentationCore (1)
MS\Internal\DpiUtil\DpiUtil+ProcessDpiAwarenessHelper.cs (1)
103using (var hProcess = new SafeProcessHandle(UnsafeNativeMethods.OpenProcess(NativeMethods.PROCESS_ALL_ACCESS, false, windowThreadProcessId), true))
System.Diagnostics.Process (1)
Microsoft\Win32\SafeHandles\SafeProcessHandle.cs (1)
44: this(handle, true)