2.4.1.3 File Queuing Functions

Using the Setup functions, you can queue files for various operations. File queues can be established for file copying, renaming, and deletion. Typically, all of the file operations necessary for an entire installation are queued to the file queue and processed, when the queue is committed, in a single batch.

The following functions are used with file queues.

SetupCloseFileQueue

Terminates the queue. Any remaining transactions are not committed.

SetupCommitFileQueue

Commits all queued transactions.

SetupOpenFileQueue

Initializes and returns a handle to the file queue.

SetupPromptReboot

Prompts the user to reboot his or her machine if necessary.

SetupQueueCopy

Queues a file copy.

SetupQueueCopySection

Queues the files in an INF Copy Files section for copying.

SetupQueueDefaultCopy

Queues the files in an INF Copy Files section using the default information specified in an INF file.

SetupQueueDelete

Queues a file deletion.

SetupQueueDeleteSection

Queues the files in a INF Delete Files section for deletion.

SetupQueueRename

Queues a file for renaming.

SetupQueueRenameSection

Queues the files in an INF Rename Files section for renaming.

SetupScanFileQueue

Scans the file queue.

SetupSetPlatformPathOverride

Sets the platform path override.

For more information on the file queue functions, see the Win32 SDK documentation.