---------------------------------------------------------------------------
| 152 | } |
| 153 | //--------------------------------------------------------------------------- |
| 154 | DWORD __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 | //--------------------------------------------------------------------------- |
| 170 | bool __fastcall TFile::SetPointer64(LONGLONG Dist, DWORD MoveMethod) |
| 171 | { |
nothing calls this directly
no outgoing calls
no test coverage detected