共用方式為


CEL_MAPFLUSH_TYPE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

CEL_MAPFILE_FLUSH