[This is preliminary documentation and subject to change.]
VLM applications tend to be very memory intensive. They can unnecessarily deprive other applications of memory. To avoid doing so, your application should call the GlobalMemoryStatusVlm function. This function fills the members of a MEMORYSTATUSVLM structure. The dwMemoryLoad member and other members of this structure indicate current total memory usage.