다음을 통해 공유


INotifyConnection2::RegisterNotifySource 메서드

지정된 알림 소스를 설치합니다.

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

매개 변수

  • in_pNotifySource
    [in] 알림 소스로 사용할 개체를 지정합니다.

  • out_ppNotifySink
    [out] 알림 싱크로 사용할 개체를 받습니다.

반환 값

메서드가 성공하면 S_OK를 반환합니다.

요구 사항

헤더: ProtocolNotify2.idl

참고 항목

참조

INotifyConnection2 인터페이스

INotifySource2 인터페이스

INotifySink2 인터페이스

INotifyConnection2::UnregisterNotifySource 메서드