Unit ZCallBck

Classes

Functions

Types

PZCallBackStruct
ZCallBackStruct
ZFunctionPtrType

Constants

FilesMax
PWLEN

Variables


Functions


Types


PZCallBackStruct = ^ZCallBackStruct

ZCallBackStruct = record
Handle : THandle;
Caller : Pointer;
Version : LongInt;
IsOperationZip : LongBool;
ActionCode : LongInt;
ErrorCode : LongInt;
FileSize : LongInt;
FileNameOrMsg : Array[0..511] of Char;
end;
All the items in the CallBackStruct are passed to the Delphi program from the DLL. Note that the "Caller" value returned here is the same one specified earlier in ZipParms by the Delphi pgm.
ZFunctionPtrType = function(ZCallbackRec: PZCallBackStruct): LongBool
Declare a function pointer type for the Delphi callback function, to be called by the DLL to pass updated status info back to Delphi. } { Your callback function must not be a member of a class!

Constants

FilesMax = 4096

Maximum no. of files in a single ZIP file (do NOT change):

PWLEN = 80


Variables