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