Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CMemoryState::Difference
                                              Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  BOOL   Difference( const CMemoryState& oldState,
                     const CMemoryState& newState );
 
  Parameter   Description
 
  <oldState>  The initial memory state, as defined by a CMemoryState
              checkpoint.
 
  <newState>  The new memory state, as defined by a CMemoryState
              checkpoint.
 
  Remarks
 
  Compares two checkpointed CMemoryState objects, then stores the
  difference into this CMemoryState object. Checkpoint must have been
  called for each of the two memory-state parameters.
 
  Example
 
  See the example for the CMemoryState constructor.
 
 
                                     -♦-