DosMemAvail
Bindings: C, MASM
This call returns the size of the largest block of free memory.
DosMemAvail (MemAvailSize)
MemAvailSize (PULONG) - output
Address of the size of the largest free block of memory.
rc (USHORT) - return
Return code description is:
0 NO_ERROR
Remarks
DosMemAvail allows an application to determine how heavily used system
memory is at a particular time. The returned value is a "snapshot" that
may be valid only at the moment this function is issued and can be
expected to change at any time due to system activity.
This call can be used as an indicator for memory availability before a
call to DosAllocHuge is made.
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs