网站首页  词典首页

请输入您要查询的函数:

 

术语 charupper
释义 CharUpper
语法:
LPTSTR CharUpper( LPTSTR lpsz
);
CharUpper功能
转换字符串或单个字符为大写。如果操作数是一个字符串,函数转换到位的字符。
参数
lpsz
[中,out]指向一个空结尾的字符串,或者指定一个字符。如果高,这个参数的字是零,低位字必须包含单个字符进行转换。
返回值
如果操作数是一个字符串,该函数返回一个指向转换后的字符串。因为该字符串转换到位,返回值等于lpsz。
如果操作数是一个单独的字符,则返回值是一个32位值的高位字是零,低位字包含转换字符。
没有成功或失败的标志。失败是罕见的。没有此功能扩展的错误信息,不要调用GetLastError函数。
备注
请注意,CharUpper总是小写的我的地图(“我”),以大写我,即使在当前的语言是土耳其,阿塞拜疆。如果您需要一个功能,就是在这方面的语言敏感,呼吁LCMapString。
在Windows 95/98/Me:CharUpperW是支持的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,CharUpperBuff
==英文原文==CharUpper Function
Converts a character string or a single character to uppercase. If the operand is a character string, the function converts the characters in place.
Syntax
LPTSTR CharUpper( LPTSTR lpsz
);
Parameters
lpsz
[in, out] Pointer to a null-terminated string, or specifies a single character. If the high-order word of this parameter is zero, the low-order word must contain a single character to be converted.
Return Value
If the operand is a character string, the function returns a pointer to the converted string. Because the string is converted in place, the return value is equal to lpsz.
If the operand is a single character, the return value is a 32-bit value whose high-order word is zero, and low-order word contains the converted character.
There is no indication of success or failure. Failure is rare. There is no extended error information for this function; do not call GetLastError .
Remarks
Note that CharUpper 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: CharUpperW 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.
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 , CharUpperBuff
==原始网址==http://msdn.microsoft.com/en-us/library/ms647474(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:26:28