Sends IAdviseSink::OnRename notifications to all advisory sinks currently registered with the advise holder.
HRESULT SendOnRename(
IMoniker *pmk |
//Pointer to an interface on the new moniker |
); |
Parameter
Return Value
Remarks
IOleAdviseHolder::SendOnRename calls IAdviseSink::OnRename to advise the calling object, which must have already established an advisory connection, that the object has a new moniker. If you are using the OLE advise holder (having obtained a pointer through a call to CreateOleAdviseHolder), you can call IOleAdviseHolder::SendOnRename in the implementation of IOleObject::SetMoniker, when you have determined that the operation is successful.
See Also