IEnumBitsPeers interface

Use IEnumBitsPeers to enumerate the list of peers that BITS has discovered.

To get this interface, call the IBitsPeerCacheAdministration::EnumPeers method.

Note  This interface is deprecated in BITS 4.0, and all of the API methods will return S_FALSE.


The IEnumBitsPeers interface has these methods.

Method Description
IEnumBitsPeers::Clone Creates another IEnumBitsPeers enumerator that contains the same enumeration state as the current one.
IEnumBitsPeers::GetCount Retrieves a count of the number of peers in the enumeration.
IEnumBitsPeers::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.
IEnumBitsPeers::Reset Resets the enumeration sequence to the beginning.
IEnumBitsPeers::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 Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header bits3_0.h (include Bits.h)