LPSTR AnsiPrev(lpStart,lpCurrentChar)
This function moves to the previous character in a string.
Parameter | Type/Description |
lpStart | LPSTR Points to the beginning of the string. | |
lpCurrentChar | LPSTR Points to a character in a null-terminated string. |
The return value points to the previous character in the string, or to the first character in the string if the lpCurrentChar parameter is equal to the lpStart parameter.
The AnsiPrev function is used to move through strings whose characters are two or more bytes each (for example, strings that contain characters from a Japanese character set).