术语 | enumlanguagegrouplocalesproc |
释义 | EnumLanguageGroupLocalesProc 语法: BOOL CALLBACK EnumLanguageGroupLocalesProc( __in LGRPID LanguageGroup, __in LCID Locale, __in LPTSTR lpLocaleString, __in LONG_PTR lParam ); EnumLanguageGroupLocalesProc功能 一个应用程序定义的回调函数,过程列举语文组区域资料EnumLanguageGroupLocales功能提供。在LANGGROUPLOCALE_ENUMPROC类型定义一个指向这个回调函数。 EnumLanguageGroupLocalesProc是一个应用程序的占位符定义函数的名称。 参数 LanguageGroup [in] 标识符语言组。此参数可以具有下列值之一: LGRPID_ARABIC LGRPID_ARMENIAN LGRPID_BALTIC LGRPID_CENTRAL_EUROPE LGRPID_CYRILLIC LGRPID_GEORGIAN LGRPID_GREEK LGRPID_HEBREW LGRPID_INDIC LGRPID_JAPANESE LGRPID_KOREAN LGRPID_SIMPLIFIED_CHINESE LGRPID_TRADITIONAL_CHINESE LGRPID_THAI LGRPID_TURKIC LGRPID_TURKISH LGRPID_VIETNAMESE LGRPID_WESTERN_EUROPE 区域设置 [in] 区域设置标识符指定的语言环境。您可以使用MAKELCID宏创建一个区域设置标识符或使用下列预定义的值之一。 LOCALE_INVARIANT LOCALE_SYSTEM_DEFAULT LOCALE_USER_DEFAULT Windows Vista和更高版本:下面的自定义区域设置标识符也支持。 LOCALE_CUSTOM_DEFAULT LOCALE_CUSTOM_UI_DEFAULT LOCALE_CUSTOM_UNSPECIFIED lpLocaleString [in] 缓冲区指针包含NULL结尾的区域设置标识符字符串。 lparam的 [in] 应用程序定义的值传递给EnumLanguageGroupLocales功能。此参数可用于错误检查。 返回值 继续返回TRUE或FALSE,否则枚举。 备注 一个EnumLanguageGroupLocalesProc函数可以执行任何所需的任务。该应用程序注册这个函数的地址传递给EnumLanguageGroupLocales功能。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderWinnls.h(头文件:winuser.h) 参见 国家语言支持 国家语言支持功能 EnumLanguageGroupLocales EnumSystemLanguageGroups 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年7月12号 ==英文原文==EnumLanguageGroupLocalesProc Function An application-defined callback function that processes enumerated language group locale information provided by the EnumLanguageGroupLocales function. The LANGGROUPLOCALE_ENUMPROC type defines a pointer to this callback function. EnumLanguageGroupLocalesProc is a placeholder for the application-defined function name. Syntax BOOL CALLBACK EnumLanguageGroupLocalesProc( __in LGRPID LanguageGroup, __in LCID Locale, __in LPTSTR lpLocaleString, __in LONG_PTR lParam ); Parameters LanguageGroup [in] Identifier of the language group. This parameter can have one of the following values: LGRPID_ARABIC LGRPID_ARMENIAN LGRPID_BALTIC LGRPID_CENTRAL_EUROPE LGRPID_CYRILLIC LGRPID_GEORGIAN LGRPID_GREEK LGRPID_HEBREW LGRPID_INDIC LGRPID_JAPANESE LGRPID_KOREAN LGRPID_SIMPLIFIED_CHINESE LGRPID_TRADITIONAL_CHINESE LGRPID_THAI LGRPID_TURKIC LGRPID_TURKISH LGRPID_VIETNAMESE LGRPID_WESTERN_EUROPE Locale [in] Locale identifier that specifies the locale. You can use the MAKELCID macro to create a locale identifier or use one of the following predefined values. LOCALE_INVARIANT LOCALE_SYSTEM_DEFAULT LOCALE_USER_DEFAULT Windows Vista and later: The following custom locale identifiers are also supported. LOCALE_CUSTOM_DEFAULT LOCALE_CUSTOM_UI_DEFAULT LOCALE_CUSTOM_UNSPECIFIED lpLocaleString [in] Pointer to a buffer containing a null-terminated locale identifier string. lParam [in] Application-defined value passed to the EnumLanguageGroupLocales function. This parameter can be used for error checking. Return Value Returns TRUE to continue enumeration or FALSE otherwise. Remarks An EnumLanguageGroupLocalesProc function can carry out any desired task. The application registers this function by passing its address to the EnumLanguageGroupLocales function. 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 EnumLanguageGroupLocales EnumSystemLanguageGroups Send comments about this topic to Microsoft Build date: 7/12/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/dd317820(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。