WinSetTitleAndHwndIcon sets the program title and icon.
#include <os2.h> PSZ pszTitle; HWND hwndIcon; APIRET rc; /* Success indicator. */ rc = WinSetTitleAndHwndIcon(pszTitle, hwndIcon);