Opening and Closing a Queue

Before you can queue file operations, you must open a file queue. Calling the SetupOpenFileQueue function returns a handle to a queue file. This handle is used by subsequent queue functions to reference the open queue and add operations to it or scan it.

After all the specified file operations have been queued and committed, you must call the SetupCloseFileQueue function to release resources allocated during the call to SetupOpenFileQueue.

Note The SetupCloseFileQueue function does not commit the file queue. Any operations that are uncommitted when SetupCloseFileQueue is called will not be performed.