Export (0) Print
Expand All

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.

Members

The IBackgroundCopyFile2 interface inherits from IBackgroundCopyFile. IBackgroundCopyFile2 also has these types of members:

Methods

The IBackgroundCopyFile2 interface has these methods.

MethodDescription
GetFileRanges

Retrieves the array of ranges that you want to download from the URL.

SetRemoteName

Changes the remote name to a new URL.

 

Requirements

Minimum supported client

Windows Vista, Windows XP with SP2

Minimum supported server

Windows Server 2008, Windows Server 2003 with SP1

Version

KB842773 on Windows Server 2003, and Windows XP

Header

Bits2_0.h (include Bits.h)

IDL

Bits2_0.idl

Library

Bits.lib

DLL

BitsPrx3.dll

IID

IID_IBackgroundCopyFile2 is defined as 83E81B93-0873-474D-8A8C-F2018B1A939C

See also

IBackgroundCopyFile

 

 

Community Additions

ADD
Show:
© 2014 Microsoft