Xceed Zip for COM/ActiveX on x86/x64 Documentation
Direct DLL API / DLL API Event list
In This Topic
    DLL API Event list
    In This Topic

    Events triggered by the XceedZip object are communicated either by callback or by a window message. In both cases, an event index number is provided, along with a data structure containing the event's parameters. The event index number is a unique number that lets you identify which event occurred and what parameters are contained in the provided data structure.

    Events that have strings in their parameters are available in both ANSI and Wide-character versions. If you got your handle to an XceedZip with the ANSI version of XzCreateXceedZip, then all reported strings will be ANSI strings (char *). But if you called the UNICODE version of XzCreateXceedZip, then all reported strings are UNICODE strings (WCHAR *).

    In each event topic, you will see the generic parameter structure, using the TCHAR data type, which is mapped to char or WCHAR, depending on your compiler settings.

    Below is a table of event indexes, and the available defines in XceedZipAPI.h: 

    XM_MOVINGTEMPFILE (25) MovingTempFile
    Index Event Name Parameter Structure
    XM_LISTINGFILE (1) ListingFile xcdListingFileParams
    XM_PREVIEWINGFILE (2) PreviewingFile xcdPreviewingFileParams
    XM_INSERTDISK (3) InsertDisk xcdInsertDiskParams
    XM_ZIPPREPROCESSINGFILE (4) ZipPreprocessingFile xcdZipPreprocessingFileParams
    XM_UNZIPPREPROCESSINGFILE (5) UnzipPreprocessingFile xcdUnzipPreprocessingFileParams
    XM_SKIPPINGFILE (6) SkippingFile xcdSkippingFileParams
    XM_REMOVINGFILE (7)  RemovingFile xcdRemovingFileParams
    XM_TESTINGFILE (8) TestingFile xcdTestingFileParams
    XM_FILESTATUS (9) FileStatus xcdFileStatusParams
    XM_GLOBALSTATUS (10) GlobalStatus xcdGlobalStatusParams
    XM_DISKNOTEMPTY (11) DiskNotEmpty xcdDiskNotEmptyParams
    XM_PROCESSCOMPLETED (12)  ProcessCompleted xcdProcessCompletedParams
    XM_ZIPCOMMENT (13) ZipComment   xcdZipCommentParams
    XM_QUERYMEMORYFILE (14)  QueryMemoryFile xcdQueryMemoryFileParams
    XM_ZIPPINGMEMORYFILE (15)  ZippingMemoryFile   xcdZippingMemoryFileParams
    XM_UNZIPPINGMEMORYFILE (16)  UnzippingMemoryFile xcdUnzippingMemoryFileParams
    XM_WARNING (17)  Warning xcdWarningParams
    XM_INVALIDPASSWORD (18) InvalidPassword xcdInvalidPasswordParams
    XM_REPLACINGFILE (19) ReplacingFile xcdReplacingFileParams
    XM_ZIPCONTENTSSTATUS (20) ZipContentStatus xcdZipContentsStatusParams
    XM_DELETINGFILE (21)  DeletingFile xcdDeletingFileParams
    XM_CONVERTPREPROCESSINGFILE (22)  ConvertPreprocessingFile
     
    xcdConvertPreprocessingFileParams
    XM_WRITINGZIPCONTENTSSTATUS (23) WritingZipContentsStatus xcdWritingZipContentsStatusParams
    XM_MOVINGTEMPFILESTATUS (24) MovingTempFileStatus xcdMovingTempFileStatusParams
    XM_MOVINGTEMPFILE (25) MovingTempFile xcdMovingTempFileParams