Hans Leidekker : wbemprox: Return NULL for Win32_BIOS.IdentificationCode.

Alexandre Julliard julliard at winehq.org
Wed Oct 5 13:43:07 CDT 2016


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Wed Oct  5 09:46:27 2016 +0200

wbemprox: Return NULL for Win32_BIOS.IdentificationCode.

Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wbemprox/builtin.c     | 2 +-
 dlls/wbemprox/tests/query.c | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c
index 4beac36..436a351 100644
--- a/dlls/wbemprox/builtin.c
+++ b/dlls/wbemprox/builtin.c
@@ -1066,7 +1066,7 @@ static const struct record_baseboard data_baseboard[] =
 };
 static const struct record_bios data_bios[] =
 {
-    { bios_descriptionW, bios_descriptionW, bios_manufacturerW, bios_nameW, bios_releasedateW, bios_serialnumberW,
+    { bios_descriptionW, NULL, bios_manufacturerW, bios_nameW, bios_releasedateW, bios_serialnumberW,
       bios_smbiosbiosversionW, bios_versionW }
 };
 static const struct record_computersystemproduct data_compsysproduct[] =
diff --git a/dlls/wbemprox/tests/query.c b/dlls/wbemprox/tests/query.c
index aab819d..c31fce0 100644
--- a/dlls/wbemprox/tests/query.c
+++ b/dlls/wbemprox/tests/query.c
@@ -310,7 +310,6 @@ static void test_Win32_Bios( IWbemServices *services )
     VariantInit( &val );
     hr = IWbemClassObject_Get( obj, identificationcodeW, 0, &val, &type, NULL );
     ok( hr == S_OK, "failed to get identication code %08x\n", hr );
-    todo_wine
     ok( V_VT( &val ) == VT_NULL, "unexpected variant type 0x%x\n", V_VT( &val ) );
     ok( type == CIM_STRING, "unexpected type 0x%x\n", type );
     VariantClear( &val );




More information about the wine-cvs mailing list