MCPcopy Create free account
hub / github.com/Ahli/Galaxy-Observer-UI / CleanUp

Function CleanUp

tools/CascExtractor/CascExtractor/CascExtractor.cpp:134–138  ·  view source on GitHub ↗

Cleans up the Storage and the Find. Returns the specified EXIT_code. EXIT_code when cleaning up was successful HANDLE of the Storage HANDLE of the Find EXIT_FAILURE code when cleaning up encountered a problem. Else the specified exitCode is returned.

Source from the content-addressed store, hash-verified

132/// <param name="hFind">HANDLE of the Find</param>
133/// <returns>EXIT_FAILURE code when cleaning up encountered a problem. Else the specified exitCode is returned.</returns>
134static int CleanUp(int exitCode, HANDLE hStorage, HANDLE hFind) noexcept {
135 bool result = CleanUpFind(hFind);
136 result = CleanUpStorage(hStorage) || result;
137 return !result ? EXIT_FAILURE : exitCode;
138}
139
140/// <summary>
141///

Callers 1

mainFunction · 0.85

Calls 2

CleanUpFindFunction · 0.85
CleanUpStorageFunction · 0.85

Tested by

no test coverage detected