Beispiel #1
0
 public static uint getLowPart(uint size)
 {
     nativeStructs.SYSTEM_INFO info = new nativeStructs.SYSTEM_INFO();
     nativeStructs.GetSystemInfo(ref info);
     return((info.dwPageSize - size % info.dwPageSize) + size);
 }
Beispiel #2
0
 public static extern void GetSystemInfo(ref nativeStructs.SYSTEM_INFO lpSysInfo);