HRESULT DispEventAdvise( IUnknown* pUnk );
Return Value
S_OK or any failure HRESULT value.
Parameters
pUnk
[in] A pointer to the IUnknown interface of the event source object.
Remarks
Call this method to establish a connection with the event source represented by pUnk. Subsequently, events fired from pUnk will be routed to handlers in your class via the event sink map.
Note If your class derives from multiple IDispEventSimpleImpl classes, you will need to disambiguate calls to this method by scoping the call with the particular base class you're interested in.
IDispEventSimpleImpl Overview | Class Members
See Also