if(MessageBoxA(HWND_32(hwnd),"You must restart Wine before the new settings will take effect.\n\nDo you want to exit Wine now ?","Systems Settings Change",MB_YESNO|MB_ICONQUESTION)==IDYES)
reboot=TRUE;
break;
default:
ERR("invalid flags %d !\n",wFlags);
gotoend;
}
res=OK;
end:
tmp=VcpClose16(VCPFL_ALL,NULL);
if(tmp!=OK)
res=tmp;
tmp=IpClose16(hInf);
if(tmp!=OK)
res=tmp;
SETUPX_FreeSubStrings(pSub);
if(reboot)
{
/* FIXME: we should have a means of terminating all wine + wineserver */
MESSAGE("Program or user told me to restart. Exiting Wine...\n");