Hans Leidekker : wbemprox: Implement Win32_ComputerSystemProduct.IdentifyingNumber.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jan 21 15:16:21 CST 2015
Module: wine
Branch: master
Commit: f40830b45d2f8653e39cc2fe1acede72d92955bb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f40830b45d2f8653e39cc2fe1acede72d92955bb
Author: Hans Leidekker <hans at codeweavers.com>
Date: Wed Jan 21 13:25:50 2015 +0100
wbemprox: Implement Win32_ComputerSystemProduct.IdentifyingNumber.
---
dlls/wbemprox/builtin.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c
index 5f61f4a..ecbdec5 100644
--- a/dlls/wbemprox/builtin.c
+++ b/dlls/wbemprox/builtin.c
@@ -176,6 +176,8 @@ static const WCHAR prop_idW[] =
{'I','D',0};
static const WCHAR prop_identificationcodeW[] =
{'I','d','e','n','t','i','f','i','c','a','t','i','o','n','C','o','d','e',0};
+static const WCHAR prop_identifyingnumberW[] =
+ {'I','d','e','n','t','i','f','y','i','n','g','N','u','m','b','e','r',0};
static const WCHAR prop_indexW[] =
{'I','n','d','e','x',0};
static const WCHAR prop_installdateW[] =
@@ -338,7 +340,8 @@ static const struct column col_compsys[] =
};
static const struct column col_compsysproduct[] =
{
- { prop_uuidW, CIM_STRING }
+ { prop_identifyingnumberW, CIM_STRING|COL_FLAG_KEY },
+ { prop_uuidW, CIM_STRING }
};
static const struct column col_datafile[] =
{
@@ -571,6 +574,8 @@ 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[] =
{'W','i','n','e',0};
+static const WCHAR compsysproduct_identifyingnumberW[] =
+ {'0',0};
static const WCHAR compsysproduct_uuidW[] =
{'0','0','0','0','0','0','0','0','-','0','0','0','0','-','0','0','0','0','-','0','0','0','0','-',
'0','0','0','0','0','0','0','0','0','0','0','0',0};
@@ -662,6 +667,7 @@ struct record_computersystem
};
struct record_computersystemproduct
{
+ const WCHAR *identifyingnumber;
const WCHAR *uuid;
};
struct record_datafile
@@ -872,7 +878,7 @@ static const struct record_bios data_bios[] =
};
static const struct record_computersystemproduct data_compsysproduct[] =
{
- { compsysproduct_uuidW }
+ { compsysproduct_identifyingnumberW, compsysproduct_uuidW }
};
static const struct record_param data_param[] =
{
More information about the wine-cvs
mailing list