4 references to SafeProcessHandle
aspire (2)
Processes\IsolatedProcess.Windows.cs (2)
109
SafeProcessHandle? processHandle =
new
(pi.hProcess, ownsHandle: true);
229
SafeProcessHandle? processHandle =
new
(pi.hProcess, ownsHandle: true);
PresentationCore (1)
MS\Internal\DpiUtil\DpiUtil+ProcessDpiAwarenessHelper.cs (1)
103
using (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)