Skip to content

Latest commit

 

History

History
67 lines (56 loc) · 2.33 KB

nf-objidl-iadvisesink-onrename.md

File metadata and controls

67 lines (56 loc) · 2.33 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:objidl.IAdviseSink.OnRename
IAdviseSink::OnRename (objidl.h)
Called by the server to notify all registered advisory sinks that the object has been renamed.
IAdviseSink interface [COM]
OnRename method
IAdviseSink.OnRename
IAdviseSink::OnRename
OnRename
OnRename method [COM]
OnRename method [COM]
IAdviseSink interface
_ole_iadvisesink_onrename
com.iadvisesink_onrename
objidl/IAdviseSink::OnRename
com\iadvisesink_onrename.htm
com
ec9926fb-d69e-430c-b67d-24c52d806bb5
12/05/2018
IAdviseSink interface [COM],OnRename method, IAdviseSink.OnRename, IAdviseSink::OnRename, OnRename, OnRename method [COM], OnRename method [COM],IAdviseSink interface, _ole_iadvisesink_onrename, com.iadvisesink_onrename, objidl/IAdviseSink::OnRename
objidl.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
ObjIdl.idl
Windows
19H1
IAdviseSink::OnRename
objidl/IAdviseSink::OnRename
c++
APIRef
kbSyntax
COM
ObjIdl.h
IAdviseSink.OnRename

IAdviseSink::OnRename

-description

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

-parameters

-param pmk [in]

A 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.

-see-also

IAdviseSink