IEnumBackgroundCopyFiles interface

Use the IEnumBackgroundCopyFiles interface to enumerate the files that a job contains. To get an IEnumBackgroundCopyFiles interface pointer, call the IBackgroundCopyJob::EnumFiles method.


The IEnumBackgroundCopyFiles interface has these methods.

Method Description
IEnumBackgroundCopyFiles::Clone Creates another IEnumBackgroundCopyFiles enumerator that contains the same enumeration state as the current one.
IEnumBackgroundCopyFiles::GetCount Retrieves a count of the number of files in the enumeration.
IEnumBackgroundCopyFiles::Next 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.
IEnumBackgroundCopyFiles::Reset Resets the enumeration sequence to the beginning.
IEnumBackgroundCopyFiles::Skip Skips the next specified number of elements in the enumeration sequence. If there are fewer elements left in the sequence than the requested number of elements to skip, it skips past the last element in the sequence.


Minimum supported client Windows XP
Minimum supported server Windows Server 2003
Target Platform Windows
Header bits.h

See Also