Compartilhar via


CFontHolder::GetFontDispatch

Call this function to retrieve a pointer to the font's dispatch interface.

LPFONTDISP GetFontDispatch( );

Return Value

A pointer to the CFontHolder object's IFontDisp interface. Note that the function that calls GetFontDispatch must call IUnknown::Release on this interface pointer when done with it.

Remarks

Call InitializeFont before calling GetFontDispatch.

Requirements

Header: afxctl.h

See Also

Reference

CFontHolder Class

Hierarchy Chart

CFontHolder::InitializeFont

Other Resources

CFontHolder Members