Getting Free System Resources in Win32 (VC++ v4)
Posted on 1997-05-07
We would like to determine the amount of free "System Resources" under Windows 95 and Windows NT (32 bit Windows under Visual C++ 4).
Under 16 bit Windows (Visual C++ 1.52) we use the function "GetFreeSystemResources" with the "GFSR_SYSTEMRESOURCES" paramater, however this function is not supported in Win32.
We tried using the "GlobalMemoryStatus" function and retrieved the dwMemoryLoad variable, however it is not the same as the System Resources (as displayed under Control Panel -> System -> Perfomance, or the Resource Meter "rsrcmtr.exe") and is not the information that we require.