| 354 | |
| 355 | |
| 356 | MappedViewOfFile::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 | |
| 363 | MappedViewOfFile::~MappedViewOfFile() |
| 364 | { |
nothing calls this directly
no test coverage detected