Event notification by callback functions can be selected by calling the XzSetXceedZipCallback function with a pointer to your callback function in the second parameter. Your callback function must have this form:
void CALLBACK YourXceedZipCallback( WPARAM wXceedMessage, LPARAM lParam )
Your callback function will be called whenever an event is triggered. Your callback function's wXceedMessage parameter will contain the event index number, and the lParam parameter will contain a pointer to the corresponding parameter structure. Depending on the value of wXceedMessage, you should typecast lParam to the correct structure pointer.