Sends notification that the object has closed to all advisory sinks currently registered with the advise holder.
HRESULT SendOnClose();
Return Value
Remarks
IOleAdviseHolder::SendOnClose must call IAdviseSink::OnClose on all advise sinks that have a valid advisory connection with the object, whenever the object goes from the running state to the loaded state. This occurs through a call to IOleObject::Close, so you can call IOleAdviseHolder::SendOnClose when you determine that a Close operation has been successful.
See Also