861 DWORD cbRootFile = 0;
870 if(dwLocaleMask == 0)
887 FileSignature = (
PDWORD)pbRootFile;
888 switch(FileSignature[0])
TRootHandler * pRootHandler
Definition: CascCommon.h:223
QUERY_KEY RootKey
Definition: CascCommon.h:208
DWORD dwDefaultLocale
Definition: CascCommon.h:199
void * HANDLE
Definition: CascPort.h:146
DWORD * PDWORD
Definition: CascPort.h:151
int RootHandler_CreateMNDX(TCascStorage *hs, LPBYTE pbRootFile, DWORD cbRootFile)
Definition: CascRootFile_Mndx.cpp:3139
arena_t NULL
Definition: jemalloc_internal.h:624
#define CASC_DIABLO3_ROOT_SIGNATURE
Definition: RootHandler.h:18
int RootHandler_CreateWoW6(TCascStorage *hs, LPBYTE pbRootFile, DWORD cbRootFile, DWORD dwLocaleMask)
Definition: CascRootFile_WoW6.cpp:487
BYTE * LPBYTE
Definition: CascPort.h:152
static int InsertExtraFile(TCascStorage *hs, const char *szFileName, PQUERY_KEY pQueryKey)
Definition: CascOpenStorage.cpp:181
static LPBYTE LoadRootFileToMemory(HANDLE hFile, DWORD *pcbRootFile)
Definition: CascOpenStorage.cpp:730
#define CASC_FREE(ptr)
Definition: CascCommon.h:303
int RootHandler_CreateDiablo3(TCascStorage *hs, LPBYTE pbRootFile, DWORD cbRootFile)
Definition: CascRootFile_Diablo3.cpp:1079
int RootHandler_CreateOverwatch(TCascStorage *hs, LPBYTE pbRootFile, DWORD cbRootFile)
Definition: CascRootFile_Ovr.cpp:133
PCASC_MAP pEncodingMap
Definition: CascCommon.h:220
unsigned int DWORD
Definition: CascPort.h:139
#define CASC_MNDX_ROOT_SIGNATURE
Definition: RootHandler.h:17
int GetLastError()
Definition: Common.cpp:70
bool WINAPI CascCloseFile(HANDLE hFile)
Definition: CascOpenFile.cpp:273
bool WINAPI CascOpenFileByEncodingKey(HANDLE hStorage, PQUERY_KEY pEncodingKey, DWORD dwFlags, HANDLE *phFile)
Definition: CascOpenFile.cpp:173
#define CASC_OVERWATCH_ROOT_SIGNATURE
Definition: RootHandler.h:19
#define ERROR_SUCCESS
Definition: CascPort.h:204