Listing for LZNV_COM_Obj.idl file
7.2.4 LZNV COM Obj IDL File Content
7.2.4 LZNV COM Obj IDL File Content
import "unknwn.idl";
#define _LZNV_MAXPATH_ 320
[object,
uuid(A7A85E87-60E8-4FE0-8B58-A2334CE5238D),
object,
local,
pointer_default(unique),
helpstring("interface ILZNV_COM_Obj for exporting LZNV Data Compression functionality")
]
interface ILZNV_COM_Obj : IUnknown
{
typedef struct _LZNV_FILE_PARAM_TYPE
{
unsigned char _verbose; // display more info
unsigned char _use_callback; // 0 = use .. 1 = do not use
unsigned char _cpu_priority_level; // _LZNV_BELOW_NORMAL_PRIORITY_CLASS .. _LZNV_REALTIME_PRIORITY_CLASS
unsigned char _internal_verification; // performs also an internal verification only when compressing. slower.
unsigned char _encoding_method; // _LZNV_ULTRAFAST_COMPRESSION .. _LZNV_BETTER_COMPRESSION
unsigned char _command_to_execute; // _LZNV_COMMAND_ENCODE, _LZNV_COMMAND_DECODE, _LZNV_COMMAND_TEST
unsigned char _memory_level; // 0 = 256KB, 1 = 512KB, 2 = 1MB, 3 = 2MB, 4 = 4MB, 5 = 8MB, 6 = 16MB, 6 = 32MB, 7 = 64
unsigned char _reserved8;
unsigned int _file_adler32; // file adler32; non-zero value to compute, usually _CRC32_INITIAL, (uint32_t)~0x00
unsigned int _reserved32;
unsigned long long _reserved64;
char _sz_password[12];
wchar_t _source_file_path[_LZNV_MAXPATH_ + 1];
wchar_t _target_file_path[_LZNV_MAXPATH_ + 1];
}
LZNV_FILE_COMMAND_PARAMS, * P_LZNV_FILE_COMMAND_PARAMS;
HRESULT LZNV_Main_([ref, in, out] P_LZNV_FILE_COMMAND_PARAMS _command_param_struct);
};
[
uuid(A25B973F-EC01-4EDC-B98E-37304CD60AFA),
helpstring("Interfaces for LZNV algorithm implementations")
]
library LZNV_COM_Obj
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
interface ILZNV_COM_Obj;
}