共用方式為


IBackgroundCopyJob::GetNotifyInterface 方法(bits.h)

取得你實作 IBackgroundCopyCallback 介面的介面指標。

語法

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

參數

[out] pVal

介面指標指向你實作的 IBackgroundCopyCallback 介面。 完成後,釋放 ppNotifyInterface

返回值

此方法回傳以下 HRESULT 值及其他值。

回傳碼 Description
S_OK
通知介面指標已成功取得。
E_INVALIDARG
必須傳遞 ppNotifyInterface 指標的位址。

需求

Requirement 價值觀
最低支援的用戶端 視窗XP
支援的最低伺服器 Windows Server 2003
目標平臺 窗戶
Header Bits.h
Library Bits.lib
DLL QmgrPrxy.dll

另請參閱

IBackgroundCopyCallback

IBackgroundCopyJob::GetNotifyFlags

IBackgroundCopyJob::SetNotifyInterface