IBackgroundCopyFile2 interface (bits2_0.h)
Use the IBackgroundCopyFile2 interface to specify a new remote name for the file and retrieve the list of ranges to download.
The IBackgroundCopyFile2 interface inherits from the IBackgroundCopyFile interface.
To get an IBackgroundCopyFile2 interface pointer, call the IBackgroundCopyFile::QueryInterface method using __uuidof(IBackgroundCopyFile2) for the interface identifier. Use the IBackgroundCopyFile2 interface pointer to call both the IBackgroundCopyFile and IBackgroundCopyFile2 methods.
Inheritance
The IBackgroundCopyFile2 interface inherits from IBackgroundCopyFile. IBackgroundCopyFile2 also has these types of members:
Methods
The IBackgroundCopyFile2 interface has these methods.
IBackgroundCopyFile2::GetFileRanges Retrieves the ranges that you want to download from the remote file. |
IBackgroundCopyFile2::SetRemoteName Changes the remote name to a new URL in a download job. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista, Windows XP with SP2,KB842773 on Windows Server 2003, and Windows XP |
Minimum supported server | Windows Server 2008, Windows Server 2003 with SP1 |
Target Platform | Windows |
Header | bits2_0.h (include Bits.h) |