6 references to UnsafeNativeMethods
Microsoft.Extensions.Diagnostics.ResourceMonitoring (6)
Windows\Interop\JobObjectInfo.cs (6)
194
var processHandle =
UnsafeNativeMethods
.GetCurrentProcess();
197
_ =
UnsafeNativeMethods
.DuplicateHandle(processHandle,
208
_ =
UnsafeNativeMethods
.IsProcessInJob(realProcessHandle, jobHandle, out var processInJob);
211
_ =
UnsafeNativeMethods
.CloseHandle(realProcessHandle);
290
return
UnsafeNativeMethods
.CloseHandle(handle);
311
if (!
UnsafeNativeMethods
.QueryInformationJobObject(