Export (0) Print
Expand All
Expand Minimize

SetupGetFileQueueCount Function

[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 SetupGetFileQueueCount function gets the count from a setup file queue.

Syntax

BOOL SetupGetFileQueueCount(
  __in   HSPFILEQ FileQueue,
  __in   UINT SubQueueFileOp,
  __out  PUINT NumOperations
);

Parameters

FileQueue [in]

Handle to an open setup file queue.

SubQueueFileOp [in]

Flag that specifies which subqueue count to be returned.

FlagMeaning
FILEOP_COPY

Return the number of entries in the copy subqueue.

FILEOP_RENAME

Return the number of entries in the rename subqueue.

FILEOP_DELETE

Return the number of entries in the delete subqueue.

FILEOP_BACKUP

Return the number of entries in the backup subqueue.

 

NumOperations [out]

Count from the setup file queue.

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

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Setupapi.h

Library

Setupapi.lib

DLL

Setupapi.dll

See Also

Functions
Overview

 

 

Build date: 8/19/2010

Community Additions

ADD
Show:
© 2014 Microsoft