INotifyConnection2::UnregisterNotifySource 方法

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

HRESULT UnregisterNotifySource
(
    [in]  INotifySource2*  in_pNotifySource
);

参数

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

返回值

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

要求

**头文件:**ProtocolNotify2.idl

请参见

参考

INotifyConnection2 接口

INotifySource2 接口

INotifySink2 接口

INotifyConnection2::RegisterNotifySource 方法