| 187 | } |
| 188 | |
| 189 | void File::Close() |
| 190 | { |
| 191 | if(fileHandle == INVALID_HANDLE_VALUE) |
| 192 | return; |
| 193 | |
| 194 | // Close the file |
| 195 | Win32Call(CloseHandle(fileHandle)); |
| 196 | |
| 197 | fileHandle = INVALID_HANDLE_VALUE; |
| 198 | } |
| 199 | |
| 200 | void File::Read(uint64 size, void* data) const |
| 201 | { |
nothing calls this directly
no test coverage detected