CharUpper
A version of this page is also available for
4/8/2010
This 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] Pointer to a null-terminated string or specifies a single character. If the high-order word of this parameter is 0, the low-order word must contain a single character to be converted.
Return Value
A pointer to the converted string indicates that the operand is a character string. Because the string is converted in place, the return value is equal to lpsz.
A 32-bit value whose high-order word is zero and low-order word contains the converted character indicates that the operand is a single 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
Windows Embedded CE does not have language drivers.
Windows Embedded CE supports only the Unicode version of this function.
Requirements
Header | winbase.h |
Library | Coreloc.lib |
Windows Embedded CE | Windows CE 1.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
See Also
Reference
String Functions
CharLower
CharLowerBuff
CharUpperBuff