CEL_MAPFILE_VIEW_OPEN (Windows Embedded CE 6.0)
1/6/2010
This structure is logged when MapViewOfFile maps a view of a file into the address space of a process.
Syntax
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
Header | celog.h |
Windows Embedded CE | Windows CE 5.0 and later |
See Also
Reference
CeLog Event Tracking Structures
CEL_MAPFILE_VIEW_CLOSE