Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This method advises the sink that an object name has changed.
Syntax
void OnRename( IMoniker* pmk ); |
Parameters
- pmk
-
[in] Pointer to the IMonikerinterface on the new full moniker of the object.
Return Value
None.
Remarks
OLE link objects normally implement OnRenameto receive notification of a change in the name of a link source or its container.
The object serving as the link source calls OnRenameand 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
Header | objidl.h, objidl.idl |
Library | oleaut32.lib, uuid.lib |
Windows Embedded CE | Windows CE 2.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |