SetFontMapperControls

  BOOL SetFontMapperControls(pfmctrl, iMode)    
  LPFMCONTROLS pfmctrl;    
  DWORD iMode;    

The SetFontMapperControls controls the behavior of the EnumNearestFonts function for this process.

Parameters

pfmctrl

Points to a FMCONTROLS structure that defines various weightings and associated penalty cutoff's of font attributes. The FMCONTROLS structure has the following form:

typedef struct tagFMCONTROLS { /* fmct */

DWORD size;

DWORD penaltySumMax;

FMPENALTYSET fmpsMax;

FMWEIGHTSET fmws;

FMORDER fmorder;

} FMCONTROLS;

iMode

This is a reserved field that is required to be zero for this release of Windows.

Return Value

This functions returns TRUE if successful otherwise FALSE.

See Also

FMCONTROLS, GetFontMapperControls, DiffFonts