Louis Lenders : wbemprox: Add a few properties to Win32_QuickFixEngineering.
Alexandre Julliard
julliard at winehq.org
Thu Jun 9 16:28:33 CDT 2022
Module: wine
Branch: master
Commit: 4e19dbbbf2beeb6dc48357b05da9afd76aabb941
URL: https://source.winehq.org/git/wine.git/?a=commit;h=4e19dbbbf2beeb6dc48357b05da9afd76aabb941
Author: Louis Lenders <xerox.xerox2000x at gmail.com>
Date: Thu Jun 9 08:12:18 2022 +0200
wbemprox: Add a few properties to Win32_QuickFixEngineering.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52879
Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wbemprox/builtin.c | 8 +++++++-
dlls/wbemprox/tests/query.c | 4 ++++
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c
index d27130b00c9..725f3816ad9 100644
--- a/dlls/wbemprox/builtin.c
+++ b/dlls/wbemprox/builtin.c
@@ -367,7 +367,10 @@ static const struct column col_qualifier[] =
static const struct column col_quickfixengineering[] =
{
{ L"Caption", CIM_STRING },
+ { L"Description", CIM_STRING },
{ L"HotFixID", CIM_STRING|COL_FLAG_KEY },
+ { L"InstalledBy", CIM_STRING },
+ { L"InstalledOn", CIM_STRING },
};
static const struct column col_rawsmbiostables[] =
{
@@ -805,7 +808,10 @@ struct record_qualifier
struct record_quickfixengineering
{
const WCHAR *caption;
+ const WCHAR *description;
const WCHAR *hotfixid;
+ const WCHAR *installedby;
+ const WCHAR *installedon;
};
struct record_rawsmbiostables
{
@@ -1011,7 +1017,7 @@ static const struct record_qualifier data_qualifier[] =
static const struct record_quickfixengineering data_quickfixengineering[] =
{
- { L"http://winehq.org", L"KB1234567" },
+ { L"http://winehq.org", L"Update", L"KB1234567", L"", L"22/2/2022" },
};
static const struct record_softwarelicensingproduct data_softwarelicensingproduct[] =
diff --git a/dlls/wbemprox/tests/query.c b/dlls/wbemprox/tests/query.c
index f6faaea0d99..6c66fd93d95 100644
--- a/dlls/wbemprox/tests/query.c
+++ b/dlls/wbemprox/tests/query.c
@@ -1998,7 +1998,11 @@ static void test_Win32_QuickFixEngineering( IWbemServices *services )
"unexpected variant type %#x\n", V_VT( &caption ) );
ok( type == CIM_STRING, "unexpected type %#lx\n", type );
+ check_property( obj, L"Description", VT_BSTR, CIM_STRING );
check_property( obj, L"HotFixID", VT_BSTR, CIM_STRING );
+ check_property( obj, L"InstalledBy", VT_BSTR, CIM_STRING );
+ check_property( obj, L"InstalledOn", VT_BSTR, CIM_STRING );
+
IWbemClassObject_Release( obj );
if (total++ >= 10) break;
}
More information about the wine-cvs
mailing list