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.
WinUpper (1.2)
Function Group                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINCOUNTRY
 
USHORT WinUpper(hab, idcp, idcc, psz)
HAB hab;        /* handle of the anchor block                          */
USHORT idcp;    /* code-page identifier                                */
USHORT idcc;    /* country-code identifier                             */
PSZ psz;        /* address of the string to convert                    */
 
The WinUpper function converts a string to uppercase in place.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hab        Identifies the anchor block.
 
idcp       Identifies the code page. If idcp is NULL, the current process's
           code page is used.
 
idcc       Identifies the country code. If idcc is NULL, the default country
           specified in the config.sys file is used.
 
psz        Points to the string to be converted.
 
Return Value
 
The return value is the length of the converted string.
 
See Also
 
WinUpperChar