Edit

Share via


SetupSetFileQueueFlags 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 SetupSetFileQueueFlags function sets the flags on a setup file queue.

Syntax

WINSETUPAPI BOOL SetupSetFileQueueFlags(
  [in] HSPFILEQ FileQueue,
  [in] DWORD    FlagMask,
  [in] DWORD    Flags
);

Parameters

[in] FileQueue

Handle to an open setup file queue.

[in] FlagMask

Mask of valid flags.

Flag Meaning
SPQ_FLAG_VALID
0x001
Mask for use with SPQ_FLAG_BACKUP_AWARE.

[in] Flags

Flags for use with SetupSetFileQueueFlags and returned by SetupGetFileQueueFlags.

Flag Meaning
SPQ_FLAG_BACKUP_AWARE
0x001
If this flag is set, SetupCommitFileQueue issues backup notifications.
SPQ_FLAG_ABORT_IF_UNSIGNED
0X002
For internal use only.

Return value

If the function succeeds, the return value is a nonzero value.

If the function fails, the return value is (0) zero. To get extended error information, call GetLastError.

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