4 static LICENSE* SelectLanguage(LPCSTR Language)
7 if (!lstrcmp(Language, "Da")) return(&WineLicense_Cz);
8 if (!lstrcmp(Language, "Da")) return(&WineLicense_Da);
9 if (!lstrcmp(Language, "De")) return(&WineLicense_De);
10 if (!lstrcmp(Language, "Es")) return(&WineLicense_Es);
11 if (!lstrcmp(Language, "Fi")) return(&WineLicense_Fi);
12 if (!lstrcmp(Language, "Fr")) return(&WineLicense_Fr);
13 if (!lstrcmp(Language, "No")) return(&WineLicense_No);
15 return(&WineLicense_En);
18 VOID WineLicense(HWND Wnd, LPCSTR Language)
20 LICENSE *License = SelectLanguage(Language);
22 MessageBox(Wnd, License->License, License->LicenseCaption,
23 MB_ICONINFORMATION | MB_OK);
26 VOID WineWarranty(HWND Wnd, LPCSTR Language)
28 LICENSE *License = SelectLanguage(Language);
30 MessageBox(Wnd, License->Warranty, License->WarrantyCaption,
31 MB_ICONEXCLAMATION | MB_OK);