title: c# get system file cache size
body: <p>I'm trying to get the current system file cache size as shown below. However when I run this code nothing gets returned, can anybody see where I'm going wrong ? 
  FYI the link is <a href="http://msdn.microsoft.com/en-us/library/aa965224%28v=vs.85%29.aspx" rel="noreferrer">GetSystemFileCache</a>.</p>
  
  <pre><code>    [DllImport("kernel32", SetLastError = true, CharSet = CharSet.Unicode)]
      public static extern bool GetSystemFileCacheSize(
          ref IntPtr lpMinimumFileCacheSize,
          ref IntPtr lpMaximumFileCacheSize,
          ref IntPtr lpFlags
          );
  
      static void Main(string[] args)
      {            
          IntPtr lpMinimumFileCacheSize = IntPtr.Zero;
          IntPtr lpMaximumFileCacheSize = IntPtr.Zero;
          IntPtr lpFlags = IntPtr.Zero;
  
          bool b = GetSystemFileCacheSize(ref lpMinimumFileCacheSize, ref lpMaximumFileCacheSize, ref lpFlags);
      }
  </code></pre>