You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
594 B
24 lines
594 B
/*
|
|
* api.h
|
|
*/
|
|
typedef HRESULT (WINAPI *PFNCODEC_INIT_COMPRESSION)(VOID);
|
|
|
|
typedef VOID (WINAPI *PFNCODEC_DEINIT_COMPRESSION)(VOID);
|
|
|
|
typedef HRESULT (WINAPI *PFNCODEC_CREATE_COMPRESSION)(PVOID *context, ULONG flags);
|
|
|
|
typedef HRESULT (WINAPI *PFNCODEC_COMPRESS)(
|
|
PVOID context,
|
|
CONST PBYTE input,
|
|
LONG input_size,
|
|
PBYTE output,
|
|
LONG output_size,
|
|
PLONG input_used,
|
|
PLONG output_used,
|
|
INT compression_level
|
|
);
|
|
|
|
typedef VOID (WINAPI *PFNCODEC_DESTROY_COMPRESSION)(PVOID context);
|
|
|
|
typedef HRESULT (WINAPI *PFNCODEC_RESET_COMPRESSION)(PVOID context);
|
|
|