IAdviseSink::OnRename

Called by the server to notify all registered advisory sinks that the object has been renamed.

Void OnRename(
  IMoniker * pmk  //Pointer to the new moniker of the object
);
 

Parameter

pmk
[in] Pointer to the IMoniker interface on the new full moniker of the object.

Remarks

OLE link objects normally implement IAdviseSink::OnRename to receive notification of a change in the name of a link source or its container. The object serving as the link source calls OnRename and passes its new full moniker to the object handler, which forwards the notification to the link object. In response, the link object must update its moniker. The link object, in turn, forwards the notification to its own container.

QuickInfo

  Windows NT: Use version 3.1 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in objidl.h.