网站首页  词典首页

请输入您要查询的函数:

 

术语 getrasterizercaps
释义 GetRasterizerCaps
语法:
BOOL GetRasterizerCaps(
__out LPRASTERIZER_STATUS lprs,
__in UINT cb
);
GetRasterizerCaps功能
函数返回的GetRasterizerCaps标志,说明是否TrueType字体是在系统中安装。
参数
lprs [out]
一个 RASTERIZER_STATUS结构光栅接收有关信息的指针。
文件 [in]
的字节数要复制到结构指向的lprs参数。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
该GetRasterizerCaps功能使应用程序和打印机驱动程序,以确定是否已安装TrueType字体。
如果TT_AVAILABLE标志被设置在RASTERIZER_STATUS结构wFlags成员,至少有一个TrueType字体安装。如果TT_ENABLED标志设置的TrueType启用该系统。
复制的实际字节数或者是在CB参数中指定的成员或RASTERIZER_STATUS结构,以较少者为准长度。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
字体和文字概述
字体和文本函数
GetOutlineTextMetrics
RASTERIZER_STATUS
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==GetRasterizerCaps Function
The GetRasterizerCaps function returns flags indicating whether TrueType fonts are installed in the system.
Syntax
BOOL GetRasterizerCaps(
__out LPRASTERIZER_STATUS lprs,
__in UINT cb
);
Parameters
lprs [out]
A pointer to a RASTERIZER_STATUS structure that receives information about the rasterizer.
cb [in]
The number of bytes to be copied into the structure pointed to by the lprs parameter.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
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.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Fonts and Text Overview
Font and Text Functions
GetOutlineTextMetrics
RASTERIZER_STATUS
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd144919(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:20:39