网站首页  词典首页

请输入您要查询的函数:

 

术语 getconsoledisplaymode
释义 GetConsoleDisplayMode
语法:
C++
BOOL WINAPI GetConsoleDisplayMode(
__out LPDWORD lpModeFlags
);
GetConsoleDisplayMode功能
检索当前控制台的显示模式。
参数
lpModeFlags [out]
在控制台的显示模式。此参数可以是一个或多个下列值。
ValueMeaning
CONSOLE_FULLSCREEN
1Full屏幕控制台。在控制台的窗口最大化,尽快在这一模式。在这一点上,对全屏幕方式的转变仍然失败。
CONSOLE_FULLSCREEN_HARDWARE
2Full屏幕控制台沟通与视频硬件直接。这种模式设置后,控制台CONSOLE_FULLSCREEN模式表明,到全屏幕模式的过渡已经完成。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
要编译的应用程序使用此功能,定义_WIN32_WINNT为0x0500或更高版本。有关详细信息,请参阅使用Windows头。
要求:
最低支持client-Windows XP
最低支持serverWindows服务器2003
HeaderWincon.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
控制台函数
控制台模式
SetConsoleDisplayMode
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==GetConsoleDisplayMode Function
Retrieves the display mode of the current console.
Syntax
C++
BOOL WINAPI GetConsoleDisplayMode(
__out LPDWORD lpModeFlags
);
Parameters
lpModeFlags [out]
The display mode of the console. This parameter can be one or more of the following values.
ValueMeaning
CONSOLE_FULLSCREEN
1Full-screen console. The console is in this mode as soon as the window is maximized. At this point, the transition to full-screen mode can still fail.
CONSOLE_FULLSCREEN_HARDWARE
2Full-screen console communicating directly with the video hardware. This mode is set after the console is in CONSOLE_FULLSCREEN mode to indicate that the transition to full-screen mode has completed.

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 .
Remarks
To compile an application that uses this function, define _WIN32_WINNT as 0x0500 or later. For more information, see Using the Windows Headers .
Requirements
Minimum supported clientWindows XP
Minimum supported serverWindows Server 2003
HeaderWincon.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
Console Functions
Console Modes
SetConsoleDisplayMode
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms683164(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:25:13