Share via


CharPrev (Windows CE 5.0)

Send Feedback

This function returns a pointer to the preceding character in a string.

LPTSTR CharPrev(LPCTSTRlpszStart, LPCTSTRlpszCurrent);

Parameters

  • lpszStart
    [in] Pointer to the beginning of the null-terminated string.
  • lpszCurrent
    [in] Pointer to a character in a null-terminated string.

Return Values

A pointer to the preceding character in the string, or to the first character in the string if the lpszCurrent parameter equals the lpszStart parameter, indicates success.

Requirements

OS Versions: Windows CE 1.01 and later.
Header: Winbase.h.
Link Library: Coreloc.lib.

See Also

CharNext | Programming with Unicode and NLS

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.