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

Function CascOpenStorage

src/External/CascLib/src/CascOpenStorage.cpp:1458–1464  ·  view source on GitHub ↗

Opens a local CASC storage szParams: "local_path:code_name", like "C:\\Games\\World of Warcraft:wowt" local_path Local folder, where the online file will be cached. code_name: Product code name, e.g. "agent" for Battle.net Agent. More info: https://wowdev.wiki/TACT#Products

Source from the content-addressed store, hash-verified

1456// More info: https://wowdev.wiki/TACT#Products
1457//
1458bool WINAPI CascOpenStorage(LPCTSTR szParams, DWORD dwLocaleMask, HANDLE * phStorage)
1459{
1460 CASC_OPEN_STORAGE_ARGS OpenArgs = {sizeof(CASC_OPEN_STORAGE_ARGS)};
1461
1462 OpenArgs.dwLocaleMask = dwLocaleMask;
1463 return CascOpenStorageEx(szParams, &OpenArgs, false, phStorage);
1464}
1465
1466//
1467// Opens an online CDN storage

Callers 3

LocalStorage_TestFunction · 0.85
SpeedStorage_TestFunction · 0.85
CascFileSystemMethod · 0.85

Calls 1

CascOpenStorageExFunction · 0.85

Tested by 2

LocalStorage_TestFunction · 0.68
SpeedStorage_TestFunction · 0.68