IBackgroundCopyJob::GetNotifyInterface 方法 (bits.h)

检索指向 IBackgroundCopyCallback 接口实现的接口指针。

Syntax

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

参数

[out] pVal

指向 IBackgroundCopyCallback 接口实现的接口指针。 完成后,释放 ppNotifyInterface

返回值

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

返回代码 Description
S_OK
已成功检索通知接口指针。
E_INVALIDARG
必须传递 ppNotifyInterface 接口指针的地址。

要求

Requirement 价值
最低支持的客户端 Windows XP
支持的最低服务器 Windows Server 2003
目标平台 Windows操作系统
Header bits.h
Library Bits.lib
DLL QmgrPrxy.dll

另请参阅

IBackgroundCopyCallback

IBackgroundCopyJob::GetNotifyFlags

IBackgroundCopyJob::SetNotifyInterface