Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies statistics about the amount of data downloaded from peers and origin servers.
Syntax
HRESULT GetPeerDownloadStats(
[out] PUINT64 pFromOrigin,
[out] PUINT64 pFromPeers
);
Parameters
[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.
Requirements
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 |