MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / MappedViewOfFile

Method MappedViewOfFile

Win32Lib/Win32Lib.cpp:356–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354
355
356MappedViewOfFile::MappedViewOfFile(HANDLE hFileMappingObject, DWORD access, DWORD offsetHigh, DWORD offsetLow, size_t bytesToMap) :
357 m_ptr(::MapViewOfFile(hFileMappingObject, access, offsetHigh, offsetLow, bytesToMap))
358{
359 if (m_ptr == nullptr)
360 ThrowLastError("MapViewOfFile");
361}
362
363MappedViewOfFile::~MappedViewOfFile()
364{

Callers

nothing calls this directly

Calls 1

ThrowLastErrorFunction · 0.85

Tested by

no test coverage detected