CascLib API Reference
bool WINAPI CascCloseStorage( HANDLE hStorage // Handle to an open storage );
On success, the function returns true.
On failure, the function returns false and GetLastError() returns the error code.
Storage handles are reference counted. Each file opened within the storage and also each search opened within storage increments number of references. Thus, closing a storage while a file is open does not actually destroy the opened storage.
Copyright (c) Ladislav Zezula 2019