Set a user defined callback function to process UnRAR events.
RARSetCallback is obsolete and less preferable way to specify the callback function. Recommended approach is to set Callback and UserData fields in RAROpenArchiveDataEx structure, when calling RAROpenArchiveEx. If you use RARSetCallback, you will not be able to read the archive comment in archives with encrypted headers. If you do not need the archive comment, you can continue to use RARSetCallback.
This parameter should contain the archive handle obtained from RAROpenArchive or RAROpenArchiveEx function call.Callback
UserDataAddress of user defined callback function to process UnRAR events.
Set it to NULL if you do not want to define the callback function. Callback function is required to process multivolume and encrypted archives properly.
User defined value, which will be passed to callback function.
None.
User defined callback function