110 DWORD EncodingIndex = 0;
111 DWORD LocaleFlags = 0;
120 if(pbEncodingKey ==
NULL)
124 EncodingKey.
pbData = pbEncodingKey;
127 if(pEncodingEntry !=
NULL)
132 ByteIndex = (
DWORD)(EncodingIndex / 8);
133 BitMask = 1 << (EncodingIndex & 0x07);
134 pSearch->
BitArray[ByteIndex] |= BitMask;
140 if(pIndexEntry ==
NULL)
TRootHandler * pRootHandler
Definition: CascCommon.h:223
const wchar_t * GetPlainFileName(const wchar_t *szFileName)
Definition: Common.cpp:398
BYTE FileSizeBE[4]
Definition: CascCommon.h:162
TCascStorage * hs
Definition: CascCommon.h:263
char * szPlainName
Definition: CascLib.h:148
Definition: CascLib.h:138
arena_t NULL
Definition: jemalloc_internal.h:624
BYTE * LPBYTE
Definition: CascPort.h:152
LPBYTE RootHandler_Search(TRootHandler *pRootHandler, struct _TCascSearch *pSearch, PDWORD PtrFileSize, PDWORD PtrLocaleFlags)
Definition: RootHandler.cpp:26
DWORD cbData
Definition: CascLib.h:141
DWORD dwFileSize
Definition: CascLib.h:151
#define MD5_HASH_SIZE
Definition: CascLib.h:105
#define CASC_INVALID_SIZE
Definition: CascLib.h:118
LPBYTE pbData
Definition: CascLib.h:140
BYTE EncodingKey[MD5_HASH_SIZE]
Definition: CascLib.h:149
char szFileName[MAX_PATH]
Definition: CascCommon.h:268
unsigned int DWORD
Definition: CascPort.h:139
char szFileName[MAX_PATH]
Definition: CascLib.h:147
BYTE BitArray[1]
Definition: CascCommon.h:276
Definition: CascCommon.h:102
BYTE EncodingKey[MD5_HASH_SIZE]
Definition: CascCommon.h:163
DWORD dwLocaleFlags
Definition: CascLib.h:150
Definition: CascCommon.h:159
#define GET_INDEX_KEY(pEncodingEntry)
Definition: CascCommon.h:180
PCASC_ENCODING_ENTRY FindEncodingEntry(TCascStorage *hs, PQUERY_KEY pEncodingKey, PDWORD PtrIndex)
Definition: CascOpenFile.cpp:35
DWORD ConvertBytesToInteger_4(LPBYTE ValueAsBytes)
Definition: CascCommon.cpp:31
PCASC_INDEX_ENTRY FindIndexEntry(TCascStorage *hs, PQUERY_KEY pIndexKey)
Definition: CascOpenFile.cpp:25