IOleAdviseHolder::SendOnRename 13RUAFN
Sends IAdviseSink::OnRename4.U2Y5P notifications to all
advisory sinks currently registered with the advise holder.
HRESULT SendOnRename(
IMoniker *pmk
|
//Pointer to an interface on the new moniker
|
);
|
|
Parameter
pmk
[in] Pointer
to the new full moniker of the object.
Return Value
S_OK
Advise sinks
were sent IAdviseSink::OnRename4.U2Y5P notifications.
Remarks
IOleAdviseHolder::SendOnRename calls IAdviseSink::OnRename4.U2Y5P 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 CreateOleAdviseHolder21F74AP), you can call IOleAdviseHolder::SendOnRename
in the implementation of IOleObject::SetMoniker1NNB4RF, when you have determined
that the operation is successful.
See Also
IAdviseSink::OnRename