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

Method GetPointer

sourcecommon/File.cpp:143–152  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

141}
142//---------------------------------------------------------------------------
143LONG __fastcall TFile::GetPointer(void)
144{
145 if( ! handle ) return NULL;
146 LastError = 0;
147 DWORD i = SetFilePointer(handle, 0, NULL, FILE_CURRENT);
148 Error = (i == 0xFFFFFFFF);
149 if( Error ) LastError = GetLastError();
150 if( Exceptions && Error ) throw 0;
151 return i;
152}
153//---------------------------------------------------------------------------
154DWORD __fastcall TFile::GetSize(void)
155{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected