IBackgroundCopyFile2 接口
使用 IBackgroundCopyFile2 接口为文件指定新的远程名称,并检索要下载的范围列表。
IBackgroundCopyFile2 接口继承自 IBackgroundCopyFile 接口。
若要获取 IBackgroundCopyFile2 接口指针,请使用接口标识符__uuidof (IBackgroundCopyFile2) 调用 IBackgroundCopyFile2: :QueryInterface 方法。 使用 IBackgroundCopyFile2 接口指针调用 IBackgroundCopyFile 和 IBackgroundCopyFile2 方法。
成员
IBackgroundCopyFile2 接口继承自 IBackgroundCopyFile。 IBackgroundCopyFile2 还具有以下类型的成员:
方法
IBackgroundCopyFile2 接口具有这些方法。
方法 | 说明 |
---|---|
GetFileRanges | 检索要从 URL 下载的范围数组。 |
SetRemoteName | 将远程名称更改为新 URL。 |
要求
要求 | 值 |
---|---|
最低受支持的客户端 |
Windows 10版本 1709 [仅限桌面应用] |
最低受支持的服务器 |
Windows Server 版本 1709 [仅限桌面应用] |
标头 |
|
IDL |
|
库 |
|
DLL |
|
IID |
IID_IBackgroundCopyFile2定义为 83E81B93-0873-474D-8A8C-F2018B1A939C |