215 if(szFileName ==
NULL || szFileName[0] == 0 || phFile ==
NULL)
226 if(pbEncodingKey ==
NULL)
233 EncodingKey.
pbData = pbEncodingKey;
246 EncodingKey.
pbData = KeyBuffer;
TRootHandler * pRootHandler
Definition: CascCommon.h:223
int ConvertStringToBinary(const char *szString, size_t nMaxDigits, LPBYTE pbBinary)
Definition: Common.cpp:338
Definition: CascLib.h:138
arena_t NULL
Definition: jemalloc_internal.h:624
#define CASCLIB_UNUSED(p)
Definition: CascCommon.h:75
BYTE * LPBYTE
Definition: CascPort.h:152
static bool OpenFileByEncodingKey(TCascStorage *hs, PQUERY_KEY pEncodingKey, DWORD dwFlags, TCascFile **ppCascFile)
Definition: CascOpenFile.cpp:110
DWORD cbData
Definition: CascLib.h:141
#define ERROR_INVALID_HANDLE
Definition: CascPort.h:207
LPBYTE RootHandler_GetKey(TRootHandler *pRootHandler, const char *szFileName)
Definition: RootHandler.cpp:44
#define MD5_HASH_SIZE
Definition: CascLib.h:105
void SetLastError(int nError)
Definition: Common.cpp:75
#define ERROR_FILE_NOT_FOUND
Definition: CascPort.h:205
Definition: CascCommon.h:186
LPBYTE pbData
Definition: CascLib.h:140
int GetLastError()
Definition: Common.cpp:70
#define ERROR_INVALID_PARAMETER
Definition: CascPort.h:210
unsigned char BYTE
Definition: CascPort.h:136
Definition: CascCommon.h:227
#define MD5_STRING_SIZE
Definition: CascLib.h:106
TCascStorage * IsValidStorageHandle(HANDLE hStorage)
Definition: CascOpenStorage.cpp:100
#define CASC_OPEN_BY_ENCODING_KEY
Definition: CascLib.h:42
#define ERROR_SUCCESS
Definition: CascPort.h:204