CComControl::GetAmbientFont

HRESULT GetAmbientFont( IFont** ppFont );

Return Value

One of the standard HRESULT values.

Parameters

ppFont

[out] The property DISPID_AMBIENT_FONT.

Remarks

Retrieves DISPID_AMBIENT_FONT, a pointer to the container's ambient IFont dispatch interface. If the property is NULL, the pointer is NULL. If the pointer is not NULL, the caller must release the pointer.

CComControl OverviewClass Members

See Also   GetAmbient Property Methods