Compartilhar via


CEL_MAPFILE_VIEW_OPEN (Windows CE 5.0)

Send Feedback

This structure is logged when MapViewOfFile maps a view of a file into the address space of a process.

typedef struct __CEL_MAPFILE_VIEW_OPEN { 
  HANDLE hMap;  HANDLE  hProcess;
  DWORD  dwDesiredAccess;
  DWORD  dwFileOffset;
  DWORD  dwLen;
  LPVOID  lpBaseAddress;
} CEL_MAPFILE_VIEW_OPEN, *CEL_MAPFILE_VIEW_OPEN;

Members

  • hMap
    Handle of the file-mapping object.
  • hProcess
    Specifies the handle of the process that called MapViewOfFile.
  • dwDesiredAccess
    Specifies the type of access to the file view, and therefore the protection of the pages mapped by the file. The following table shows possible values for this parameter.
    Value Description
    FILE_MAP_WRITE Specifies read-write access. The hFileMappingObject parameter must have been created with PAGE_READWRITE protection. A read-write view of the file is mapped.
    FILE_MAP_READ Specifies read-only access. The hFileMappingObject parameter must have been created with PAGE_READWRITE or PAGE_READONLY protection. A read-only view of the file is mapped.
    FILE_MAP_ALL_ACCESS Same as FILE_MAP_WRITE.
  • dwFileOffset
    Specifies the file offset where mapping is to begin.
  • dwLen
    Length in bytes of range being mapped.
  • lpBaseAddress
    The starting address of the mapped view. This value is returned by MapViewOfFile.

Requirements

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

See Also

MapViewOfFile | CEL_MAPFILE_VIEW_CLOSE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.