DrvQueryFontCaps function (winddi.h)
The DrvQueryFontCaps function defines the capabilities of the font driver.
Syntax
LONG DrvQueryFontCaps(
ULONG culCaps,
ULONG *pulCaps
);
Parameters
culCaps
Specifies the number of ULONG values in the array pointed to by the pulCaps parameter that can be written by the font driver.
pulCaps
Pointer to an array that receives the number of values specified in the first parameter. 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:
|
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.
Remarks
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_1BIT and QC_4BIT 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.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | winddi.h (include Winddi.h) |