|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Breaks the connection with the event source represented by pUnk.
[in] A pointer to the IUnknown interface of the event source object.
A pointer to the IID of the event source object.
Once the connection is broken, events will no longer be routed to the handler functions listed in the event sink map.
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 are interested in.
DispEventAdvise breaks a connection that was established with the event source specified in pdiid.