IBackgroundCopyJob::GetNotifyInterface 方法

擷取 IBackgroundCopyCallback 介面實作的介面指標。

語法

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

參數

ppNotifyInterface [out]

IBackgroundCopyCallback介面實作的介面指標。 完成後,請發行 ppNotifyInterface

傳回值

這個方法會傳回下列 HRESULT 值,以及其他值。

傳回碼 描述
S_OK
已成功擷取通知介面指標。

規格需求

需求
最低支援的用戶端
Windows 10版本 1709 [僅限傳統型應用程式]
最低支援的伺服器
Windows Server 版本 1709 [僅限傳統型應用程式]
標頭
Deliveryoptimization.h
IDL
DeliveryOptimization.idl
程式庫
Dosvc.lib
DLL
Dosvc.dll
IID
IID_IBackgroundCopyJob定義為 37668D37-507E-4160-9316-26306D150B12

另請參閱

IBackgroundCopyJob

IBackgroundCopyCallback

IBackgroundCopyJob::GetNotifyFlags

IBackgroundCopyJob::SetNotifyInterface