Compartilhar via


CEL_MAPFILE_FLUSH (Windows CE 5.0)

Send Feedback

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

typedef struct __CEL_MAPFILE_FLUSH {LPVOIDlpBaseAddress;  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

OS Versions: Windows CE 5.0 and later.
Header: Celog.h.

See Also

FlushViewOfFile | CEL_MAPFLUSH_TYPE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.