The SetupCommitFileQueue function performs file operations enqueued on a setup file queue.
BOOL SetupCommitFileQueue(
HWND Owner, // optional; parent window
HSPFILEQ QueueHandle, // handle to the file queue
PSP_FILE_CALLBACK MsgHandler, // callback routine to use
PVOID Context // passed to callback routine
);
If the function succeeds, the return value is a non-zero value.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
The callback routine specified in MsgHandler should be compatible with the the parameters that SetupCommitFileQueue passed to it during a queue commit.
If Unicode is defined in your callback application, and you specifiy MsgHandler as the default queue callback routine, the callback routine will expect Unicode parameters. Otherwise, the default queue callback routine will expect ANSI parameters.
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, SetupCloseFileQueue