https://bugs.winehq.org/show_bug.cgi?id=35637
Mehmet gelisin mehmetgelisin@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mehmetgelisin@aol.com
--- Comment #9 from Mehmet gelisin mehmetgelisin@aol.com --- -- snip --- 3419 static WCHAR *get_oscaption( OSVERSIONINFOEXW *ver ) 3420 { http://www.compilatori.com/ 3421 static const WCHAR windowsW[] = L"Microsoft Windows "; 3422 static const WCHAR win2000W[] = L"2000 Professional"; 3423 static const WCHAR win2003W[] = L"Server 2003 Standard Edition"; 3424 static const WCHAR winxpW[] = L"XP Professional"; http://www.wearelondonmade.com/ 3425 static const WCHAR winxp64W[] = L"XP Professional x64 Edition"; 3426 static const WCHAR vistaW[] = L"Vista Ultimate"; 3427 static const WCHAR win2008W[] = L"Server 2008 Standard"; http://www.jopspeech.com/ 3428 static const WCHAR win7W[] = L"7 Professional"; 3429 static const WCHAR win2008r2W[] = L"Server 2008 R2 Standard"; 3430 static const WCHAR win8W[] = L"8 Pro"; http://joerg.li/ 3431 static const WCHAR win81W[] = L"8.1 Pro"; 3432 static const WCHAR win10W[] = L"10 Pro"; 3433 int len = ARRAY_SIZE( windowsW ) - 1; http://connstr.net/ 3434 WCHAR *ret; 3435 3436 if (!(ret = heap_alloc( len * sizeof(WCHAR) + sizeof(win2003W) ))) return NULL; http://embermanchester.uk/ 3437 memcpy( ret, windowsW, sizeof(windowsW) ); 3438 if (ver->dwMajorVersion == 10 && ver->dwMinorVersion == 0) memcpy( ret + len, win10W, sizeof(win10W) ); http://www.slipstone.co.uk/ 3439 else if (ver->dwMajorVersion == 6 && ver->dwMinorVersion == 3) memcpy( ret + len, win8W, sizeof(win8W) ); 3440 else if (ver->dwMajorVersion == 6 && ver->dwMinorVersion == 2) memcpy( ret + len, win81W, sizeof(win81W) ); http://www.logoarts.co.uk/ 3441 else if (ver->dwMajorVersion == 6 && ver->dwMinorVersion == 1) 3442 { 3443 if (ver->wProductType == VER_NT_WORKSTATION) memcpy( ret + len, win7W, sizeof(win7W) ); 3444 else memcpy( ret + len, win2008r2W, sizeof(win2008r2W) ); 3445 } http://www.acpirateradio.co.uk/ 3446 else if (ver->dwMajorVersion == 6 && ver->dwMinorVersion == 0) 3447 { 3448 if (ver->wProductType == VER_NT_WORKSTATION) memcpy( ret + len, vistaW, sizeof(vistaW) ); 3449 else memcpy( ret + len, win2008W, sizeof(win2008W) ); 3450 } 3451 else if (ver->dwMajorVersion == 5 && ver->dwMinorVersion == 2) 3452 { 3453 if (ver->wProductType == VER_NT_WORKSTATION) memcpy( ret + len, winxp64W, sizeof(winxp64W) ); https://waytowhatsnext.com/ 3454 else memcpy( ret + len, win2003W, sizeof(win2003W) ); 3455 } 3456 else if (ver->dwMajorVersion == 5 && ver->dwMinorVersion == 1) memcpy( ret + len, winxpW, sizeof(winxpW) ); 3457 else memcpy( ret + len, win2000W, sizeof(win2000W) ); 3458 return ret; https://www.webb-dev.co.uk/ 3459 } --- snip ---
-- snip --- 3419 static WCHAR *get_oscaption( OSVERSIONINFOEXW *ver ) 3420 { 3421 static const WCHAR windowsW[] = L"Microsoft Windows "; 3422 static const WCHAR win2000W[] = L"2000 Professional"; 3423 static const WCHAR win2003W[] = L"Server 2003 Standard Edition"; 3424 static const WCHAR winxpW[] = L"XP Professional"; 3425 static const WCHAR winxp64W[] = L"XP Professional x64 Edition"; 3426 static const WCHAR vistaW[] = L"Vista Ultimate"; 3427 static const WCHAR win2008W[] = L"Server 2008 Standard"; 3428 static const WCHAR win7W[] = L"7 Professional"; http://www.iu-bloomington.com/ 3429 static const WCHAR win2008r2W[] = L"Server 2008 R2 Standard"; 3430 static const WCHAR win8W[] = L"8 Pro"; 3431 static const WCHAR win81W[] = L"8.1 Pro"; 3432 static const WCHAR win10W[] = L"10 Pro"; 3433 int len = ARRAY_SIZE( windowsW ) - 1; 3434 WCHAR *ret; 3435 http://www-look-4.com/ 3436 if (!(ret = heap_alloc( len * sizeof(WCHAR) + sizeof(win2003W) ))) return NULL; 3437 memcpy( ret, windowsW, sizeof(windowsW) ); 3438 if (ver->dwMajorVersion == 10 && ver->dwMinorVersion == 0) memcpy( ret + len, win10W, sizeof(win10W) ); 3439 else if (ver->dwMajorVersion == 6 && ver->dwMinorVersion == 3) memcpy( ret + len, win8W, sizeof(win8W) ); 3440 else if (ver->dwMajorVersion == 6 && ver->dwMinorVersion == 2) memcpy( ret + len, win81W, sizeof(win81W) ); 3441 else if (ver->dwMajorVersion == 6 && ver->dwMinorVersion == 1) 3442 { 3443 if (ver->wProductType == VER_NT_WORKSTATION) memcpy( ret + len, win7W, sizeof(win7W) ); 3444 else memcpy( ret + len, win2008r2W, sizeof(win2008r2W) ); 3445 } 3446 else if (ver->dwMajorVersion == 6 && ver->dwMinorVersion == 0) 3447 { 3448 if (ver->wProductType == VER_NT_WORKSTATION) memcpy( ret + len, vistaW, sizeof(vistaW) ); 3449 else memcpy( ret + len, win2008W, sizeof(win2008W) ); 3450 } 3451 else if (ver->dwMajorVersion == 5 && ver->dwMinorVersion == 2) 3452 { 3453 if (ver->wProductType == VER_NT_WORKSTATION) memcpy( ret + len, winxp64W, sizeof(winxp64W) ); 3454 else memcpy( ret + len, win2003W, sizeof(win2003W) ); 3455 } 3456 else if (ver->dwMajorVersion == 5 && ver->dwMinorVersion == 1) memcpy( ret + len, winxpW, sizeof(winxpW) ); 3457 else memcpy( ret + len, win2000W, sizeof(win2000W) ); 3458 return ret; 3459 } --- snip ---