After you have obtained a handle to a file queue by calling the SetupOpenFileQueue function, you can add file operations to the queue, either file-by-file, or by queueing all the files in an INF section.
To add a copy operation for an individual file to the file queue, call the SetupQueueCopy function. If you want to queue a file copy operation using the default source media and target destinations specified in an INF file, you can call the SetupQueueDefaultCopy function.
You can add an individual file delete or rename operation to the open file queue, by calling the SetupQueueDelete or SetupQueueRename function.