IBackgroundCopyJob4::GetPeerCachingFlags method (bits3_0.h)
Retrieves flags that determine if the files of the job can be cached and served to peers and if BITS can download content for the job from peers.
Syntax
HRESULT GetPeerCachingFlags(
[out] DWORD *pFlags
);
Parameters
[out] pFlags
Flags that determine if the files of the job can be cached and served to peers and if BITS can download content for the job from peers. The following flags can be set:
Value | Meaning |
---|---|
|
The job can download content from peers. |
|
The files of the job can be cached and served to peers. |
Return value
The method returns the following return values.
Return code | Description |
---|---|
|
Success |
|
If other flag values are set. |
Remarks
BITS can download from peers only if peercaching is enabled both at the computer level and at the job level; this API affects only the job level. For details, see IBackgroundCopyJob4::SetPeerCachingFlags.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | bits3_0.h (include Bits.h) |
Library | Bits.lib |
See also
IBackgroundCopyJob4::SetPeerCachingFlags