---------------------------------------------------------------------------
| 141 | } |
| 142 | //--------------------------------------------------------------------------- |
| 143 | LONG __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 | //--------------------------------------------------------------------------- |
| 154 | DWORD __fastcall TFile::GetSize(void) |
| 155 | { |
nothing calls this directly
no outgoing calls
no test coverage detected