MCPcopy Create free account
hub / github.com/Scobalula/Greyhound / CascCloseFile

Function CascCloseFile

src/External/CascLib/src/CascOpenFile.cpp:443–456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

441}
442
443bool WINAPI CascCloseFile(HANDLE hFile)
444{
445 TCascFile * hf;
446
447 hf = TCascFile::IsValid(hFile);
448 if(hf != NULL)
449 {
450 delete hf;
451 return true;
452 }
453
454 SetCascError(ERROR_INVALID_HANDLE);
455 return false;
456}
457

Callers 7

ExtractFileFunction · 0.85
Storage_SeekFilesFunction · 0.85
OnlineStorage_TestFunction · 0.85
mainFunction · 0.85
LoadInternalFileToMemoryFunction · 0.85
~CascFileSystemMethod · 0.85
CloseHandleMethod · 0.85

Calls 1

SetCascErrorFunction · 0.85

Tested by 4

ExtractFileFunction · 0.68
Storage_SeekFilesFunction · 0.68
OnlineStorage_TestFunction · 0.68
mainFunction · 0.68