home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / mswindo / programm / misc / 1816 < prev    next >
Encoding:
Text File  |  1992-09-13  |  931 b   |  29 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!microsoft!hexnut!judej
  3. From: judej@microsoft.com (Jude Jacob)
  4. Subject: Re: Free System Resources problem
  5. Message-ID: <1992Sep14.011118.10927@microsoft.com>
  6. Date: 14 Sep 92 01:11:18 GMT
  7. Organization: Microsoft Corporation
  8. References: <1992Sep11.145945.12860@magnus.acs.ohio-state.edu>
  9. Distribution: usa
  10. Lines: 17
  11.  
  12. In article  slahiri@magnus.acs.ohio-state.edu (Santanu Lahiri) writes:
  13. >[...]
  14. >nFSRSys = GetFreeSystemResources (GFSR_SYSTEMRESOURCES);
  15. >nFSRGdi = GetFreeSystemResources (GFSR_GDIRESOURCES);
  16. >
  17. >always seem to return the same value
  18. >[...] Can anyone confirm this?  If this is as it should be, what
  19. >exactly is GFSR_SYSTEMRESOURCES returning?
  20.  
  21. GFSR_SYSTEMRESOURCES will return the minimum of the space free in GDI and 
  22. space free in the USER heap. So, it would apear that in your system, you have 
  23. less available GDI heap space than USER space.
  24.  
  25. Jude
  26.  
  27.  
  28.  
  29.