RtlUpperChar function (ntddk.h)

The RtlUpperChar routine converts the specified character to uppercase.

Syntax

NTSYSAPI CHAR RtlUpperChar(
  [in] CHAR Character
);

Parameters

[in] Character

Specifies the character to convert.

Return value

RtlUpperChar returns the uppercase version of the specified character or returns the value specified by the caller for Character if the specified character cannot be converted.

Remarks

RtlUpperChar returns the input Character unconverted if it is the lead byte of a multibyte character or if the uppercase equivalent of Character is a double-byte character. To convert such characters, use RtlUpcaseUnicodeChar.

RtlUpperChar is not recommended because the function is designed to work for ASCII range A-Z letters. Instead, use RtlUpcaseUnicodeChar.

Requirements

Requirement Value
Minimum supported client Available starting with Windows 2000.
Target Platform Universal
Header ntddk.h (include Ntddk.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <=APC_LEVEL

See also

RtlUpcaseUnicodeChar

RtlUpperString