![]() |
Dataflow Runtime API
3.0.3.0
|
#include <windows.h>
Macros | |
#define | ZR_OK 0x00000000 |
#define | ZR_GENMASK 0x0000FF00 |
#define | ZR_NODUPH 0x00000100 |
#define | ZR_NOFILE 0x00000200 |
#define | ZR_NOALLOC 0x00000300 |
#define | ZR_WRITE 0x00000400 |
#define | ZR_NOTFOUND 0x00000500 |
#define | ZR_MORE 0x00000600 |
#define | ZR_CORRUPT 0x00000700 |
#define | ZR_READ 0x00000800 |
#define | ZR_CALLERMASK 0x00FF0000 |
#define | ZR_ARGS 0x00010000 |
#define | ZR_NOTMMAP 0x00020000 |
#define | ZR_MEMSIZE 0x00030000 |
#define | ZR_FAILED 0x00040000 |
#define | ZR_ENDED 0x00050000 |
#define | ZR_MISSIZE 0x00060000 |
#define | ZR_PARTIALUNZ 0x00070000 |
#define | ZR_ZMODE 0x00080000 |
#define | ZR_BUGMASK 0xFF000000 |
#define | ZR_NOTINITED 0x01000000 |
#define | ZR_SEEK 0x02000000 |
#define | ZR_NOCHANGE 0x04000000 |
#define | ZR_FLATE 0x05000000 |
Functions | |
HANDLE | CreateZip (const wchar_t *fn) |
Creates a zip file by specifying the zip file name. More... | |
DWORD | ZipAdd (HANDLE hz, const wchar_t *dstzn, const wchar_t *fn) |
Adds a file identified by its file name to the zip file. More... | |
DWORD | CloseZip (HANDLE hz) |
Closes the zip file and releases all allocated resources. More... | |
#define ZR_ARGS 0x00010000 |
#define ZR_BUGMASK 0xFF000000 |
#define ZR_CALLERMASK 0x00FF0000 |
#define ZR_CORRUPT 0x00000700 |
#define ZR_ENDED 0x00050000 |
#define ZR_FAILED 0x00040000 |
#define ZR_FLATE 0x05000000 |
#define ZR_GENMASK 0x0000FF00 |
#define ZR_MEMSIZE 0x00030000 |
#define ZR_MISSIZE 0x00060000 |
#define ZR_MORE 0x00000600 |
#define ZR_NOALLOC 0x00000300 |
#define ZR_NOCHANGE 0x04000000 |
#define ZR_NODUPH 0x00000100 |
#define ZR_NOFILE 0x00000200 |
#define ZR_NOTFOUND 0x00000500 |
#define ZR_NOTINITED 0x01000000 |
#define ZR_NOTMMAP 0x00020000 |
#define ZR_OK 0x00000000 |
#define ZR_PARTIALUNZ 0x00070000 |
#define ZR_READ 0x00000800 |
#define ZR_SEEK 0x02000000 |
#define ZR_WRITE 0x00000400 |
#define ZR_ZMODE 0x00080000 |
DWORD CloseZip | ( | HANDLE | hz | ) |
Closes the zip file and releases all allocated resources.
hz | Handle to the zip file |
HANDLE CreateZip | ( | const wchar_t * | fn | ) |
Creates a zip file by specifying the zip file name.
DWORD ZipAdd | ( | HANDLE | hz, |
const wchar_t * | dstzn, | ||
const wchar_t * | fn | ||
) |
Adds a file identified by its file name to the zip file.
hz | Handle to the zip file |
dstzn | Destination file name |
fn | Source file name |