IBackgroundCopyFile2 interface

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.

Methods

The IBackgroundCopyFile2 interface has these methods.

Method Description
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

   
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)

See Also

IBackgroundCopyFile