CAtlFileMappingBase Class
TOC
Collapse the table of content
Expand the table of content

CAtlFileMappingBase Class

 

This class represents a memory-mapped file.

System_CAPS_importantImportant

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.

Requirements

Header: atlfile.h

Show:
© 2016 Microsoft