CComControlBase::GetAmbientDisplayName

 

Retrieves DISPID_AMBIENT_DISPLAYNAME, the name the container has supplied to the control.

Syntax

      HRESULT GetAmbientDisplayName(
   BSTR& bstrDisplayName 
); 

Parameters

  • bstrDisplayName
    The property DISPID_AMBIENT_DISPLAYNAME.

Return Value

One of the standard HRESULT values.

Requirements

Header: atlctl.h

See Also

CComControlBase Class