Partager via


IBackgroundCopyJob ::GetNotifyInterface, méthode (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 Descriptif
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 .

Spécifications

Requirement Valeur
Client minimum requis Windows XP
Serveur minimal pris en charge Windows Server 2003
plateforme cible Fenêtres
Header bits.h
Library Bits.lib
DLL QmgrPrxy.dll

Voir aussi

IBackgroundCopyCallback

IBackgroundCopyJob ::GetNotifyFlags

IBackgroundCopyJob ::SetNotifyInterface