GetRasterizerCaps
The GetRasterizerCaps
function returns flags indicating whether TrueType fonts are installed in the
system.
BOOL GetRasterizerCaps(
LPRASTERIZER_STATUS lprs, |
// address of
rasterizer information structure |
UINT cb |
// number of bytes
in structure |
); |
|
Parameters
lprs
Points to a RASTERIZER_STATUS
cb
Specifies the
number of bytes to be copied into the structure pointed to by the lprs
parameter.
Return Values
If the
function succeeds, the return value is nonzero.
If the
function fails, the return value is zero. To get extended error information,
call GetLastError
Remarks
The GetRasterizerCaps
function enables applications and printer drivers to determine whether TrueType
fonts are installed.
If the
TT_AVAILABLE flag is set in the wFlags member of the RASTERIZER_STATUS
The actual number
of bytes copied is either the member specified in the cb parameter or
the length of the RASTERIZER_STATUS structure, whichever is less.
See Also