网站首页  词典首页

请输入您要查询的函数:

 

术语 getconsoleoutputcp
释义 GetConsoleOutputCP
语法:
C++
UINT WINAPI GetConsoleOutputCP(void);
GetConsoleOutputCP功能
检索输出代码页的控制台调用进程的相关使用。阿控制台使用其输出代码页转换的字符值的将在控制台窗口中显示图像的各种输出功能写的。
参数
这个函数没有参数。
返回值
返回值是一个代码标识的代码页。如需标识符列表,请参阅代码页标识符。
备注
代码页256字符代码映射到单个字符。不同的代码页包括不同的特殊字符,通常用于语言或语言群体定制。要检索更多信息的代码页,包括它的名字,看到GetCPInfoEx功能。
要设置控制台的输出代码页,使用SetConsoleOutputCP功能。要设置和查询控制台输入代码页,使用SetConsoleCP和GetConsoleCP功能。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWincon.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
控制台代码页
控制台函数
GetConsoleCP
SetConsoleCP
SetConsoleOutputCP
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==GetConsoleOutputCP Function
Retrieves the output code page used by the console associated with the calling process. A console uses its output code page to translate the character values written by the various output functions into the images displayed in the console window.
Syntax
C++
UINT WINAPI GetConsoleOutputCP(void);
Parameters
This function has no parameters.
Return Value
The return value is a code that identifies the code page. For a list of identifiers, see Code Page Identifiers .
Remarks
A code page maps 256 character codes to individual characters. Different code pages include different special characters, typically customized for a language or a group of languages. To retrieve more information about a code page, including it's name, see the GetCPInfoEx function.
To set a console's output code page, use the SetConsoleOutputCP function. To set and query a console's input code page, use the SetConsoleCP and GetConsoleCP functions.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWincon.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
Console Code Pages
Console Functions
GetConsoleCP
SetConsoleCP
SetConsoleOutputCP
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms683169(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:22:47