网站首页  词典首页

请输入您要查询的函数:

 

术语 enumsystemlanguagegroups
释义 EnumSystemLanguageGroups
语法:
BOOL EnumSystemLanguageGroups(
__in LANGUAGEGROUP_ENUMPROC lpLanguageGroupEnumProc,
__in DWORD dwFlags,
__in LONG_PTR lParam
);
EnumSystemLanguageGroups功能
枚举的语言,要么在安装或支持的操作系统组。
注意:对于自定义区域设置,应用程序应调用EnumSystemLocalesEx,而不是EnumSystemLanguageGroups。
参数
lpLanguageGroupEnumProc [in]
指向一个应用程序定义的回调函数。有关更多信息,请参阅EnumLanguageGroupsProc。
dwFlags [in]
旗指定的语言组标识符枚举。此参数可以有以下值之一。
ValueMeaning
LGRPID_INSTALLEDEnumerate只安装的语言组标识符。
LGRPID_SUPPORTEDEnumerate所有支持的语言组标识符。
lparam的 [in]
应用程序定义的值传递给回调函数。此参数可用于错误检查。它也可以用来确保在回调函数的线程安全。
返回值
返回TRUE,如果成功,否则返回FALSE。为了获得更多错误信息,应用程序可以调用GetLastError函数,可以返回以下错误代码之一:
ERROR_BADDB。该函数不能访问数据。这种情况不应该normall发生,通常表明一个坏的安装,磁盘的问题,或类似。
ERROR_INVALID_FLAGS。旗帜提供的值不是有效的。
ERROR_INVALID_PARAMETER。该参数值的任何无效。
备注
这个函数列举了通过语文组标识符,一次一个,到指定的应用程序语言群体定义的回调函数。这个过程一直持续到最后语文组标识符时,发现或回调函数返回FALSE。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinnls.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
Unicode和ANSI namesEnumSystemLanguageGroupsW(Unicode)和EnumSystemLanguageGroupsA(ANSI)的
参见
国家语言支持
国家语言支持功能
EnumLanguageGroupLocales
EnumLanguageGroupsProc
IsValidLanguageGroup
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月12号
==英文原文==EnumSystemLanguageGroups Function
Enumerates the language groups that are either installed on or supported by an operating system.
Note For custom locales, your application should call EnumSystemLocalesEx instead of EnumSystemLanguageGroups.
Syntax
BOOL EnumSystemLanguageGroups(
__in LANGUAGEGROUP_ENUMPROC lpLanguageGroupEnumProc,
__in DWORD dwFlags,
__in LONG_PTR lParam
);
Parameters
lpLanguageGroupEnumProc [in]
Pointer to an application-defined callback function. For more information, see EnumLanguageGroupsProc .
dwFlags [in]
Flags specifying the language group identifiers to enumerate. This parameter can have one of the following values.
ValueMeaning
LGRPID_INSTALLEDEnumerate only installed language group identifiers.
LGRPID_SUPPORTEDEnumerate all supported language group identifiers.

lParam [in]
Application-defined value to pass to the callback function. This parameter can be used in error checking. It can also be used to ensure thread safety in the callback function.
Return Value
Returns TRUE if successful or FALSE otherwise. To get extended error information, the application can call GetLastError , which can return one of the following error codes:
ERROR_BADDB. The function could not access the data. This situation should not normall occur, and typically indicates a bad installation, a disk problem, or the like.
ERROR_INVALID_FLAGS. The values supplied for flags were not valid.
ERROR_INVALID_PARAMETER. Any of the parameter values was invalid.
Remarks
This function enumerates language groups by passing language group identifiers, one at a time, to the specified application-defined callback function. This process continues until the last language group identifier is found or the callback function returns FALSE.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinnls.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
Unicode and ANSI namesEnumSystemLanguageGroupsW (Unicode) and EnumSystemLanguageGroupsA (ANSI)
See Also
National Language Support
National Language Support Functions
EnumLanguageGroupLocales
EnumLanguageGroupsProc
IsValidLanguageGroup
Send comments about this topic to Microsoft
Build date: 7/12/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd317827(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:16:09