ReactOS 0.4.15-dev-7842-g558ab78
ATL::CAtlFileMapping< T > Class Template Reference

#include <atlfile.h>

Inheritance diagram for ATL::CAtlFileMapping< T >:
Collaboration diagram for ATL::CAtlFileMapping< T >:

Public Member Functions

 operator T* () const noexcept
 
- Public Member Functions inherited from ATL::CAtlFileMappingBase
 CAtlFileMappingBase () noexcept
 
 ~CAtlFileMappingBase () noexcept
 
 CAtlFileMappingBase (CAtlFileMappingBase &orig)
 
CAtlFileMappingBaseoperator= (CAtlFileMappingBase &orig)
 
HRESULT CopyFrom (CAtlFileMappingBase &orig) noexcept
 
HRESULT MapFile (HANDLE hFile, SIZE_T nMappingSize=0, ULONGLONG nOffset=0, DWORD dwMappingProtection=PAGE_READONLY, DWORD dwViewDesiredAccess=FILE_MAP_READ) noexcept
 
HRESULT MapSharedMem (SIZE_T nMappingSize, LPCTSTR szName, BOOL *pbAlreadyExisted=NULL, LPSECURITY_ATTRIBUTES lpsa=NULL, DWORD dwMappingProtection=PAGE_READWRITE, DWORD dwViewDesiredAccess=FILE_MAP_ALL_ACCESS) noexcept
 
HRESULT OpenMapping (LPCTSTR szName, SIZE_T nMappingSize, ULONGLONG nOffset=0, DWORD dwViewDesiredAccess=FILE_MAP_ALL_ACCESS) noexcept
 
HRESULT Unmap () noexcept
 
voidGetData () const noexcept
 
HANDLE GetHandle () throw ()
 
SIZE_T GetMappingSize () noexcept
 

Detailed Description

template<typename T = char>
class ATL::CAtlFileMapping< T >

Definition at line 270 of file atlfile.h.

Member Function Documentation

◆ operator T*()

template<typename T = char>
ATL::CAtlFileMapping< T >::operator T* ( ) const
inlinenoexcept

Definition at line 274 of file atlfile.h.

275 {
276 return reinterpret_cast<T*>(GetData());
277 }
void * GetData() const noexcept
Definition: atlfile.h:251
#define T
Definition: mbstring.h:31

The documentation for this class was generated from the following file: