![]() |
TrinityCore
|
#include "CascPort.h"
Include dependency graph for CascLib.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | _QUERY_KEY |
| struct | _CASC_FIND_DATA |
Typedefs | |
| typedef enum _CASC_STORAGE_INFO_CLASS | CASC_STORAGE_INFO_CLASS |
| typedef enum _CASC_STORAGE_INFO_CLASS * | PCASC_STORAGE_INFO_CLASS |
| typedef struct _QUERY_KEY | QUERY_KEY |
| typedef struct _QUERY_KEY * | PQUERY_KEY |
| typedef struct _CASC_FIND_DATA | CASC_FIND_DATA |
| typedef struct _CASC_FIND_DATA * | PCASC_FIND_DATA |
| typedef struct TFileStream | TFileStream |
| typedef void(WINAPI * | STREAM_DOWNLOAD_CALLBACK )(void *pvUserData, ULONGLONG ByteOffset, DWORD dwTotalBytes) |
Enumerations | |
| enum | _CASC_STORAGE_INFO_CLASS { CascStorageFileCount, CascStorageFeatures, CascStorageGameInfo, CascStorageGameBuild, CascStorageInfoClassMax } |
Functions | |
| void | qsort_pointer_array (void **base, size_t num, int(*compare)(const void *, const void *, const void *), const void *context) |
| bool WINAPI | CascOpenStorage (const TCHAR *szDataPath, DWORD dwLocaleMask, HANDLE *phStorage) |
| bool WINAPI | CascGetStorageInfo (HANDLE hStorage, CASC_STORAGE_INFO_CLASS InfoClass, void *pvStorageInfo, size_t cbStorageInfo, size_t *pcbLengthNeeded) |
| bool WINAPI | CascCloseStorage (HANDLE hStorage) |
| bool WINAPI | CascOpenFileByIndexKey (HANDLE hStorage, PQUERY_KEY pIndexKey, DWORD dwFlags, HANDLE *phFile) |
| bool WINAPI | CascOpenFileByEncodingKey (HANDLE hStorage, PQUERY_KEY pEncodingKey, DWORD dwFlags, HANDLE *phFile) |
| bool WINAPI | CascOpenFile (HANDLE hStorage, const char *szFileName, DWORD dwLocale, DWORD dwFlags, HANDLE *phFile) |
| DWORD WINAPI | CascGetFileSize (HANDLE hFile, PDWORD pdwFileSizeHigh) |
| DWORD WINAPI | CascSetFilePointer (HANDLE hFile, LONG lFilePos, LONG *plFilePosHigh, DWORD dwMoveMethod) |
| bool WINAPI | CascReadFile (HANDLE hFile, void *lpBuffer, DWORD dwToRead, PDWORD pdwRead) |
| bool WINAPI | CascCloseFile (HANDLE hFile) |
| HANDLE WINAPI | CascFindFirstFile (HANDLE hStorage, const char *szMask, PCASC_FIND_DATA pFindData, const TCHAR *szListFile) |
| bool WINAPI | CascFindNextFile (HANDLE hFind, PCASC_FIND_DATA pFindData) |
| bool WINAPI | CascFindClose (HANDLE hFind) |
| int | GetLastError () |
| void | SetLastError (int nError) |
| #define BASE_PROVIDER_FILE 0x00000000 |
| #define BASE_PROVIDER_HTTP 0x00000002 |
| #define BASE_PROVIDER_MAP 0x00000001 |
| #define BASE_PROVIDER_MASK 0x0000000F |
| #define CASC_FEATURE_LISTFILE 0x00000001 |
| #define CASC_INVALID_POS 0xFFFFFFFF |
| #define CASC_INVALID_SIZE 0xFFFFFFFF |
| #define CASC_LOCALE_ALL 0xFFFFFFFF |
| #define CASC_LOCALE_BIT_DEDE 0x05 |
| #define CASC_LOCALE_BIT_ENCN 0x0A |
| #define CASC_LOCALE_BIT_ENGB 0x09 |
| #define CASC_LOCALE_BIT_ENTW 0x0B |
| #define CASC_LOCALE_BIT_ENUS 0x01 |
| #define CASC_LOCALE_BIT_ESES 0x07 |
| #define CASC_LOCALE_BIT_ESMX 0x0C |
| #define CASC_LOCALE_BIT_FRFR 0x04 |
| #define CASC_LOCALE_BIT_ITIT 0x0F |
| #define CASC_LOCALE_BIT_KOKR 0x02 |
| #define CASC_LOCALE_BIT_PTBR 0x0E |
| #define CASC_LOCALE_BIT_PTPT 0x10 |
| #define CASC_LOCALE_BIT_RURU 0x0D |
| #define CASC_LOCALE_BIT_ZHCN 0x06 |
| #define CASC_LOCALE_BIT_ZHTW 0x08 |
| #define CASC_LOCALE_DEDE 0x00000020 |
| #define CASC_LOCALE_DUAL_LANG 0x03 |
| #define CASC_LOCALE_ENCN 0x00000400 |
| #define CASC_LOCALE_ENGB 0x00000200 |
| #define CASC_LOCALE_ENTW 0x00000800 |
| #define CASC_LOCALE_ENUS 0x00000002 |
| #define CASC_LOCALE_ESES 0x00000080 |
| #define CASC_LOCALE_ESMX 0x00001000 |
| #define CASC_LOCALE_FRFR 0x00000010 |
| #define CASC_LOCALE_ITIT 0x00008000 |
| #define CASC_LOCALE_KOKR 0x00000004 |
| #define CASC_LOCALE_NONE 0x00000000 |
| #define CASC_LOCALE_PTBR 0x00004000 |
| #define CASC_LOCALE_PTPT 0x00010000 |
| #define CASC_LOCALE_RESERVED 0x00000008 |
| #define CASC_LOCALE_RURU 0x00002000 |
| #define CASC_LOCALE_UNKNOWN1 0x00000001 |
| #define CASC_LOCALE_ZHCN 0x00000040 |
| #define CASC_LOCALE_ZHTW 0x00000100 |
| #define CASC_OPEN_BY_ENCODING_KEY 0x00000001 |
| #define CASC_STOR_XXXXX 0x00000001 |
| #define CASCLIB_VERSION 0x0100 |
| #define CASCLIB_VERSION_STRING "1.00" |
| #define ERROR_FILE_INCOMPLETE 10006 |
| #define ERROR_UNKNOWN_FILE_KEY 10001 |
| #define LANG_NEUTRAL 0x00 |
| #define MAX_CASC_KEY_LENGTH 0x10 |
| #define MD5_HASH_SIZE 0x10 |
| #define MD5_STRING_SIZE 0x20 |
| #define SHA1_DIGEST_SIZE 0x14 |
| #define STREAM_FLAG_READ_ONLY 0x00000100 |
| #define STREAM_FLAG_USE_BITMAP 0x00000400 |
| #define STREAM_FLAG_WRITE_SHARE 0x00000200 |
| #define STREAM_FLAGS_MASK 0x0000FFFF |
| #define STREAM_OPTIONS_MASK 0x0000FF00 |
| #define STREAM_PROVIDER_BLOCK4 0x00000030 |
| #define STREAM_PROVIDER_ENCRYPTED 0x00000020 |
| #define STREAM_PROVIDER_FLAT 0x00000000 |
| #define STREAM_PROVIDER_MASK 0x000000F0 |
| #define STREAM_PROVIDER_PARTIAL 0x00000010 |
| #define STREAM_PROVIDERS_MASK 0x000000FF |
| typedef struct _CASC_FIND_DATA CASC_FIND_DATA |
| typedef enum _CASC_STORAGE_INFO_CLASS CASC_STORAGE_INFO_CLASS |
| typedef struct _CASC_FIND_DATA * PCASC_FIND_DATA |
| typedef enum _CASC_STORAGE_INFO_CLASS * PCASC_STORAGE_INFO_CLASS |
| typedef struct _QUERY_KEY * PQUERY_KEY |
| typedef struct _QUERY_KEY QUERY_KEY |
| typedef void(WINAPI * STREAM_DOWNLOAD_CALLBACK)(void *pvUserData, ULONGLONG ByteOffset, DWORD dwTotalBytes) |
| typedef struct TFileStream TFileStream |
| Enumerator | |
|---|---|
| CascStorageFileCount | |
| CascStorageFeatures | |
| CascStorageGameInfo | |
| CascStorageGameBuild | |
| CascStorageInfoClassMax | |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:| HANDLE WINAPI CascFindFirstFile | ( | HANDLE | hStorage, |
| const char * | szMask, | ||
| PCASC_FIND_DATA | pFindData, | ||
| const TCHAR * | szListFile | ||
| ) |
Here is the call graph for this function:| bool WINAPI CascFindNextFile | ( | HANDLE | hFind, |
| PCASC_FIND_DATA | pFindData | ||
| ) |
Here is the call graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| bool WINAPI CascGetStorageInfo | ( | HANDLE | hStorage, |
| CASC_STORAGE_INFO_CLASS | InfoClass, | ||
| void * | pvStorageInfo, | ||
| size_t | cbStorageInfo, | ||
| size_t * | pcbLengthNeeded | ||
| ) |
Here is the call graph for this function:| bool WINAPI CascOpenFile | ( | HANDLE | hStorage, |
| const char * | szFileName, | ||
| DWORD | dwLocale, | ||
| DWORD | dwFlags, | ||
| HANDLE * | phFile | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| bool WINAPI CascOpenFileByEncodingKey | ( | HANDLE | hStorage, |
| PQUERY_KEY | pEncodingKey, | ||
| DWORD | dwFlags, | ||
| HANDLE * | phFile | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| bool WINAPI CascOpenFileByIndexKey | ( | HANDLE | hStorage, |
| PQUERY_KEY | pIndexKey, | ||
| DWORD | dwFlags, | ||
| HANDLE * | phFile | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| DWORD WINAPI CascSetFilePointer | ( | HANDLE | hFile, |
| LONG | lFilePos, | ||
| LONG * | plFilePosHigh, | ||
| DWORD | dwMoveMethod | ||
| ) |
Here is the call graph for this function:| int GetLastError | ( | ) |
Here is the caller graph for this function:| void qsort_pointer_array | ( | void ** | base, |
| size_t | num, | ||
| int(*)(const void *, const void *, const void *) | compare, | ||
| const void * | context | ||
| ) |
| void SetLastError | ( | int | nError | ) |
Here is the caller graph for this function:
1.8.8