From 3e5aa9834cd9ab47fcda41a9fb3a91ad23a27a76 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Mon, 28 Sep 2009 15:46:27 +0000 Subject: [PATCH] =?UTF-8?q?=20=20=20=20-=20client:=20add=20missing=20Windo?= =?UTF-8?q?ws=20SKUs.=20=20=20=20=20=20=20=20=20From=20Robert=20Kre=C3=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit client/ hostinfo_win.cpp svn path=/trunk/boinc/; revision=19195 --- checkin_notes | 7 +++++++ client/hostinfo_win.cpp | 24 ++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/checkin_notes b/checkin_notes index bf548ba460..8f76797922 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/client/hostinfo_win.cpp b/client/hostinfo_win.cpp index 377cafdb34..2d7cd8416d 100644 --- a/client/hostinfo_win.cpp +++ b/client/hostinfo_win.cpp @@ -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) ) {