IfmSystem::GetFMSystemFont

This method retrieves one of the two system fonts.

Syntax

HRESULT GetFMSystemFont( OLE_HANDLE hFC, BOOL fSmall, IDispatch **ppdispFont);

Parameters

hFC
Handle to the Forms Manager’s context. It is FC_MAINFACEPLATE.
fSmall
Boolean that is set to TRUE for the small system font, or to FALSE for the large system font.
ppdispFont
Pointer to the pointer to the font.

Return Values

NOERROR indicates success. If an error occurs, the appropriate HRESULT value is returned.

Remarks

Context handles are always to the faceplate screen.

For Microsoft Windows CE for the Auto PC, the font size is 10000 times value of the lower 32 bits of the psize variable used in the Component Object Module (COM) IFont::get_Size and IFont::put_Size methods.