ReactOS 0.4.15-dev-5666-gc548b97
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 throw ()
 
- Public Member Functions inherited from ATL::CAtlFileMappingBase
 CAtlFileMappingBase () throw ()
 
 ~CAtlFileMappingBase () throw ()
 
 CAtlFileMappingBase (CAtlFileMappingBase &orig)
 
CAtlFileMappingBaseoperator= (CAtlFileMappingBase &orig)
 
HRESULT CopyFrom (CAtlFileMappingBase &orig) throw ()
 
HRESULT MapFile (HANDLE hFile, SIZE_T nMappingSize=0, ULONGLONG nOffset=0, DWORD dwMappingProtection=PAGE_READONLY, DWORD dwViewDesiredAccess=FILE_MAP_READ) throw ()
 
HRESULT MapSharedMem (SIZE_T nMappingSize, LPCTSTR szName, BOOL *pbAlreadyExisted=NULL, LPSECURITY_ATTRIBUTES lpsa=NULL, DWORD dwMappingProtection=PAGE_READWRITE, DWORD dwViewDesiredAccess=FILE_MAP_ALL_ACCESS) throw ()
 
HRESULT OpenMapping (LPCTSTR szName, SIZE_T nMappingSize, ULONGLONG nOffset=0, DWORD dwViewDesiredAccess=FILE_MAP_ALL_ACCESS) throw ()
 
HRESULT Unmap () throw ()
 
voidGetData () const throw ()
 
HANDLE GetHandle () throw ()
 
SIZE_T GetMappingSize () throw ()
 

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
throw (
)
inline

Definition at line 274 of file atlfile.h.

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

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