MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / Close

Method Close

SampleFramework12/v1.00/FileIO.cpp:189–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189void 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
200void File::Read(uint64 size, void* data) const
201{

Callers

nothing calls this directly

Calls 1

Win32CallFunction · 0.85

Tested by

no test coverage detected