|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| gdi32.lib
| Header File
| wingdi.h
| Unicode
| No
| Platform Notes
| Windows 95: int == 16 bits
|
|
|
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 structure to receive information about the rasterizer.
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 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.
See Also
GetOutlineTextMetrics, RASTERIZER_STATUS
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|