win12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WinPrevChar (1.2)
Function Group                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINCOUNTRY
 
PSZ WinPrevChar(hab, idcp, idcc, pszStart, psz)
HAB hab;         /* handle of the anchor block       */
USHORT idcp;     /* code page                        */
USHORT idcc;     /* country code                     */
PSZ pszStart;    /* address of string with character */
PSZ psz;         /* address of character in string   */
 
The WinPrevChar function moves to the previous character in a string.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hab        Identifies the anchor block.
 
idcp       Identifies the code page.
 
idcc       Identifies the country code.
 
pszStart   Points to the character string that contains the character
           pointed to by the psz parameter.
 
psz        Points to a character in the string pointed to by the pszStart
           parameter.
 
Return Value
 
The return value points to the previous character in a string, or to the
first character if the psz parameter equals the pszStart parameter.
 
See Also
 
WinNextChar