BOOL DrvQueryAdvanceWidths(
DHPDEV dhpdev, | |
FONTOBJ *pfo, | |
ULONG iMode, | |
HGLYPH *phg, | |
PVOID *pvWidths, | |
ULONG cGlyphs | |
); |
DrvQueryAdvanceWidths returns character advance widths for a specified set of glyphs.
Value |
Meaning |
QAW_GETWIDTHS |
The character advance widths are recorded as an array of 12.4 fixed-point numbers. This mode will not be used if the widths exceed the range of the 12.4 representation. The function returns TRUE if successful. |
QAW_GETEASYWIDTHS |
The character advance widths are returned as an array of 12.4 fixed-point numbers. This mode will not be used if the widths exceed the range of the 12.4 representation. This routine should compute widths as quickly as possible. If the computation of a glyph’s character advance width cannot be accomplished efficiently, the driver should write 0xFFFF into the buffer for that glyph. The function returns DDI_ERROR if an error occurs, FALSE if not all widths can be efficiently computed for this mode, or TRUE in all other cases. |
The return value is dependent on the value of the iMode parameter.