Docs » Autodocs » aml.library » ScanFolderIndex
ScanFolderIndex -- Scan a folder's index
ScanFolderIndex(folder, hook, flags) D0 A0 A1 DO void ScanFolderIndex(APTR folder, struct Hook *hook, ULONG flags);
Scans a folder index, calling the provided hook, so that the application can display a progress bar and/or set status flags on each item in the index. The hook function will be passed the pointer to the folder object in A2 and a FolderIndex structure in A1. See <libraries/aml.h> for details on the FolderIndex structure, and any flags or status that may be set/checked in it.
folder - Pointer to a folder object to scan hook - Pointer to an initialized hook flags - Currently should be NULL
|