199 (
"[VFD] VfdExtractImz - IN\n"));
236 (
"[VFD] PKZIP header signature not found.\n"));
246 (
"[VFD] Bad PKZIP compression method.\n"));
255 (
"[VFD] PKZIP encrypted.\n"));
282 (
"[VFD] Unsupported image size %lu.\n",
297 (
"[VFD] PKZIP header too long.\n"));
309 (
"[VFD] Failed to allocate file cache.\n"));
329 stream.next_out = file_cache;
342 if (zlib_ret !=
Z_OK) {
346 (
"[VFD] inflateInit2() failed - %s.\n",
347 ZLIB_ERROR(zlib_ret)));
358 if (zlib_ret !=
Z_OK) {
364 (
"[VFD] inflate() failed - %s.\n",
365 ZLIB_ERROR(zlib_ret)));
379 if (
stream.total_in >= compressed) {
393 (
"[VFD] Read compressed data - %s.\n",
417 (
"[VFD] VfdExtractImz - OUT\n"));
#define VFD_BYTES_PER_SECTOR
#define ERROR_INVALID_FUNCTION
#define VFD_SECTOR_TO_BYTE(s)
DWORD WINAPI GetLastError(VOID)
static const BYTE uncompressed[]
GLenum GLuint GLenum GLsizei const GLchar * buf
PCSTR SystemMessage(DWORD nError)
#define VFDTRACE(LEVEL, STRING)
int inflateEnd(z_streamp strm)
#define ERROR_INVALID_DATA
HLOCAL NTAPI LocalFree(HLOCAL hMem)
#define FIELD_OFFSET(t, f)
#define ReadFile(a, b, c, d, e)
#define inflateInit2(strm, windowBits)
#define ZIP_LOCAL_SIGNATURE
#define ERROR_NOT_SUPPORTED
int inflate(z_streamp strm, int flush)
HLOCAL NTAPI LocalAlloc(UINT uFlags, SIZE_T dwBytes)
struct _zip_local_file_header * PZIP_HEADER