次の方法で共有


CEL_MAPFLUSH_TYPE (Compact 2013)

3/28/2014

This enumeration specifies flags that can be set in the wFlushFlags field of the CELID_MAPFILE_FLUSH event.

Syntax

typedef enum {
    CEL_INVALID_MAPFLUSH    = 0,
    CEL_FlushMapSimple      = 1,
    CEL_FlushMapAtomic      = 2,
    CEL_ValidateFile        = 3,
    CEL_FlushMapGather      = 4,
    CEL_NUM_MAPFLUSH_TYPES
} CEL_MAPFLUSH_TYPE;

Elements

  • CEL_INVALID_MAPFLUSH
    An error occurred during the flush.
  • CEL_FlushMapSimple
    The view was flushed a page at a time.
  • CEL_FlushMapAtomic
    The view was flushed in a transacted manner, so that an interruption during the flush could not corrupt the file.
  • CEL_ValidateFile
    The flush committed or rolled back a previously incomplete atomic flush.
  • CEL_FlushMapGather
    All of the pages in the view were flushed together by a call to WriteFileGather.
  • CEL_NUM_MAPFLUSH_TYPES
    Count of types

Remarks

You can use the CEL_NUM_MAPFLUSH_TYPES value to represent the number of elements in the CEL_MAPFLUSH_TYPE enumeration.

Requirements

Header

celog.h

See Also

Reference

CeLog Event Tracking Structures
CEL_MAPFILE_FLUSH