网站首页  词典首页

请输入您要查询的函数:

 

术语 charupperbuff
释义 CharUpperBuff
语法:
DWORD CharUpperBuff( LPTSTR lpsz,
DWORD cchLength
);
CharUpperBuff功能
在缓冲区转换小写字符为大写字符。函数转换到位的字符。
参数
lpsz
[in]指向一个缓冲区包含一个或多个字符的进程。
cchLength
[in]指定的大小,在TCHARs,缓冲区的指向lpsz。这是指对函数或Unicode版本WCHARs ANSI版本字节。
函数检查每个字符,小写字符转换为大写字符。该函数检查由cchLength表示的字符数,即使一个或多个字符的空字符。
返回值
返回值是处理TCHARs数目。
例如,如果CharUpperBuff(“天顶的API集”,10)成功,返回值为10。
备注
请注意,CharUpperBuff总是小写的我的地图(“我”),以大写我,即使在当前的语言是土耳其,阿塞拜疆。如果您需要一个功能,就是在这方面的语言敏感,呼吁LCMapString。
在Windows 95/98/Me:CharUpperBuffW是支持的Unicode(MSLU)微软层。要使用此,您必须将某些文件到您的应用,概述了对Unicode的Microsoft层在Windows 95/98/Me系统。
转换为Unicode,在该函数的ANSI版本,是与在所有情况下系统默认区域设置完成。
例如
有关示例,请参见创建和使用临时文件。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
UnicodeImplemented为ANSI和Unicode版本。
参见
Strings 概述 ,CharLower,CharLowerBuff,CharUpper
==英文原文==CharUpperBuff Function
Converts lowercase characters in a buffer to uppercase characters. The function converts the characters in place.
Syntax
DWORD CharUpperBuff( LPTSTR lpsz,
DWORD cchLength
);
Parameters
lpsz
[in] Pointer to a buffer containing one or more characters to process.
cchLength
[in] Specifies the size, in TCHARs, of the buffer pointed to by lpsz. This refers to bytes for ANSI versions of the function or WCHARs for Unicode versions.
The function examines each character, and converts lowercase characters to uppercase characters. The function examines the number of characters indicated by cchLength, even if one or more characters are null characters.
Return Value
The return value is the number of TCHARs processed.
For example, if CharUpperBuff("Zenith of API Sets", 10) succeeds, the return value is 10.
Remarks
Note that CharUpperBuff always maps lowercase I ("i") to uppercase I, even when the current language is Turkish or Azeri. If you need a function that is linguistically sensitive in this respect, call LCMapString .
Windows 95/98/Me: CharUpperBuffW is supported by the Microsoft Layer for Unicode (MSLU). To use this, you must add certain files to your application, as outlined in Microsoft Layer for Unicode on Windows 95/98/Me Systems .
Conversion to Unicode in the ANSI version of the function is done with the system default locale in all cases.
Example
For an example, see Creating and Using a Temporary File .
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
UnicodeImplemented as ANSI and Unicode versions.
See Also
Strings Overview , CharLower , CharLowerBuff , CharUpper
==原始网址==http://msdn.microsoft.com/en-us/library/ms647475(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:06