IBackgroundCopyQMgr::EnumGroups method (qmgr.h)

[IBackgroundCopyQMgr is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use the BITS interfaces.]

Use the EnumGroups method to retrieve a list of groups that the current user owns. If the current user has Administrator privileges, the method returns all groups in the queue.

Syntax

HRESULT EnumGroups(
  [in]  DWORD                     dwFlags,
  [out] IEnumBackgroundCopyGroups **ppEnumGroups
);

Parameters

[in] dwFlags

Must be 0.

[out] ppEnumGroups

Pointer to an IEnumBackgroundCopyGroups interface pointer. Use this interface to retrieve a group from the list.

Return value

This method returns the following HRESULT values, as well as others.

Return code Description
S_OK
Successfully retrieved a list of the groups in the download queue.
E_NOTIMPL
The dwFlags parameter must be 0.

Requirements

Requirement Value
Minimum supported client Windows XP
Minimum supported server Windows Server 2003
Target Platform Windows
Header qmgr.h
DLL QmgrPrxy.dll

See also

IBackgroundCopyQMgr