File Queuing Functions

Using the general Setup functions, you can queue files for various operations. File queues can be established for copying, renaming, and deleting files. Typically, an application queues all the file operations necessary for an entire installation and then "commits" the queue so the operations are performed in a single batch.

The following table provides a summary of file queuing functions. For detailed function descriptions, see the Microsoft Windows SDK documentation.

Function Description

SetupCloseFileQueue

Destroys a file queue together with any uncommitted file operations.

SetupCommitFileQueue

Commits (performs) all queued operations.

SetupOpenFileQueue

Creates and returns a handle to a file queue.

SetupPromptReboot

Prompts the user to restart his or her computer, if necessary.

SetupQueueCopy

Queues a specified file for copying.

SetupQueueCopyIndirect

Queues a specified file for copying, and provides file location and security information.

SetupQueueCopySection

Queues the files in a specified INF file section for copying.

SetupQueueDefaultCopy

Queues a specified file for copying, using default source and destination settings contained in the INF file.

SetupQueueDelete

Queues a specified file for deletion.

SetupQueueDeleteSection

Queues the files in an INF file section for deletion.

SetupQueueRename

Queues a specified file for renaming.

SetupQueueRenameSection

Queues the files in an INF section for renaming.

SetupScanFileQueue

Scans a file queue and performs a specified operation on each queue entry.

SetupSetPlatformPathOverride

Sets the value that is used for overriding the default platform-specific source path.