Example #1
0
 public uint round_to_page(uint size)
 {
     Loader.SYSTEM_INFO sYSTEM_INFO = default(Loader.SYSTEM_INFO);
     Loader.GetSystemInfo(ref sYSTEM_INFO);
     return(sYSTEM_INFO.dwPageSize - size % sYSTEM_INFO.dwPageSize + size);
 }
Example #2
0
 private static extern void GetSystemInfo(ref Loader.SYSTEM_INFO lpSysInfo);