网站首页  词典首页

请输入您要查询的函数:

 

术语 getcpinfoex
释义 GetCPInfoEx
语法:
BOOL GetCPInfoEx(
__in UINT CodePage,
__in DWORD dwFlags,
__out LPCPINFOEX lpCPInfoEx
);
GetCPInfoEx功能
检索有关任何有效的安装或使用的代码页。
参数
代码页 [in]
标识符代码页的检索信息。有关详细信息,请参阅GetCPInfo代码页参数。
dwFlags [in]
版权所有;必须为0。
lpCPInfoEx [out]
指针CPINFOEX结构,收到有关的代码页的信息。
返回值
返回一个非零值如果成功,或否则为0。为了获得更多错误信息,应用程序可以调用GetLastError函数,可以返回以下错误代码之一:
ERROR_INVALID_PARAMETER。该参数值的任何无效。
备注
见GetCPInfo备注。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinnls.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
Unicode和ANSI namesGetCPInfoExW(Unicode)和GetCPInfoExA(ANSI)的
参见
国家语言支持
国家语言支持功能
GetACP
GetCPInfo
GetOEMCP
CPINFOEX
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月12号
==英文原文==GetCPInfoEx Function
Retrieves information about any valid installed or available code page.
Syntax
BOOL GetCPInfoEx(
__in UINT CodePage,
__in DWORD dwFlags,
__out LPCPINFOEX lpCPInfoEx
);
Parameters
CodePage [in]
Identifier for the code page for which to retrieve information. For details, see the CodePage parameter of GetCPInfo .
dwFlags [in]
Reserved; must be 0.
lpCPInfoEx [out]
Pointer to a CPINFOEX structure that receives information about the code page.
Return Value
Returns a nonzero value if successful, or 0 otherwise. To get extended error information, the application can call GetLastError , which can return one of the following error codes:
ERROR_INVALID_PARAMETER. Any of the parameter values was invalid.
Remarks
See Remarks for GetCPInfo .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinnls.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
Unicode and ANSI namesGetCPInfoExW (Unicode) and GetCPInfoExA (ANSI)
See Also
National Language Support
National Language Support Functions
GetACP
GetCPInfo
GetOEMCP
CPINFOEX
Send comments about this topic to Microsoft
Build date: 7/12/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd318081(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:27:44