MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / GetSize

Method GetSize

sourcecommon/File.cpp:154–168  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

152}
153//---------------------------------------------------------------------------
154DWORD __fastcall TFile::GetSize(void)
155{
156 if( ! handle ) return NULL;
157 LastError = 0;
158 Error = false;
159 DWORD i = GetFileSize(handle, NULL);
160 if( i == INVALID_FILE_SIZE )
161 {
162 Error = true;
163 i = 0;
164 }
165 if( Error ) LastError = GetLastError();
166 if( Exceptions && Error ) throw 0;
167 return i;
168}
169//---------------------------------------------------------------------------
170bool __fastcall TFile::SetPointer64(LONGLONG Dist, DWORD MoveMethod)
171{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected