Interface IBackgroundCopyFile2 (bits2_0.h)
Utilisez l’interface IBackgroundCopyFile2 pour spécifier un nouveau nom distant pour le fichier et récupérer la liste des plages à télécharger.
L’interface IBackgroundCopyFile2 hérite de l’interface IBackgroundCopyFile.
Pour obtenir un pointeur d’interface IBackgroundCopyFile2 , appelez la méthode IBackgroundCopyFile ::QueryInterface à l’aide de __uuidof(IBackgroundCopyFile2) pour l’identificateur d’interface. Utilisez le pointeur d’interface IBackgroundCopyFile2 pour appeler les méthodes IBackgroundCopyFile et IBackgroundCopyFile2 .
Héritage
L’interface IBackgroundCopyFile2 hérite de IBackgroundCopyFile. IBackgroundCopyFile2 a également les types de membres suivants :
Méthodes
L’interface IBackgroundCopyFile2 a ces méthodes.
IBackgroundCopyFile2 ::GetFileRanges Récupère les plages que vous souhaitez télécharger à partir du fichier distant. |
IBackgroundCopyFile2 ::SetRemoteName Remplace le nom distant par une nouvelle URL dans un travail de téléchargement. |
Configuration requise
Condition requise | Valeur |
---|---|
Client minimal pris en charge | Windows Vista, Windows XP avec SP2 KB842773 sur Windows Server 2003 et Windows XP |
Serveur minimal pris en charge | Windows Server 2008, Windows Server 2003 avec SP1 |
Plateforme cible | Windows |
En-tête | bits2_0.h (include Bits.h) |
Voir aussi
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour