- client: add missing Windows SKUs.

From Robert Kreß
    
    client/
        hostinfo_win.cpp

svn path=/trunk/boinc/; revision=19195
This commit is contained in:
Rom Walton 2009-09-28 15:46:27 +00:00
parent 71c7e7a74b
commit 3e5aa9834c
2 changed files with 31 additions and 0 deletions

View File

@ -8215,3 +8215,10 @@ David 27 Sept 2009
sched_send.cpp
sched_types.h
sched_version.cpp
Rom 28 Sept 2009
- client: add missing Windows SKUs.
From Robert Kreß
client/
hostinfo_win.cpp

View File

@ -389,6 +389,21 @@ int get_os_information(
break;
case PRODUCT_STARTER:
strcat(szSKU, "Starter ");
break;
case PRODUCT_HOME_PREMIUM_N:
strcat(szSKU, "Home Premium N ");
break;
case PRODUCT_HOME_BASIC_N:
strcat(szSKU, "Home Basic N ");
break;
case PRODUCT_ULTIMATE_N:
strcat(szSKU, "Ultimate N ");
break;
case PRODUCT_ENTERPRISE_N:
strcat(szSKU, "Enterprise N ");
break;
case PRODUCT_BUSINESS_N:
strcat(szSKU, "Business N ");
break;
}
} else if( (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 2) ) {
@ -448,6 +463,15 @@ int get_os_information(
case PRODUCT_WEB_SERVER:
strcat( szSKU, "Web Server ");
break;
case PRODUCT_WEB_SERVER_CORE:
strcat( szSKU, "Web Server (core installtion) ");
break;
case PRODUCT_HOME_SERVER:
strcat( szSKU, "Home Server ");
break;
case PRODUCT_HOME_PREMIUM_SERVER:
strcat( szSKU, "Home Premium Server ");
break;
}
} else if( (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 2) ) {