BOOL GetRasterizerCaps(lpraststat, cb) | |||||
RASTERIZER_STATUS FAR* lpraststat; | /* address of structure for status | */ | |||
int cb; | /* number of bytes in structure | */ |
The GetRasterizerCaps function returns flags indicating whether TrueType fonts are installed in the system.
lpraststat
Points to a RASTERIZER_STATUS structure that receives information about the rasterizer. The RASTERIZER_STATUS structure has the following form:
typedef struct tagRASTERIZER_STATUS { /* rs */
int nSize;
int wFlags;
int nLanguageID;
} RASTERIZER_STATUS;
For a full description of this structure, see the Microsoft Windows Programmer's Reference, Volume 3.
cb
Specifies the number of bytes that will be copied into the structure pointed to by the lpraststat parameter.
The return value is nonzero if the function is successful. Otherwise, it is zero.
The GetRasterizerCaps function enables applications and printer drivers to determine whether TrueType is installed.
If the TT_AVAILABLE flag is set in the wFlags member of the RASTERIZER_STATUS structure, at least one TrueType font is installed. If the TT_ENABLED flag is set, TrueType is enabled for the system.