MCPcopy Create free account
hub / github.com/diasurgical/devilution / SFileFindClose

Function SFileFindClose

3rdParty/StormLib/src/SFileFindFile.cpp:468–481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

466}
467
468bool STORMAPI SFileFindClose(HANDLE hFind)
469{
470 TMPQSearch * hs = IsValidSearchHandle(hFind);
471
472 // Check the parameters
473 if(hs == NULL)
474 {
475 SetLastError(ERROR_INVALID_HANDLE);
476 return false;
477 }
478
479 FreeMPQSearch(hs);
480 return true;
481}

Callers

nothing calls this directly

Calls 3

IsValidSearchHandleFunction · 0.85
SetLastErrorFunction · 0.85
FreeMPQSearchFunction · 0.85

Tested by

no test coverage detected