IConnectionPoint.Advise(Object, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Establishes an advisory connection between the connection point and the caller's sink object.
public:
void Advise(System::Object ^ pUnkSink, [Runtime::InteropServices::Out] int % pdwCookie);
public void Advise (object pUnkSink, out int pdwCookie);
abstract member Advise : obj * int -> unit
Public Sub Advise (pUnkSink As Object, ByRef pdwCookie As Integer)
Parameters
- pUnkSink
- Object
A reference to the sink to receive calls for the outgoing interface managed by this connection point.
- pdwCookie
- Int32
When this method returns, contains the connection cookie. This parameter is passed uninitialized.
Remarks
For more information, see the existing documentation for IConnectionPoint::Advise
in the MSDN library.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om