网站首页  词典首页

请输入您要查询的函数:

 

术语 getuserdefaultlcid
释义 GetUserDefaultLCID
语法:
LCID GetUserDefaultLCID(void);
GetUserDefaultLCID功能
为用户默认语言环境返回区域设置标识符。
如果用户默认语言是一个自定义区域注意,应用程序不能准确地标记的价值或它的数据交换。在这种情况下,应用程序应优先使用GetUserDefaultLocaleName的GetUserDefaultLCID。
注意:应用程序旨在只运行在Windows Vista和以后应使用GetUserDefaultLocaleName。
参数
这个函数没有参数。
返回值
返回的用户的默认语言环境的设置标识符,作为LOCALE_USER_DEFAULT代表。如果用户默认语言是一个自定义区域,这个函数总是返回LOCALE_CUSTOM_DEFAULT,无论自定义区域设置被选中。例如,不管用户的区域设置夏威夷(美国),山楂美,或Fijiian(斐济),巧的,巧的,该函数返回相同的值。
备注
这个功能可以自定义区域设置检索数据。数据不能保证从同一计算机到计算机之间或应用程序的运行。如果应用程序必须坚持或传输数据,请参阅使用持久性本地化数据。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinnls.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
国家语言支持功能
ConvertDefaultLocale
GetLocaleInfo
GetSystemDefaultLCID
GetUserDefaultLocaleName
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月12号
==英文原文==GetUserDefaultLCID Function
Returns the locale identifier for the user default locale.
Caution If the user default locale is a custom locale, an application cannot accurately tag data with the value or exchange it. In this case, the application should use GetUserDefaultLocaleName in preference to GetUserDefaultLCID.
Note Applications that are intended to run only on Windows Vista and later should use GetUserDefaultLocaleName .
Syntax
LCID GetUserDefaultLCID(void);
Parameters
This function has no parameters.
Return Value
Returns the locale identifier for the user default locale, represented as LOCALE_USER_DEFAULT . If the user default locale is a custom locale, this function always returns LOCALE_CUSTOM_DEFAULT , regardless of the custom locale that is selected. For example, whether the user locale is Hawaiian (US), haw-US, or Fijiian (Fiji), fj-FJ, the function returns the same value.
Remarks
This function can retrieve data from custom locales . Data is not guaranteed to be the same from computer to computer or between runs of an application. If your application must persist or transmit data, see Using Persistent Locale Data .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinnls.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
National Language Support Functions
ConvertDefaultLocale
GetLocaleInfo
GetSystemDefaultLCID
GetUserDefaultLocaleName
Send comments about this topic to Microsoft
Build date: 7/12/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd318135(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:25:37