home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!sdd.hp.com!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!slahiri
- From: slahiri@magnus.acs.ohio-state.edu (Santanu Lahiri)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: Free System Resources problem
- Message-ID: <1992Sep11.145945.12860@magnus.acs.ohio-state.edu>
- Date: 11 Sep 92 14:59:45 GMT
- Sender: news@magnus.acs.ohio-state.edu
- Distribution: usa
- Organization: The Ohio State University
- Lines: 21
- Nntp-Posting-Host: top.magnus.acs.ohio-state.edu
-
- Hi, I am trying to calculate FSR values using MS SDK 3.1. I am using
- the GetFreeSystemResources call, but I have run into a problem. For some
- reason, the two calls
-
- nFSRSys = GetFreeSystemResources (GFSR_SYSTEMRESOURCES);
- nFSRGdi = GetFreeSystemResources (GFSR_GDIRESOURCES);
-
- always seem to return the same value. I have been checking the free memory
- available as well, and I am finding that even when that changes by some large
- amount, say about one megabyte, there is no change in the nFSRSys value. On
- the other hand, any time nFSRGdi changes, it is immediately reflected in
- nFSRSys as well. Can anyone confirm this? If this is as it should be, what
- exactly is GFSR_SYSTEMRESOURCES returning?
-
- Thanks.
-
-
- --
- Santanu
- -------------------------------------------------------------------------------
- :: cat flames > /nev/dull slahiri@magnus.acs.ohio-state.edu
-