Compartilhar via


IAdviseSink::OnRename (Windows CE 5.0)

Send Feedback

This method advises the sink that an object name has changed.

void OnRename( IMoniker* pmk);

Parameters

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

Return Values

None.

Remarks

OLE link objects normally implement 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.

To determine whether the platform supports this interface, see Determining Supported COM APIs.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Objidl.h, Objidl.idl
Link Library: Oleaut32.lib, Uuid.lib.

See Also

IAdviseSink | Determining Supported COM APIs | IMoniker

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.