DISCARDCACHE enumeration (oleidl.h)

Specifies what to do with caches that are to be discarded from memory if their dirty bit has been set.

Syntax

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

Constants

 
DISCARDCACHE_SAVEIFDIRTY
Value: 0
The cache is to be saved to disk.
DISCARDCACHE_NOSAVE
Value: 1
The cache can be discarded without saving it.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header oleidl.h

See also

IOleCache2::DiscardCache