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

Method Seek

Source/Client/NM_Engine/FileBase.cpp:72–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void CFileBase::Seek(DWORD offset)
73{
74 if (offset > m_dwSize)
75 offset = m_dwSize;
76
77 SetFilePointer(m_hFile, offset, NULL, FILE_BEGIN);
78}
79
80DWORD CFileBase::GetPosition()
81{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected