다음을 통해 공유


INotifyConnection2::RegisterNotifySource 메서드

지정된 알림 원본을 설치합니다.

구문

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

매개 변수

in_pNotifySource
[in] 알림 원본으로 사용할 개체를 지정합니다.

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

반환 값

메서드가 성공하면 S_OK.

요구 사항

헤더: ProtocolNotify2.idl

참고 항목