Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CAtlFileMappingBase Class

This class represents a memory-mapped file.

Important note Important

This class and its members cannot be used in applications that execute in the Windows Runtime.

class CAtlFileMappingBase

Name

Description

CAtlFileMappingBase::CopyFrom

Call this method to copy from a file-mapping object.

CAtlFileMappingBase::GetData

Call this method to get the data from a file-mapping object.

CAtlFileMappingBase::GetHandle

Call this method to return the file handle.

CAtlFileMappingBase::GetMappingSize

Call this method to get the mapping size from a file-mapping object.

CAtlFileMappingBase::MapFile

Call this method to create a file-mapping object.

CAtlFileMappingBase::MapSharedMem

Call this method to create a file-mapping object that permits full access to all processes.

CAtlFileMappingBase::OpenMapping

Call this method to return a handle to the file-mapping object.

CAtlFileMappingBase::Unmap

Call this method to unmap a file-mapping object.

Name

Description

CAtlFileMappingBase::operator =

Sets the current file-mapping object to another file-mapping object.

File mapping is the association of a file's contents with a portion of the virtual address space of a process. This class provides methods for creating file-mapping objects that permit programs to easily access and share data.

For more information, see File Mapping in the Windows SDK.

Header: atlfile.h

Show:
© 2015 Microsoft