SetWindowText(hwnd, "PuTTY (inactive)");
set_icon(NULL, "PuTTY (inactive)"); set_title(NULL, "PuTTY (inactive)");
void connection_fatal(void *frontend, char *fmt, ...){    va_list ap;    char stuff[200];    va_start(ap, fmt);    vsprintf(stuff, fmt, ap);    va_end(ap);    MessageBox(hwnd, stuff, "PuTTY Fatal Error", MB_ICONERROR | MB_OK);    if (cfg.close_on_exit == COE_ALWAYS)	PostQuitMessage(1);    else {	session_closed = TRUE;	SetWindowText(hwnd, "PuTTY (inactive)");    }}