共用方式為


INotifyConnection2::UnregisterNotifySource 方法

從連接中移除指定的通知來源物件。

語法

HRESULT UnregisterNotifySource  
(  
    [in]  INotifySource2*  in_pNotifySource  
);  

參數

in_pNotifySource
[in]要取消註冊的通知物件。

傳回值

如果方法成功,S_OK。

規格需求

頭: ProtocolNotify2.idl

另請參閱