Edit

Share via


INotifyConnection2::RegisterNotifySource Method

Installs a specified notification source.

Syntax

HRESULT RegisterNotifySource  
(  
    [in]  INotifySource2*  in_pNotifySource,  
    [out] INotifySink2**   out_ppNotifySink  
);  

Parameters

in_pNotifySource
[in] Specifies the object to be used as the notification source.

out_ppNotifySink
[out] Receives the object to be used as the notification sink.

Return Value

S_OK if the method succeeds.

Requirements

Header: ProtocolNotify2.idl

See also