Share via


Méthode IBackgroundCopyJob ::GetNotifyInterface (bits.h)

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

Syntaxe

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

Paramètres

[out] pVal

Pointeur d’interface vers votre implémentation de l’interface IBackgroundCopyCallback . Lorsque vous avez terminé, relâchez ppNotifyInterface.

Valeur retournée

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

Code de retour Description
S_OK
Le pointeur de l’interface de notification a été récupéré avec succès.
E_INVALIDARG
Doit passer l’adresse du pointeur d’interface ppNotifyInterface .

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows XP
Serveur minimal pris en charge Windows Server 2003
Plateforme cible Windows
En-tête bits.h
Bibliothèque Bits.lib
DLL QmgrPrxy.dll

Voir aussi

IBackgroundCopyCallback

IBackgroundCopyJob ::GetNotifyFlags

IBackgroundCopyJob ::SetNotifyInterface