Thanks for the url.
I got this far but it does not aseem to work.
Also SystemInfo is not returning expected results.
Any suggestions???
[DllImport("coredll", SetLastError = true)]
private static extern bool GetSystemMemoryDivision(ref int storage, ref int
ram, ref int pageSize);
[DllImport("coredll", SetLastError = true)]
private static extern bool SetSystemMemoryDivision(int pages);
public bool SetMinStorage()
{
OpenNETCF.WindowsCE.SystemInfo si = new OpenNETCF.WindowsCE.SystemInfo();
int test = si.NumberOfProcessors;
int pageSize = si.PageSize;
return SetSystemMemoryDivision(pageSize * 4);
}