api function for requesting the amount of free memory needed

Ralf Habacker kde-cygwin@mail.kde.org
Fri, 7 Feb 2003 16:11:05 +0100


> > It would be nice if someone could give me a hint, which function
> > could be used.
> >
> > See http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/kde-cygwin/tools/fillmem/
for
> > further informations.
>
> See BOOL GlobalMemoryStatusEx(
>   LPMEMORYSTATUSEX lpBuffer
> );
>

Thank for this pointer. I have added this already to the tools/fillmem cvs
sources.

The msdn says, that this only work with w2k and above. Do you know if this
function is also available in winnt and win9x ?
Ralf