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 |
); |
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.
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 structure, at least one TrueType font is installed. If the TT_ENABLED flag is set, TrueType is enabled for the system.
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.
GetOutlineTextMetrics, RASTERIZER_STATUS
file: /Techref/os/win/api/win32/func/src/f38_2.htm, 2KB, , updated: 2000/4/7 12:19, local time: 2024/8/23 15:38,
18.227.46.196:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/Techref/os/win/api/win32/func/src/f38_2.htm"> GetRasterizerCaps</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.