Share via


Interfaccia IBackgroundCopyFile2 (bits2_0.h)

Usare l'interfaccia IBackgroundCopyFile2 per specificare un nuovo nome remoto per il file e recuperare l'elenco di intervalli da scaricare.

L'interfaccia IBackgroundCopyFile2 eredita dall'interfaccia IBackgroundCopyFile .

Per ottenere un puntatore dell'interfaccia IBackgroundCopyFile2 , chiamare il metodo IBackgroundCopyFile::QueryInterface usando __uuidof(IBackgroundCopyFile2 ) per l'identificatore dell'interfaccia. Usare il puntatore dell'interfaccia IBackgroundCopyFile2 per chiamare sia i metodi IBackgroundCopyFile2 che IBackgroundCopyFile2.

Ereditarietà

L'interfaccia IBackgroundCopyFile2 eredita da IBackgroundCopyFile. IBackgroundCopyFile2 include anche questi tipi di membri:

Metodi

L'interfaccia IBackgroundCopyFile2 include questi metodi.

 
IBackgroundCopyFile2::GetFileRanges

Recupera gli intervalli da scaricare dal file remoto.
IBackgroundCopyFile2::SetRemoteName

Modifica il nome remoto in un nuovo URL in un processo di download.

Requisiti

Requisito Valore
Client minimo supportato Windows Vista, Windows XP con SP2,KB842773 in Windows Server 2003 e Windows XP
Server minimo supportato Windows Server 2008, Windows Server 2003 con SP1
Piattaforma di destinazione Windows
Intestazione bits2_0.h (includere Bits.h)

Vedi anche

IBackgroundCopyFile