CascLib API Reference
CascOpenStorage, CascOpenOnlineStorage
bool WINAPI CascOpenStorage( LPCTSTR szParams, // Parameters of a local storage DWORD dwLocaleMask, // Locale mask. Only used for World of Warcraft storages. HANDLE * phStorage // Pointer to a HANDLE variable that receives storage handle on success ); bool WINAPI CascOpenOnlineStorage( LPCTSTR szParams, // Parameters of an online storage DWORD dwLocaleMask, // Locale mask. Only used for World of Warcraft storages. HANDLE * phStorage // Pointer to a HANDLE variable that receives storage handle on success );
Functions CascOpenStorage and CascOpenOnlineStorage open a CASC storage. Both functions are merely stubs for CascOpenStorageEx.
C:\Games\World of Warcraft*wowt
local_cache_folder[*cdn_server_url]*code_name[*region]
Example1: C:\Cache*wow*eu
Example2: C:\Cache*http://myowncdn.com:8000*wow*eu
On success, the function returns true.
On failure, the function returns false and GetLastError() returns the error code.
Please, refer to CascOpenStorageEx documentation for more information.
Copyright (c) Ladislav Zezula 2019