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.
Method | Description |
---|---|
GetFileRanges | Retrieves the array of ranges that you want to download from the URL. |
SetRemoteName | Changes the remote name to a new URL. |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 10, version 1709 [desktop apps only] |
Minimum supported server |
Windows Server, version 1709 [desktop apps only] |
Header |
|
IDL |
|
Library |
|
DLL |
|
IID |
IID_IBackgroundCopyFile2 is defined as 83E81B93-0873-474D-8A8C-F2018B1A939C |