BOOL GetFontMapperControls(pfmctrl, cbBuffer) | |||
LPFMCONTROLS pfmctrl; | |||
DWORD cbBuffer; |
This function copies the current of the font mapper control for this process to a buffer provided by the application.
pfmctrl
Points to a to receive the FMCONTROLS structure for this process. The FMCONTROLS structure defines various weightings of font attributes in addition to other information that affects the operation of EnumNearestFonts. The FMCONTROLS structure has the following form:
typedef struct tagFMCONTROLS { /* fmct */
DWORD size;
DWORD penaltySumMax;
FMPENALTYSET fmpsMax;
FMWEIGHTSET fmws;
FMORDER fmorder;
} FMCONTROLS;
cbBuffer
This is the size of the applications buffer in bytes. GDI will never write beyond this limit.
The return value is TRUE if the function was successful, or FALSE if an error occurred. To obtain extended error information, use the GetLastError function.
FMCONTROLS SetFontMapperControls DiffFonts