次の方法で共有


CEL_MAPFILE_FLUSH (Compact 2013)

3/28/2014

This structure is logged when a mapped view of a file is flushed by FlushViewOfFile.

Syntax

typedef struct __CEL_MAPFILE_FLUSH { 
  LPVOID lpBaseAddress;
  DWORD  dwLen;
  WORD   wFlushFlags;
  WORD   wNumPages;
} CEL_MAPFILE_FLUSH, *PCEL_MAPFILE_FLUSH;

Members

  • lpBaseAddress
    Pointer to the base address of the byte range to be flushed to the disk representation of the mapped file.
  • dwLen
    Specifies the number of bytes to flush. This parameter cannot be set to zero. .
  • wFlushFlags
    Flags and flush types. This value is a bitmask of one value enumerated in CEL_MAPFLUSH_TYPE, plus 0 or more of the following flags.

    Flag

    Description

    CEL_MAPFLUSH_BEGIN

    Set to 0x00000010 on the event that marks the beginning of a flush and cleared on end.

    CEL_MAPFLUSH_FULLDISCARD

    Set to 0x00000020 if all pages are de-committed.

    CEL_MAPFLUSH_NOWRITEOUT

    Set to 0x00000040 if dirty pages are not flushed, but clean pages may be de-committed.

  • wNumPages
    Number of modified pages that were written to the file.

Requirements

Header

celog.h

See Also

Reference

CeLog Event Tracking Structures
CEL_MAPFLUSH_TYPE

Other Resources

FlushViewOfFile