kzseattle
October 5th, 2005, 11:40 PM
I am trying to retrieve number of physical pages in the system. Apparently, GetSystemInfo doesn't return that information. ZwQuerySystemInformation requires loading ntdll.
Alternatively, I could get the size of physical memory and compute number of physical pages by knowing page size which is returned by GetSystemInfo. What function can I used to get the size of physical memory. Again, GetSystemInfo doesn't give us that information.
Alternatively, I could get the size of physical memory and compute number of physical pages by knowing page size which is returned by GetSystemInfo. What function can I used to get the size of physical memory. Again, GetSystemInfo doesn't give us that information.