Partilhar via


CComControlBase::GetAmbientLocaleID

Retrieves DISPID_AMBIENT_LOCALEID, the identifier of the language used by the container.

HRESULT GetAmbientLocaleID(
   LCID& lcid 
);

Parameters

  • lcid
    The property DISPID_AMBIENT_LOCALEID.

Return Value

One of the standard HRESULT values.

Remarks

The control can use this identifier to adapt its user interface to different languages.

Requirements

Header: atlctl.h

See Also

Reference

CComControlBase Class

Other Resources

CComControlBase Members

CComControlBase Members