Desktop Functions: Smart Device Functions:
|
Search Results for "SetSystemFileCacheSize" in [All]kernel32
static extern Int32 SetSystemFileCacheSize(IntPtr MinimumFileCacheSize, IntPtr MaximumFileCacheSize, File_Cache_Flags Flags);
Declare Function SetSystemFileCacheSize Lib "kernel32.dll" (TODO) As TODO
/// <summary>Flags for use with SetSystemFileCacheSize. Note that corresponding enable & disable are mutually exclusive and will fail.</summary>
public static void SetSystemFileCacheSize(ulong MinimumFileCacheSize, ulong MaximumFileCacheSize)
throw new InvalidOperationException("Minimum Size is Invalid - SetSystemFileCacheSize");
result = SetSystemFileCacheSize(new IntPtr((long)MinimumFileCacheSize), new IntPtr((long)MaximumFileCacheSize), flags);
result = SetSystemFileCacheSize(new IntPtr((int)MinimumFileCacheSize), new IntPtr((int)MaximumFileCacheSize), flags); |