Thread View: comp.lang.basic.visual
1 messages
1 total messages
Started by John Panzo
Wed, 21 Oct 1998 00:00
workstation memory status - user\gdi resources
Author: John Panzo
Date: Wed, 21 Oct 1998 00:00
Date: Wed, 21 Oct 1998 00:00
27 lines
1423 bytes
1423 bytes
Could someone share how to obtain the "USER Resources Free" and "GDI Resource Free" that is displayed in many Memory Status programs. I have written code using the following that displays some information, but not USER\GDI info. **************************************************************************** ****************** Declare Sub GlobalMemoryStatus Lib "kernel32" (lpBuffer As MEMORYSTATUS) Type MEMORYSTATUS dwLength As Long dwMemoryLoad As Long dwTotalPhys As Long dwAvailPhys As Long dwTotalPageFile As Long dwAvailPageFile As Long dwTotalVirtual As Long dwAvailVirtual As Long End Type blah, blah, blah **************************************************************************** ****************** Thanks in advance...
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads