UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMappedFileHandleWindows Class Referencefinal
+ Inheritance diagram for FMappedFileHandleWindows:

Public Member Functions

 FMappedFileHandleWindows (HANDLE InHandle, HANDLE InMappingHandle, int64 Size, const TCHAR *InDebugFilename)
 
 ~FMappedFileHandleWindows ()
 
virtual IMappedFileRegionMapRegion (int64 Offset=0, int64 BytesToMap=MAX_int64, FFileMappingFlags Flags=EMappedFileFlags::ENone) override
 
void UnMap (FMappedFileRegionWindows *Region)
 
- Public Member Functions inherited from IMappedFileHandle
 IMappedFileHandle (size_t InFileSize)
 
virtual ~IMappedFileHandle ()
 
UE_FORCEINLINE_HINT int64 GetFileSize () const
 
virtual void Flush (void)
 
 IMappedFileHandle (const IMappedFileHandle &)=delete
 
IMappedFileHandleoperator= (const IMappedFileHandle &)=delete
 

Constructor & Destructor Documentation

◆ FMappedFileHandleWindows()

FMappedFileHandleWindows::FMappedFileHandleWindows ( HANDLE  InHandle,
HANDLE  InMappingHandle,
int64  Size,
const TCHAR InDebugFilename 
)
inline

◆ ~FMappedFileHandleWindows()

FMappedFileHandleWindows::~FMappedFileHandleWindows ( )
inline

Member Function Documentation

◆ MapRegion()

virtual IMappedFileRegion * FMappedFileHandleWindows::MapRegion ( int64  Offset = 0,
int64  BytesToMap = MAX_int64,
FFileMappingFlags  Flags = EMappedFileFlags::ENone 
)
inlineoverridevirtual

Map a region of the file.

Parameters
OffsetOffset into the file to start mapping.
BytesToMapNumber of bytes to map. Clamped to the size of the file.
FlagsA combination of EMappingFlags values
Returns
the mapped region interface. Returns nullptr on failure.

Implements IMappedFileHandle.

◆ UnMap()

void FMappedFileHandleWindows::UnMap ( FMappedFileRegionWindows Region)
inline

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