CharUpper

  LPTSTR CharUpper(lpszString)    
  LPTSTR lpszString; /* address of string, or specific character */

The CharUpper function converts a character string to uppercase.

Parameters

lpszString

Points to a null-terminated string or specifies a single character. If the high word of this parameter is zero, the low word must contain a single character to be converted.

Return Value

The return value points to a converted character string if the function parameter is a character string. Otherwise, the return value contains the converted character.

Comments

The conversion is made by the language driver for the current language selected by the user at setup or with Control Panel. If no language driver has been selected, Windows uses an internal function.

The CharUpper function may be used as either a wide-character function (where text arguments must use Unicode) or an ANSI function (where text arguments must use characters from the Windows 3.x character set installed).

See Also

CharLower, CharUpperBuff