INotifyConnection2::UnregisterNotifySource 方法

更新:2007 年 11 月

从连接中移除指定的通知源对象。

HRESULT UnregisterNotifySource
(
    [in]  INotifySource2*  in_pNotifySource
);

参数

  • in_pNotifySource
    [in] 要注销的通知对象。

返回值

如果此方法成功,则返回 S_OK。

要求

**头文件:**ProtocolNotify2.idl

请参见

参考

INotifyConnection2

INotifySource2

INotifySink2

INotifyConnection2::RegisterNotifySource 方法