490 LPBYTE pbRootFileEnd = pbRootFile + cbRootFile;
499 if(pRootHandler ==
NULL)
511 pRootHandler->
Dump = TRootHandlerWoW6_Dump;
TRootHandler * pRootHandler
Definition: CascCommon.h:223
Definition: CascRootFile_WoW6.cpp:65
static void WowHandler_Close(TRootHandler_WoW6 *pRootHandler)
Definition: CascRootFile_WoW6.cpp:409
#define CASC_ALLOC(type, count)
Definition: CascCommon.h:302
unsigned long long ULONGLONG
Definition: CascPort.h:144
PCASC_MAP Map_Create(DWORD dwMaxItems, DWORD dwKeyLength, DWORD dwKeyOffset)
Definition: Map.cpp:93
LPBYTE(* ROOT_SEARCH)(struct TRootHandler *pRootHandler, struct _TCascSearch *pSearch, PDWORD PtrFileSize, PDWORD PtrLocaleFlags)
Definition: RootHandler.h:36
static int WowHandler_Insert(TRootHandler_WoW6 *pRootHandler, const char *szFileName, LPBYTE pbEncodingKey)
Definition: CascRootFile_WoW6.cpp:315
static LPBYTE WowHandler_Search(TRootHandler_WoW6 *pRootHandler, TCascSearch *pSearch, PDWORD, PDWORD PtrLocaleFlags)
Definition: CascRootFile_WoW6.cpp:351
#define Array_Create(pArray, type, ItemCountMax)
Definition: DynamicArray.h:35
#define CASC_EXTRA_FILES
Definition: CascCommon.h:53
#define ERROR_NOT_ENOUGH_MEMORY
Definition: CascPort.h:208
ROOT_GETKEY GetKey
Definition: RootHandler.h:71
ROOT_DUMP Dump
Definition: RootHandler.h:72
ROOT_INSERT Insert
Definition: RootHandler.h:68
void(* ROOT_ENDSEARCH)(struct TRootHandler *pRootHandler, struct _TCascSearch *pSearch)
Definition: RootHandler.h:43
static void WowHandler_EndSearch(TRootHandler_WoW6 *, TCascSearch *pSearch)
Definition: CascRootFile_WoW6.cpp:402
#define ERROR_FILE_CORRUPT
Definition: CascPort.h:218
Definition: CascRootFile_Diablo3.cpp:130
arena_t NULL
Definition: jemalloc_internal.h:624
PCASC_MAP pRootMap
Definition: CascRootFile_WoW6.cpp:71
LPBYTE(* ROOT_GETKEY)(struct TRootHandler *pRootHandler, const char *szFileName)
Definition: RootHandler.h:48
static int ParseRoot_AddRootEntries(TRootHandler_WoW6 *pRootHandler, PCASC_ROOT_BLOCK pRootBlock)
Definition: CascRootFile_WoW6.cpp:175
static LPBYTE WowHandler_GetKey(TRootHandler_WoW6 *pRootHandler, const char *szFileName)
Definition: CascRootFile_WoW6.cpp:377
BYTE * LPBYTE
Definition: CascPort.h:152
DYNAMIC_ARRAY FileTable
Definition: CascRootFile_WoW6.cpp:68
static int ParseRoot_CountFiles(TRootHandler_WoW6 *pRootHandler, PCASC_ROOT_BLOCK pRootBlock)
Definition: CascRootFile_WoW6.cpp:166
ROOT_SEARCH Search
Definition: RootHandler.h:69
#define FIELD_OFFSET(t, f)
Definition: CascPort.h:122
ROOT_ENDSEARCH EndSearch
Definition: RootHandler.h:70
DWORD dwTotalFileCount
Definition: CascRootFile_WoW6.cpp:74
int(* ROOT_INSERT)(struct TRootHandler *pRootHandler, const char *szFileName, LPBYTE pbEncodingKey)
Definition: RootHandler.h:30
void(* ROOT_CLOSE)(struct TRootHandler *pRootHandler)
Definition: RootHandler.h:62
static int ParseWowRootFile(TRootHandler_WoW6 *pRootHandler, PARSE_ROOT pfnParseRoot, LPBYTE pbRootFile, LPBYTE pbRootFileEnd, DWORD dwLocaleMask)
Definition: CascRootFile_WoW6.cpp:300
Definition: CascRootFile_WoW6.cpp:26
ROOT_CLOSE Close
Definition: RootHandler.h:73
#define ERROR_SUCCESS
Definition: CascPort.h:204