-
Notifications
You must be signed in to change notification settings - Fork 1
UnRAR.IteratorEx.MoveNext
UnRAR.IteratorEx.MoveNext
Function MoveNext(ProcessingMode As Integer, ExtractPath As FolderItem = Nil) As Boolean| Name | Type | Comment |
|---|---|---|
| ProcessingMode | Integer | The action to take when processing the current item (RAR_EXTRACT, RAR_SKIP, or RAR_TEST) |
| ExtractPath | FolderItem | Optional. The target file or folder into which the item should be extracted. |
Returns True if the item was successfully processed and the next item is ready. On error or end-of-archive, returns False. Check LastError if this method returns False.
Calling this method will apply the ProcessingMode to the CurrentItem and then advance the CurrentItem by one.
If ProcessingMode is RAR_EXTRACT then pass a FolderItem to extract into. Pass a directory to extract the item into the directory using the item name (automatically creating subdirectories as needed); pass a non-existing file to extract directly into the file.
If processing mode is RAR_TEST or RAR_SKIP then pass Nil as (or omit) ExtractPath. Even in testing mode decompressed data will be passed to the ProcessData event, allowing for decompression without writing to the disk. In skip mode no data is passed to the ProcessData event.
Wiki home | Project page | Bugs
Text and code examples are Copyright ©2013-21 Andrew Lambert, offered under the CC BY-SA 3.0 License.