# 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.

See Also

IOleCache2::DiscardCache