网站首页  词典首页

请输入您要查询的函数:

 

术语 charlowerbuff
释义 CharLowerBuff
语法:
DWORD CharLowerBuff( LPTSTR lpsz,
DWORD cchLength
);
CharLowerBuff功能
在缓冲区转换大写字符为小写字符。函数转换到位的字符。
参数
lpsz
[中,out]指向一个缓冲区包含一个或多个字符的进程。
cchLength
[in]指定的大小,在TCHARs,缓冲区的指向lpsz。这是指对函数或Unicode版本WCHARs ANSI版本字节。函数检查每个字符,大写字符转换为小写字符。该函数检查由cchLength表示TCHARs的数目,即使一个或多个字符的空字符。
返回值
返回值是处理TCHARs数目。例如,如果CharLowerBuff(“尖端的操作系统”,10)成功,返回值为10。
备注
请注意,CharLowerBuff大写我总是映射为小写我(“我”),即使在当前的语言是土耳其,阿塞拜疆。如果您需要一个功能,就是在这方面的语言敏感,呼吁LCMapString。
在Windows 95/98/Me:CharLowerBuffW是支持的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,CharUpper,CharUpperBuff
==英文原文==CharLowerBuff Function
Converts uppercase characters in a buffer to lowercase characters. The function converts the characters in place.
Syntax
DWORD CharLowerBuff( LPTSTR lpsz,
DWORD cchLength
);
Parameters
lpsz
[in, out] 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 uppercase characters to lowercase characters. The function examines the number of TCHARs 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 CharLowerBuff("Acme of Operating Systems", 10) succeeds, the return value is 10.
Remarks
Note that CharLowerBuff always maps uppercase I to lowercase I ("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: CharLowerBuffW 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 a Spell Dialog Box" in Using Combo Boxes .
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 , CharUpper , CharUpperBuff
==原始网址==http://msdn.microsoft.com/en-us/library/ms647468(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:22:54