Share via


CComControlBase::GetAmbientFont

Retrieves a pointer to the container's ambient IFont interface.

HRESULT GetAmbientFont( 
   IFont** ppFont  
);

Parameters

  • ppFont
    A pointer to the container's ambient IFont interface.

Return Value

One of the standard HRESULT values.

Remarks

If the property is NULL, the pointer is NULL. If the pointer is not NULL, the caller must release the pointer.

Requirements

Header: atlctl.h

See Also

Reference

CComControlBase Class