网站首页  词典首页

请输入您要查询的函数:

 

术语 getthreaduilanguage
释义 GetThreadUILanguage
语法:
LANGID GetThreadUILanguage(void);
GetThreadUILanguage功能
返回的第一个用户当前线程的界面语言的语言标识符。
参数
这个函数没有参数。
返回值
为明确地由SetThreadUILanguage或SetThreadPreferredUILanguages线程相关的语言返回的标识符。另外,如果没有语言已明确与当前线程相关的标识符可以指定一个用户或系统用户界面语言。
备注
调用此功能是相同的要求设置为MUI_MERGE_SYSTEM_FALLBACK dwFlags | MUI_MERGE_USER_FALLBACK | MUI_LANGUAGE_ID和使用的第一语言,在检索列表GetThreadPreferredUILanguages。
The return value for this function does not provide useful information about a Language Interface Pack (LIP) language if that language corresponds to a supplemental locale .对于这样的语言,该函数返回十六进制值“1400”,对应于LOCALE_CUSTOM_UI_DEFAULT如果该语言是在用户界面的首选语言列表中指定。如果语言没有在用户界面的首选语言列表中指定,该函数返回值“1000”,对应LOCALE_CUSTOM_UNSPECIFIED。
要求:
client最低支持Vista
server最低支持 Windows Server 2008
HeaderWinnls.h(头文件:winuser.h)
LibraryKernel32.lib
参见
多语言用户界面
多语言用户界面功能
GetThreadPreferredUILanguages
SetThreadPreferredUILanguages
SetThreadUILanguage
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月12号
==英文原文==GetThreadUILanguage Function
Returns the language identifier of the first user interface language for the current thread.
Syntax
LANGID GetThreadUILanguage(void);
Parameters
This function has no parameters.
Return Value
Returns the identifier for a language explicitly associated with the thread by SetThreadUILanguage or SetThreadPreferredUILanguages . Alternatively, if no language has been explicitly associated with the current thread, the identifier can indicate a user or system user interface language.
Remarks
Calling this function is identical to calling GetThreadPreferredUILanguages with dwFlags set to MUI_MERGE_SYSTEM_FALLBACK | MUI_MERGE_USER_FALLBACK | MUI_LANGUAGE_ID and using the first language in the retrieved list.
The return value for this function does not provide useful information about a Language Interface Pack (LIP) language if that language corresponds to a supplemental locale . For such a language, the function returns the hexadecimal value "1400", which corresponds to LOCALE_CUSTOM_UI_DEFAULT if that language is specified in the user preferred UI languages list. If the language is not specified in the user preferred UI languages list, the function returns the value "1000", corresponding to LOCALE_CUSTOM_UNSPECIFIED .
Requirements
Minimum supported clientWindows Vista
Minimum supported serverWindows Server 2008
HeaderWinnls.h (include Windows.h)
LibraryKernel32.lib
See Also
Multilingual User Interface
Multilingual User Interface Functions
GetThreadPreferredUILanguages
SetThreadPreferredUILanguages
SetThreadUILanguage
Send comments about this topic to Microsoft
Build date: 7/12/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd318129(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:30:18