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.
WinUpperChar (1.2)
◄Function Group► ◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_WINCOUNTRY
USHORT WinUpperChar(hab, idcp, idcc, c)
HAB hab; /* handle of the anchor block */
USHORT idcp; /* code-page identifier */
USHORT idcc; /* country-code identifier */
USHORT c; /* character to translate */
The WinUpperChar function translates a character to uppercase.
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.
c Specifies the character to be translated to uppercase.
Return Value
The return value is the converted character if the function is successful.
Otherwise, it is zero, indicating that an error occurred.
See Also
WinUpper
♦