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@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Louis Lenders 2022-06-09 08:12:18 +02:00 committed by Alexandre Julliard
parent ab4e56b398
commit 4e19dbbbf2
2 changed files with 11 additions and 1 deletions

View file

@ -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[] =

View file

@ -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;
}