Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

UnRAR.IteratorEx.ChangeVolume

Andrew Lambert edited this page Nov 26, 2022 · 8 revisions

UnRAR.IteratorEx.ChangeVolume

Event Signature

Event Function ChangeVolume(VolumeNumber As Integer, ByRef NextVolume As FolderItem) As Boolean

Parameters

Name Type Comment
VolumeNumber Integer The volume number of the needed volume
NextVolume FolderItem Passed by reference, the expected path to the next volume

Return value

Return True to indicate that NextVolume refers to the next volume and that the operation may proceed. Change NextVolume to the appropriate value. If you set NextVolume to Nil and return True then UnRAR will try the originally expected path again. If you return false then the operation is aborted.

Notes

This event is only raised if UnRAR cannot locate the next volume automatically. The path where the volume is expected to be is passed in as NextVolume, modify it (or don't) and return True to continue processing.

See also

IteratorEx.VolumeChanged

Clone this wiki locally