Méthode ibackgroundcopyjob :: GetNotifyInterface, méthode

Récupère le pointeur d’interface vers votre implémentation de l’interface IBackgroundCopyCallback .

Syntaxe

HRESULT GetNotifyInterface(
  [out] IUnknown **ppNotifyInterface
);

Paramètres

ppNotifyInterface [ à]

Pointeur d’interface vers votre implémentation de l’interface IBackgroundCopyCallback . Lorsque vous avez terminé, libérez ppNotifyInterface.

Valeur de retour

Cette méthode retourne les valeurs HRESULT suivantes, ainsi que d’autres.

Code de retour Description
S_OK * * * * *
Le pointeur d’interface de notification a été correctement récupéré.

Spécifications

Condition requise Valeur
Client minimal pris en charge
Windows 10, les applications de bureau version 1709 [ uniquement]
Serveur minimal pris en charge
Windows Serveur, version 1709 [ applications de bureau uniquement]
En-tête
Deliveryoptimization. h
MIDL
DeliveryOptimization. idl
Bibliothèque
Dosvc. lib
DLL
Dosvc.dll
IID
IID_IBackgroundCopyJob est défini en tant que 37668D37-507E-4160-9316-26306D150B12

Voir aussi

Méthode ibackgroundcopyjob

IBackgroundCopyCallback

Méthode ibackgroundcopyjob :: GetNotifyFlags

Méthode ibackgroundcopyjob :: SetNotifyInterface