MCPcopy Create free account
hub / github.com/NoMercy-ac/NoMercy / Unmap

Method Unmap

Source/Client/NM_Engine/MappedFile.cpp:192–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192bool CMappedFile::Unmap(LPCVOID data)
193{
194 if (!UnmapViewOfFile(data))
195 {
196 m_lpData = NULL;
197
198 DEBUG_LOG(LL_ERR, "UnmapViewOfFile fail! File name: %s", m_filename);
199 return false;
200 }
201
202 m_lpData = NULL;
203 return true;
204}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected