网站首页  词典首页

请输入您要查询的函数:

 

术语 verlanguagename
释义 VerLanguageName
语法:
DWORD VerLanguageName( DWORD wLang,
LPTSTR szLang,
DWORD cchLang
);
VerLanguageName功能
该VerLanguageName检索功能与微软指定的二进制语言标识符关联的语言描述字符串。
参数
wLang
[in]指定的二进制语言标识符。对于语言的标识符的完整列表,请参阅语言标识符。
例如,描述字符串的语言标识符0x040A是“西班牙语(传统风格相关)”。如果标识符是未知的,szLang参数指向一个默认的字符串(“语言中立”)。
szLang
[out]指向的缓冲区,它接收NULL结尾的字符串表示的wLang参数指定的语言。
cchLang
[in]指定的大小,以字符缓冲区的指向szLang。
返回值
返回值的大小,以字符,在返回的字符串缓冲区。此值不包括终止空字符。如果描述字符串小于或等于缓冲区,整个描述字符串缓冲区中。如果描述字符串比缓冲区大,描述字符串被截断为缓冲区的长度。
如果发生错误,返回值是零。未知语言标识符不产生错误。
备注
Windows NT 3.51和更早的版本:版本信息功能不使用16位Microsoft Windows文件图像。
Windows 95/98/Me中,Windows NT 4.0和Windows 2000中:这些问题都16 -和32位文件的图像功能的工作。
Windows XP中:16这些职能的工作- ,32 - ,和64位文件的图像。
通常情况下,安装程序使用此函数来翻译的语言标识符的VerQueryValue函数返回。文本字符串可以用在一个对话框,要求用户如何进行语言的冲突事件。
在Windows 95/98/Me:VerLanguageNameW是支持的Unicode(MSLU)微软层。若要使用此版本,您必须添加一些文件到您的应用,概述了对Unicode的Microsoft层在Windows 95/98/Me系统。
功能信息
最低DLL版本 kernel32.dll
在Winver.h HeaderDeclared,头文件:winuser.h
import libraryKernel32.lib
最低操作系统Windows 95,Windows NT 3.1
UnicodeImplemented为ANSI和Unicode版本。
参见
版本信息概述
==英文原文==VerLanguageName Function
The VerLanguageName function retrieves a description string for the language associated with a specified binary Microsoft language identifier.
Syntax
DWORD VerLanguageName( DWORD wLang,
LPTSTR szLang,
DWORD cchLang
);
Parameters
wLang
[in] Specifies the binary language identifier. For a complete list of the language identifiers, see Language Identifiers .
For example, the description string associated with the language identifier 0x040A is "Spanish (Traditional Sort)". If the identifier is unknown, the szLang parameter points to a default string ("Language Neutral").
szLang
[out] Pointer to the buffer that receives the null-terminated string representing the language specified by the wLang parameter.
cchLang
[in] Specifies the size, in characters, of the buffer pointed to by szLang.
Return Value
The return value is the size, in characters, of the string returned in the buffer. This value does not include the terminating null character. If the description string is smaller than or equal to the buffer, the entire description string is in the buffer. If the description string is larger than the buffer, the description string is truncated to the length of the buffer.
If an error occurs, the return value is zero. Unknown language identifiers do not produce errors.
Remarks
Windows NT 3.51 and earlier: The version information functions do not work with 16-bit Microsoft Windows file images.
Windows 95/98/Me, Windows NT 4.0 and Windows 2000: These functions work on both 16- and 32-bit file images.
Windows XP: These functions work on 16-, 32-, and 64-bit file images.
Typically, an installation program uses this function to translate a language identifier returned by the VerQueryValue function. The text string may be used in a dialog box that asks the user how to proceed in the event of a language conflict.
Windows 95/98/Me: VerLanguageNameW is supported by the Microsoft Layer for Unicode (MSLU). To use this version, you must add certain files to your application, as outlined in Microsoft Layer for Unicode on Windows 95/98/Me Systems .
Function Information
Minimum DLL Versionkernel32.dll
HeaderDeclared in Winver.h, include Windows.h
Import libraryKernel32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
UnicodeImplemented as ANSI and Unicode versions.
See Also
Version Information Overview
==原始网址==http://msdn.microsoft.com/en-us/library/ms647463(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:25:34