网站首页  计算机词典

请输入您要查询的字词:

 

字词 getuserdefaultuilanguage
释义 GetUserDefaultUILanguage
语法:
LANGID GetUserDefaultUILanguage(void);
GetUserDefaultUILanguage功能
为用户界面为当前用户的语言返回语言标识符。如果当前用户没有设置语言,首选语言的系统设置GetUserDefaultUILanguage回报。如果没有的首选语言设置为系统,那么系统默认的UI语言(也称为“安装语言”)将返回。欲了解更多有关用户界面语言信息,请参阅用户界面语言管理。
参数
这个函数没有参数。
返回值
为用户界面为当前用户的语言返回语言标识符。
备注
这个函数只返回一个语言识别。应用程序可以检索语言的名称使用GetUserPreferredUILanguages功能。
如果用户界面语言是一个语言界面包(LIP)的一部分,对应于一个补充区域,这个函数返回LOCALE_CUSTOM_UI_DEFAULT。
视窗ME,视窗2000,Windows XP中,Windows服务器2003年:GetUserDefaultUILanguage函数检索当前用户的语言的语言标识符。如果不是梅操作系统上安装,默认的检索功能的电脑用户界面语言。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinnls.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
多语言用户界面
多语言用户界面功能
EnumUILanguages
GetSystemDefaultUILanguage
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月12号
==英文原文==GetUserDefaultUILanguage Function
Returns the language identifier for the user UI language for the current user. If the current user has not set a language, GetUserDefaultUILanguage returns the preferred language set for the system. If there is no preferred language set for the system, then the system default UI language (also known as "install language") is returned. For more information about the user UI language, see User Interface Language Management .
Syntax
LANGID GetUserDefaultUILanguage(void);
Parameters
This function has no parameters.
Return Value
Returns the language identifier for the user UI language for the current user.
Remarks
This function returns only a language identifier. An application can retrieve the language name using the GetUserPreferredUILanguages function.
If the user UI language is part of a Language Interface Pack (LIP) and corresponds to a supplemental locale , this function returns LOCALE_CUSTOM_UI_DEFAULT .
Windows Me, Windows 2000, Windows XP, Windows Server 2003: The GetUserDefaultUILanguage function retrieves the language identifier for the current user language. If MUI is not installed on the operating system, the function retrieves the default computer user interface language.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinnls.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
Multilingual User Interface
Multilingual User Interface Functions
EnumUILanguages
GetSystemDefaultUILanguage
Send comments about this topic to Microsoft
Build date: 7/12/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd318137(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/24 0:35:13