Share via


CharUpper (Compact 2013)

3/28/2014

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 Compact does not have language drivers.

Windows Embedded Compact supports only the Unicode version of this function.

Requirements

Header

winbase.h

Library

Coreloc.lib

See Also

Reference

String Functions
CharLower
CharLowerBuff
CharUpperBuff