IOleAdviseHolder interface (oleidl.h)
Manages advisory connections and compound document notifications in an object server. Its methods are intended to be used to implement the advisory methods of IOleObject. IOleAdviseHolder is implemented on an advise holder object. Its methods establish and delete advisory connections from the object managed by the server to the object's container, which must contain an advise sink (support the IAdviseSink interface). The advise holder object must also keep track of which advise sinks are interested in which notifications and pass along the notifications as appropriate.
The IOleAdviseHolder interface inherits from the IUnknown interface. IOleAdviseHolder also has these types of members:
The IOleAdviseHolder interface has these methods.
Establishes an advisory connection between an OLE object and the calling object's advise sink. Through that sink, the calling object can receive notification when the OLE object is renamed, saved, or closed.
Creates an enumerator that can be used to enumerate the advisory connections currently established for an object.
Sends notification to all advisory sinks currently registered with the advise holder that the object has closed.
Sends notification to all advisory sinks currently registered with the advise holder that the name of object has changed.
Sends notification to all advisory sinks currently registered with the advise holder that the object has been saved.
Deletes a previously established advisory connection. (IOleAdviseHolder.Unadvise)
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|