The SetupCloseFileQueue function destroys a setup file queue.
VOID SetupCloseFileQueue(
  HSPFILEQ QueueHandle  // handle to the file queue to close
);
 The SetupCloseFileQueue function does not flush the queue; pending operations are not performed. To commit a file queue before closing it call SetupCommitFileQueue.
  Windows NT:  Use version 4.0 and later.
  Windows:  Use Windows 95 and later.
  Windows CE:  Unsupported.
  Header: Declared in setupapi.h.
  Import Library: Link with setupapi.lib.
Overview, Functions, SetupCommitFileQueue, SetupInstallFile, SetupQueueCopy, SetupQueueDefaultCopy, SetupQueueDelete, SetupQueueRename