CharLower

This function converts a character string or a single character to lowercase. If the operand is a character string, the function converts the characters in place.

At a Glance

Header file: Winbase.h
Windows CE versions: 1.0 and later

Syntax

LPTSTR CharLower 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 zero, the low-order word must contain a single character to be converted.

Return Values

A pointer to the converted string indicates that the operand is a character string. Since 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

The function makes the conversion based on the information associated with the user's default locale, which is the locale selected by the user at setup or by using the Control Panel. Windows CE does not have language drivers.

Windows CE supports only the Unicode version of this function.

See Also

CharLowerBuff, CharUpper, CharUpperBuff, HIWORD, LOWORD