SetupOpenFileQueue function (setupapi.h)

[This function is available for use in the operating systems indicated in the Requirements section. It may be altered or unavailable in subsequent versions. SetupAPI should no longer be used for installing applications. Instead, use the Windows Installer for developing application installers. SetupAPI continues to be used for installing device drivers.]

The SetupOpenFileQueue function creates a setup file queue.

Syntax

WINSETUPAPI HSPFILEQ SetupOpenFileQueue();

Return value

If the function succeeds, it returns a handle to a setup file queue. If there is not enough memory to create the queue, the function returns INVALID_HANDLE_VALUE. To get extended error information, call GetLastError.

Remarks

After the file queue has been committed and is no longer needed, SetupCloseFileQueue should be called to release the resources allocated during SetupOpenFileQueue.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header setupapi.h
Library Setupapi.lib
DLL Setupapi.dll

See also

Functions

Overview

SetupCloseFileQueue

SetupCommitFileQueue

SetupInstallFile

SetupQueueCopy

SetupQueueDelete

SetupQueueRename