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

Function CascOpenOnlineStorage

src/External/CascLib/src/CascOpenStorage.cpp:1479–1485  ·  view source on GitHub ↗

Opens an online CDN storage szParams: "local_cache_path[:cdn_url]:code_name:region", e.g. "C:\\Cache:wowt:us" local_cache_path Local folder, where the online file will be cached. cdn_url URL of the custom CDN server. Can also contain port. This parameter is optional. Example: http://eu.custom-wow-cdn.com:8000 code_name Product code name, e.g. "agent" for Battle.net Agent

Source from the content-addressed store, hash-verified

1477// Corresponds to the first column of the "versions" file.
1478//
1479bool WINAPI CascOpenOnlineStorage(LPCTSTR szParams, DWORD dwLocaleMask, HANDLE * phStorage)
1480{
1481 CASC_OPEN_STORAGE_ARGS OpenArgs = {sizeof(CASC_OPEN_STORAGE_ARGS)};
1482
1483 OpenArgs.dwLocaleMask = dwLocaleMask;
1484 return CascOpenStorageEx(szParams, &OpenArgs, true, phStorage);
1485}
1486
1487bool WINAPI CascGetStorageInfo(
1488 HANDLE hStorage,

Callers

nothing calls this directly

Calls 1

CascOpenStorageExFunction · 0.85

Tested by

no test coverage detected