Free/total RAM?
C / C++ / MFC
3
Posts
2
Posters
0
Views
1
Watching
-
Is there a Win32 API I can call to get the total physical RAM of the computer? It would also be nice to get "Available physical memory" as well, but that's not really a huge concern. But it probably involves using some awful API like WMI or PDH.
-
Is there a Win32 API I can call to get the total physical RAM of the computer? It would also be nice to get "Available physical memory" as well, but that's not really a huge concern. But it probably involves using some awful API like WMI or PDH.
-
Brilliant. I knew it had to be simple. I think I'll use both GlobalMemoryStatusEx() and GlobalMemoryStatus() to make sure I handle all Windows platforms cleanly.