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
| 1477 | // Corresponds to the first column of the "versions" file. |
| 1478 | // |
| 1479 | bool 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 | |
| 1487 | bool WINAPI CascGetStorageInfo( |
| 1488 | HANDLE hStorage, |
nothing calls this directly
no test coverage detected