CEL_MAPFILE_FLUSH

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

See Also

Reference

CEL_MAPFLUSH_TYPE

Other Resources

FlushViewOfFile