网站首页  词典首页

请输入您要查询的函数:

 

术语 getcurrentconsolefontex
释义 GetCurrentConsoleFontEx
语法:
C++
BOOL WINAPI GetCurrentConsoleFontEx(
__in HANDLE hConsoleOutput,
__in BOOL bMaximumWindow,
__out PCONSOLE_FONT_INFOEX lpConsoleCurrentFontEx
);
GetCurrentConsoleFontEx功能
扩展检索有关当前控制台字体信息。
参数
hConsoleOutput [in]
句柄到控制台屏幕缓冲区。句柄必须有GENERIC_READ访问的权利。有关更多信息,参见控制台缓冲区安全和访问权限。
bMaximumWindow [in]
如果此参数为TRUE,字体信息的最大窗口大小检索。如果此参数为FALSE,字体信息是当前窗口的大小检索。
lpConsoleCurrentFontEx [out]
一个 CONSOLE_FONT_INFOEX结构得到所要求的字体信息的指针。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
要求:
client最低支持Vista
server最低支持 Windows Server 2008
HeaderWincon.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
控制台函数
CONSOLE_FONT_INFOEX
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==GetCurrentConsoleFontEx Function
Retrieves extended information about the current console font.
Syntax
C++
BOOL WINAPI GetCurrentConsoleFontEx(
__in HANDLE hConsoleOutput,
__in BOOL bMaximumWindow,
__out PCONSOLE_FONT_INFOEX lpConsoleCurrentFontEx
);
Parameters
hConsoleOutput [in]
A handle to the console screen buffer. The handle must have the GENERIC_READ access right. For more information, see Console Buffer Security and Access Rights .
bMaximumWindow [in]
If this parameter is TRUE, font information is retrieved for the maximum window size. If this parameter is FALSE, font information is retrieved for the current window size.
lpConsoleCurrentFontEx [out]
A pointer to a CONSOLE_FONT_INFOEX structure that receives the requested font information.
Return Value
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 .
Requirements
Minimum supported clientWindows Vista
Minimum supported serverWindows Server 2008
HeaderWincon.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
Console Functions
CONSOLE_FONT_INFOEX
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms683177(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 11:26:05