Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This function returns a pointer to the preceding character in a string.
Syntax
LPTSTR CharPrev( LPCTSTR lpszStart, LPCTSTR lpszCurrent ); |
Parameters
- lpszStart
-
[in] Pointer to the beginning of the null-terminated string.
- lpszCurrent
-
[in] Pointer to a character in a null-terminated string.
Return Value
A pointer to the preceding character in the string, or to the first character in the string if the lpszCurrentparameter equals the lpszStartparameter, indicates success.
Requirements
Header | winbase.h |
Library | Coreloc.lib |
Windows Embedded CE | Windows CE 1.01 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |