4 references to UnsafeNativeMethods
System.Runtime.Caching (4)
System\Caching\MemoryMonitor.cs (1)
45
if (
UnsafeNativeMethods
.GlobalMemoryStatusEx(ref memoryStatusEx) != 0) {
System\Caching\PerfCounters.cs (1)
46
if (
UnsafeNativeMethods
.GetModuleFileName(IntPtr.Zero, sb, 512) != 0) {
System\Caching\PhysicalMemoryMonitor.cs (1)
112
if (
UnsafeNativeMethods
.GlobalMemoryStatusEx(ref memoryStatusEx) == 0)
System\Caching\SafeRegistryHandle.cs (1)
24
int r =
UnsafeNativeMethods
.RegCloseKey(handle);