|
-
May 27th, 1999, 10:51 AM
#1
Need to monitor GDI resources
Hi,
I'm trying to monitor the GDI resources in Windows 95. The supplied "Resource Monitor" just displays the stats in percentages and updates too slow. I need to be able to monitor the available GDI resource amount in bytes and with a faster refresh rate.
I am currently using the MEMORYSTATUS structure along with a timer to find out how much physical memory is available thinking it would also go down when GDI resources go down...not so. Does anybody know how to calculate/determine the available GDI resources? Thanks.
typedef struct _MEMORYSTATUS { // mst
DWORD dwLength; // sizeof(MEMORYSTATUS)
DWORD dwMemoryLoad; // percent of memory in use
DWORD dwTotalPhys; // bytes of physical memory
DWORD dwAvailPhys; // free physical memory bytes
DWORD dwTotalPageFile; // bytes of paging file
DWORD dwAvailPageFile; // free bytes of paging file
DWORD dwTotalVirtual; // user bytes of address space
DWORD dwAvailVirtual; // free user bytes
} MEMORYSTATUS, *LPMEMORYSTATUS;
-
May 27th, 1999, 11:59 AM
#2
Re: Need to monitor GDI resources
Simon,
Check out MemWatcher at http://matrixsoftware.com.
/ravi
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|