[GD-Windows] How to determine total physical memory available ?
Brought to you by:
vexxed72
From: Yannick L. <yle...@ub...> - 2004-01-26 19:47:18
|
I need to determine how much memory is installed on the user's system somehow. I used GlobalMemoryStatus but the values returned in the member = dwTotalPhys is always underestimating a bit. For example on my dev machine it = returns 1022 MB although I have 1024 MB installed. Same thing happens on all systems I've tested. Same thing is reported in dxdiag.exe so they seem to use that function = as well. However, when I use the System Information tool in the system tools of Windows, it correctly reports 1024 MB. So anyone knows how I can get the exact information ? Yannick L=E9tourneau UBISOFT |