Unit ZCallBck |
Classes |
Functions |
Types |
PZCallBackStruct
ZCallBackStruct
ZFunctionPtrType
Constants |
Variables |
Functions |
Types |
PZCallBackStruct = ^ZCallBackStruct
ZCallBackStruct = recordAll 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.
Handle : THandle;
Caller : Pointer;
Version : LongInt;
IsOperationZip : LongBool;
ActionCode : LongInt;
ErrorCode : LongInt;
FileSize : LongInt;
FileNameOrMsg : Array[0..511] of Char;
end;
ZFunctionPtrType = function(ZCallbackRec: PZCallBackStruct): LongBoolDeclare 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 |
Variables |