LONG DrvQueryFontFile(
IN ULONG iFile, | |
IN ULONG ulMode, | |
IN ULONG cjBuf, | |
IN ULONG *pulBuf | |
); |
DrvQueryFontFile provides font file information.
Value |
Meaning |
QFF_DESCRIPTION |
The function provides a string that Windows NT will use to describe the font file. A zero-terminated Unicode string is written to the buffer pointed to by pulBuffer. |
QFF_NUMFACES |
The function returns the number of typefaces in the font file; the cjBuf and pulBuf parameters are ignored. Typefaces are identified by an index ranging from one through the number of typefaces. |
If ulMode is QFF_NUMFACES, then the return value is the number of faces in the font file. If pulBuf is null, it is the number of bytes of data that would be written to pulBuf; otherwise, it is the number of bytes written to pulBuf. If an error occurs, the return value is FD_ERROR.
DrvQueryFontFile is required for font drivers.