Share via


INotifyConnection2::RegisterNotifySource Method

Installs a specified notification source.

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

Reference

INotifyConnection2 Interface
INotifySource2 Interface
INotifySink2 Interface
INotifyConnection2::UnregisterNotifySource Method