IBackgroundCopyFile4::GetPeerDownloadStats method (bits4_0.h)

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

Syntax

HRESULT GetPeerDownloadStats(
  PUINT64 pFromOrigin,
  PUINT64 pFromPeers
);

Parameters

pFromOrigin

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

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.

Requirements

   
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

IBackgroundCopyFile4