对于MAKELANGID,“语言中立"是什么意思? [英] What does 'Language neutral' mean with regard to MAKELANGID?
问题描述
MAKELANGID 指定MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL)
表示语言无关".
The docs for MAKELANGID specify that MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL)
Means 'Language neutral'.
这在我的计算机上似乎是英语(已使用FormatMessage
进行了尝试),但是通常这是什么意思?是英语保证吗?
This seems to be English on my machine (tried it with FormatMessage
), but what does it mean in general? Is it guarenteed to be English?
谢谢!
推荐答案
,子语言= SUBLANG_DEFAULT,这将是用户的默认语言. http://msdn.microsoft.com/en-us /library/ms534732(VS.85).aspx
with sublanguage = SUBLANG_DEFAULT this would be the user's default language. http://msdn.microsoft.com/en-us/library/ms534732(VS.85).aspx
以下是有关子语言标识符的说明- http://wiki.winehq.org/SublangNeutral .
Here's a note on the sublanguage identifier - http://wiki.winehq.org/SublangNeutral.
请注意,MAKELANGID从主要语言和副语言标识符为您创建一个语言标识符-它不会获取"默认语言或类似语言.
Note that MAKELANGID creates a language identifier for you from the primary language and sublanguage identifier - it does "not" get the default language, or anything like that.
这篇关于对于MAKELANGID,“语言中立"是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!