HRESULT GetAmbientProperty( DISPID dispid, VARIANT& var );
Return Value
One of the standard HRESULT values.
Parameters
dispid
[in] Identifier of the container property to be retrieved.
var
[in] Variable to receive the property.
Remarks
Retrieves the container property specified by id.
ATL has provided a set of helper functions to retrieve specific properties, for example, GetAmbientBackColor. These functions retrieve specific properties.
CComControl Overview | Class Members
See Also CComControl::m_spClientSite, GetAmbient Property Methods