This topic has not yet been rated - Rate this topic

IAdviseSink::OnRename method

Applies to: desktop apps only

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

Syntax

void OnRename(
  [in]  IMoniker *pmk
);

Parameters

pmk [in]

A pointer to the IMoniker interface on the new full moniker of the object.

Return value

This method does not return a value.

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.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

ObjIdl.h

IDL

ObjIdl.idl

IID

IID_IAdviseSink is defined as 00000150-0000-0000-C000-000000000046

See also

IAdviseSink

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ