This function converts a string to uppercase.
#define INCL_WINCOUNTRY /* Or use INCL_WIN, INCL_PM, */ #include <os2.h> HAB hab; /* Anchor-block handle. */ ULONG ulCodepage; /* Code page. */ ULONG ulCountry; /* Country code. */ PSZ pszString; /* String to be converted to uppercase. */ ULONG ulRetLen; /* Length of converted string. */ ulRetLen = WinUpper(hab, ulCodepage, ulCountry, pszString);