网站首页  词典首页

请输入您要查询的函数:

 

术语 enumcodepagesproc
释义 EnumCodePagesProc
语法:
BOOL CALLBACK EnumCodePagesProc(
__in LPTSTR lpCodePageString
);
EnumCodePagesProc功能
一个应用程序定义的回调函数,过程列举代码页资料EnumSystemCodePages功能提供。在CODEPAGE_ENUMPROC类型定义一个指向这个回调函数。 EnumCodePagesProc是一个应用程序的占位符定义函数的名称。
参数
lpCodePageString [in]
缓冲区指针包含空终止代码页标识符字符串。
返回值
继续返回TRUE或FALSE,否则枚举。
备注
一个EnumCodePagesProc函数可以执行任何所需的任务。该应用程序注册这个函数的地址传递给EnumSystemCodePages功能。
当一个应用程序正在使用此函数保存数据,以确定适当的代码页,它应该尽可能使用Unicode。其他代码网页不会被移植为Unicode供应商之间或操作系统,由于相关标准的不同实现。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinnls.h(头文件:winuser.h)
参见
国家语言支持
国家语言支持功能
EnumSystemCodePages
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月12号
==英文原文==EnumCodePagesProc Function
An application-defined callback function that processes enumerated code page information provided by the EnumSystemCodePages function. The CODEPAGE_ENUMPROC type defines a pointer to this callback function. EnumCodePagesProc is a placeholder for the application-defined function name.
Syntax
BOOL CALLBACK EnumCodePagesProc(
__in LPTSTR lpCodePageString
);
Parameters
lpCodePageString [in]
Pointer to a buffer containing a null-terminated code page identifier string.
Return Value
Returns TRUE to continue enumeration or FALSE otherwise.
Remarks
An EnumCodePagesProc function can carry out any desired task. The application registers this function by passing its address to the EnumSystemCodePages function.
When an application is using this function to determine an appropriate code page for saving data, it should use Unicode when possible. Other code pages are not as portable as Unicode between vendors or operating systems, due to different implementations of the associated standards.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinnls.h (include Windows.h)
See Also
National Language Support
National Language Support Functions
EnumSystemCodePages
Send comments about this topic to Microsoft
Build date: 7/12/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd317809(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:28:39