Hans Leidekker : wbemprox: Implement Win32_SoundDevice::StatusInfo.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jan 7 17:15:36 CST 2015


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Wed Jan  7 15:26:16 2015 +0100

wbemprox: Implement Win32_SoundDevice::StatusInfo.

---

 dlls/wbemprox/builtin.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c
index 3158c0e..e1d74e8 100644
--- a/dlls/wbemprox/builtin.c
+++ b/dlls/wbemprox/builtin.c
@@ -257,6 +257,8 @@ static const WCHAR prop_startingoffsetW[] =
     {'S','t','a','r','t','i','n','g','O','f','f','s','e','t',0};
 static const WCHAR prop_stateW[] =
     {'S','t','a','t','e',0};
+static const WCHAR prop_statusinfoW[] =
+    {'S','t','a','t','u','s','I','n','f','o',0};
 static const WCHAR prop_strvalueW[] =
     {'S','t','r','i','n','g','V','a','l','u','e',0};
 static const WCHAR prop_suitemaskW[] =
@@ -491,7 +493,8 @@ static const struct column col_service[] =
 static const struct column col_sounddevice[] =
 {
     { prop_nameW,        CIM_STRING },
-    { prop_productnameW, CIM_STRING }
+    { prop_productnameW, CIM_STRING },
+    { prop_statusinfoW,  CIM_UINT16 }
 };
 static const struct column col_stdregprov[] =
 {
@@ -806,6 +809,7 @@ struct record_sounddevice
 {
     const WCHAR *name;
     const WCHAR *productname;
+    UINT16       statusinfo;
 };
 struct record_stdregprov
 {
@@ -885,7 +889,7 @@ static const struct record_qualifier data_qualifier[] =
 };
 static const struct record_sounddevice data_sounddevice[] =
 {
-    { sounddevice_productnameW, sounddevice_productnameW }
+    { sounddevice_productnameW, sounddevice_productnameW, 3 /* enabled */ }
 };
 static const struct record_stdregprov data_stdregprov[] =
 {




More information about the wine-cvs mailing list