Share via


CComControlBase::SendOnRename

Notifies all advisory sinks registered with the advise holder that the control has a new moniker.

HRESULT SendOnRename(
   IMoniker* pmk 
);

Parameters

  • pmk
    Pointer to the new moniker of the control.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Remarks

Sends a notification that the moniker for the control has changed.

Requirements

Header: atlctl.h

See Also

Reference

CComControlBase Class

CComControlBase::m_spOleAdviseHolder

Other Resources

CComControlBase Members