Condividi tramite


CComControlBase::GetAmbientDisplayName

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

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

Reference

CComControlBase Class