Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.24 KB

CharLower.md

File metadata and controls

43 lines (28 loc) · 1.24 KB

Home

Function name : CharLower

Group: String - Library: user32


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


Code examples:

Converting characters to upper or lower case

Declaration:

LPTSTR CharLower(
  LPTSTR lpsz   // single character or string
);  

FoxPro declaration:

DECLARE INTEGER CharLower IN user32 STRING @ lpsz  

Parameters:

lpsz [in/out] 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 value:

If the operand is a character string, the function returns a pointer to the converted string. Since the string is converted in place, the return value is equal to lpsz.

If the operand is a single character, the return value is a 32-bit value whose high-order word is zero, and low-order word contains the converted character.