IBackgroundCopyFile4::GetPeerDownloadStats method (bits4_0.h)

Specifies statistics about the amount of data downloaded from peers and origin servers.


HRESULT GetPeerDownloadStats(
  [out] PUINT64 pFromOrigin,
  [out] PUINT64 pFromPeers


[out] pFromOrigin

Specifies the amount of file data downloaded from the originating server.

[out] pFromPeers

Specifies the amount of file data downloaded from a peer-to-peer source.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.


Requirement Value
Minimum supported client Windows 7
Minimum supported server Windows Server 2008 R2
Target Platform Windows
Header bits4_0.h
Redistributable Windows Management Framework on Windows Vista with SP1, Windows Vista with SP2, and Windows Server 2008 with SP2

See also