IsCharUpper function

Determines whether a character is uppercase. This determination is based on the semantics of the language selected by the user during setup or through Control Panel.

Syntax


BOOL WINAPI IsCharUpper(
  _In_  TCHAR ch
);

Parameters

ch [in]

Type: TCHAR

The character to be tested.

Return value

Type: BOOL

If the character is uppercase, the return value is nonzero.

If the character is not uppercase, the return value is zero. To get extended error information, call GetLastError.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

Library

User32.lib

DLL

User32.dll

Unicode and ANSI names

IsCharUpperW (Unicode) and IsCharUpperA (ANSI)

See also

Reference
IsCharLower
Conceptual
Strings

 

 

Community Additions

ADD
Show:
© 2014 Microsoft