DISCARDCACHE

The DISCARDCACHE enumeration values are used in the IOleCache2::DiscardCache method to specify what to do with caches that are to be discarded from memory if their dirty bit has been set. The dwDiscardOptions parameter specifies whether or not to save these caches.

Defined in the

typedef enum tagDISCARDCACHE 
{ 
    DISCARDCACHE_SAVEIFDIRTY    = 0, 
    DISCARDCACHE_NOSAVE         = 1 
} DISCARDCACHE; 
 

Elements

DISCARDCACHE_SAVEIFDIRTY
The cache is to be saved to disk.
DISCARDCACHE_NOSAVE
The cache can be discarded without saving it.

QuickInfo

  Windows NT: Use version 3.1 and later.
  Windows: Use Windows 95 and later.
  Windows CE: Unsupported.
  Header: Declared in oleidl.h.

See Also

IOleCache2::DiscardCache