The CharLowerBuff function converts uppercase characters in a buffer to lowercase characters. The function converts the characters in place.
DWORD CharLowerBuff(
LPTSTR lpsz, |
// pointer to buffer containing characters to process |
DWORD cchLength |
// number of bytes or characters to process |
); |
The function examines each character, and converts uppercase characters to lowercase characters. The function examines the number of bytes or characters indicated by cchLength, even if one or more characters are null characters.
The return value is the number of bytes (ANSI version) or characters (Unicode version) processed. For example, if CharLowerBuff("Acme of Operating Systems", 10) succeeds, the return value is 10.
Windows NT: To make the conversion, the function uses the language driver for the current language selected by the user at setup or by using the Control Panel. If no language has been selected, Windows completes the conversion by using internal default mapping. The conversion is made based on the code page associated with the process locale.
Windows 95: The function makes the conversion based on the information associated with the user's default locale, which is the locale selected by the user at setup or by using the Control Panel. Windows 95 does not have language drivers.
CharLower, CharUpper, CharUpperBuff
file: /Techref/os/win/api/win32/func/src/f04_17.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/24 03:18,
3.15.145.50:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/Techref/os/win/api/win32/func/src/f04_17.htm"> CharLowerBuff</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.