MSDN Library
Inhaltsverzeichnis reduzieren
Inhaltsverzeichnis erweitern
EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

IEnumBackgroundCopyJobs::Next method

Retrieves a specified number of items in the enumeration sequence. If there are fewer than the requested number of elements left in the sequence, it retrieves the remaining elements.

Syntax


HRESULT Next(
  [in]  ULONG              celt,
  [out] IBackgroundCopyJob **rgelt,
  [out] ULONG              *pceltFetched
);

Parameters

celt [in]

Number of elements requested.

rgelt [out]

Array of IBackgroundCopyJob objects. You must release each object in rgelt when done.

pceltFetched [out]

Number of elements returned in rgelt. You can set pceltFetched to NULL if celt is one. Otherwise, initialize the value of pceltFetched to 0 before calling this method.

Return value

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

Return codeDescription
S_OK

Successfully returned the number of requested elements.

S_FALSE

Returned less than the number of requested elements.

 

Examples

For an example that calls the Next method, see Enumerating Jobs in the Transfer Queue.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Bits.h

IDL

Bits.idl

Library

Bits.lib

DLL

QmgrPrxy.dll

IID

IID_IEnumBackgroundCopyJobs is defined as 1AF4F612-3B71-466F-8F58-7B6F73AC57AD

See also

IEnumBackgroundCopyJobs

 

 

Anzeigen:
© 2016 Microsoft