Hans Leidekker : wbemprox: Implement Win32_ComputerSystem.Domain.

Alexandre Julliard julliard at winehq.org
Fri Sep 28 11:39:04 CDT 2012


Module: wine
Branch: master
Commit: 7417e7b65a841a1d55ce776daa8230e3e888d020
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7417e7b65a841a1d55ce776daa8230e3e888d020

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Fri Sep 28 13:39:04 2012 +0200

wbemprox: Implement Win32_ComputerSystem.Domain.

---

 dlls/wbemprox/builtin.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c
index 2718fc7..43122fe 100644
--- a/dlls/wbemprox/builtin.c
+++ b/dlls/wbemprox/builtin.c
@@ -100,6 +100,8 @@ static const WCHAR prop_directionW[] =
     {'D','i','r','e','c','t','i','o','n',0};
 static const WCHAR prop_displaynameW[] =
     {'D','i','s','p','l','a','y','N','a','m','e',0};
+static const WCHAR prop_domainW[] =
+    {'D','o','m','a','i','n',0};
 static const WCHAR prop_domainroleW[] =
     {'D','o','m','a','i','n','R','o','l','e',0};
 static const WCHAR prop_drivetypeW[] =
@@ -209,6 +211,7 @@ static const struct column col_bios[] =
 static const struct column col_compsys[] =
 {
     { prop_descriptionW,          CIM_STRING },
+    { prop_domainW,               CIM_STRING },
     { prop_domainroleW,           CIM_UINT16 },
     { prop_manufacturerW,         CIM_STRING },
     { prop_modelW,                CIM_STRING },
@@ -317,6 +320,8 @@ static const WCHAR bios_versionW[] =
     {'W','I','N','E',' ',' ',' ','-',' ','1',0};
 static const WCHAR compsys_descriptionW[] =
     {'A','T','/','A','T',' ','C','O','M','P','A','T','I','B','L','E',0};
+static const WCHAR compsys_domainW[] =
+    {'W','O','R','K','G','R','O','U','P',0};
 static const WCHAR compsys_manufacturerW[] =
     {'T','h','e',' ','W','i','n','e',' ','P','r','o','j','e','c','t',0};
 static const WCHAR compsys_modelW[] =
@@ -355,6 +360,7 @@ struct record_bios
 struct record_computersystem
 {
     const WCHAR *description;
+    const WCHAR *domain;
     UINT16       domainrole;
     const WCHAR *manufacturer;
     const WCHAR *model;
@@ -533,6 +539,7 @@ static void fill_compsys( struct table *table )
 
     rec = (struct record_computersystem *)table->data;
     rec->description            = compsys_descriptionW;
+    rec->domain                 = compsys_domainW;
     rec->domainrole             = 0; /* standalone workstation */
     rec->manufacturer           = compsys_manufacturerW;
     rec->model                  = compsys_modelW;




More information about the wine-cvs mailing list