CharUpperBuff

  DWORD CharUpperBuff(lpszString, cchString)    
  LPTSTR lpszString; /* address of string to convert */
  DWORD cchString; /* number of characters to convert */

The CharUpperBuff function converts a character string to upper case.

Parameters

lpszString

Points to a buffer containing one or more characters.

cchString

Specifies the number of characters to convert in the buffer.

Return Value

The return value specifies the number of characters converted.

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 CharUpperBuff 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, CharLowerBuff CharUpper