LONG DrvQueryFontCaps(
ULONG culCaps, | |
ULONG *pulCaps | |
); |
DrvQueryFontCaps defines the capabilities of the font driver.
Parameters
culCaps
Specifies the number of ULONG values that can be written by the font driver.
pulCaps
Points to a buffer that will receive the ULONG values. The elements of the array have the following meanings:
Element | Meaning |
pulCaps[0] | A count of the number of ULONG values in the complete array. If culCaps is less than this value, then the caller will receive an incomplete array. |
pulCaps[1] | A set of flags that can be one or more of the following values:
QC_OUTLINES
QC_2_LEVEL
QC_4_LEVEL
QC_16_LEVEL |
Return Value
The return value is the number of ULONG values written to the destination buffer if the function is successful. Otherwise, it is FD_ERROR.
Comments
A driver might report that it supports more than one format for a font. For example, a driver could, in principle, return with both QC_2_LEVEL and QC_16_LEVEL set, indicating that it is capable of returning both monochrome and antialiased versions of the font. All bitmaps generated by a font driver must start and end on 32-bit boundaries. If necessary, the end of a bitmap should be “padded” to satisfy this requirement.
See Also