From: Louis Lenders xerox.xerox2000x@gmail.com
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56361 --- dlls/wbemprox/builtin.c | 3 +++ dlls/wbemprox/tests/query.c | 1 + 2 files changed, 4 insertions(+)
diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c index 8a7a092cee1..79affe5fdde 100644 --- a/dlls/wbemprox/builtin.c +++ b/dlls/wbemprox/builtin.c @@ -81,6 +81,7 @@ static const struct column col_bios[] = { L"SMBIOSBIOSVersion", CIM_STRING|COL_FLAG_DYNAMIC }, { L"SMBIOSMajorVersion", CIM_UINT16 }, { L"SMBIOSMinorVersion", CIM_UINT16 }, + { L"Status", CIM_STRING }, { L"SystemBiosMajorVersion", CIM_UINT8 }, { L"SystemBiosMinorVersion", CIM_UINT8 }, { L"Version", CIM_STRING|COL_FLAG_KEY }, @@ -572,6 +573,7 @@ struct record_bios const WCHAR *smbiosbiosversion; UINT16 smbiosmajorversion; UINT16 smbiosminorversion; + const WCHAR *status; UINT8 systembiosmajorversion; UINT8 systembiosminorversion; const WCHAR *version; @@ -1547,6 +1549,7 @@ static enum fill_status fill_bios( struct table *table, const struct expr *cond rec->smbiosbiosversion = get_bios_smbiosbiosversion( buf, len ); rec->smbiosmajorversion = get_bios_smbiosmajorversion( buf, len ); rec->smbiosminorversion = get_bios_smbiosminorversion( buf, len ); + rec->status = L"OK"; rec->systembiosmajorversion = get_bios_system_bios_major_release( buf, len ); rec->systembiosminorversion = get_bios_system_bios_minor_release( buf, len ); rec->version = L"WINE - 1"; diff --git a/dlls/wbemprox/tests/query.c b/dlls/wbemprox/tests/query.c index f06e0a431ea..ea108e31e49 100644 --- a/dlls/wbemprox/tests/query.c +++ b/dlls/wbemprox/tests/query.c @@ -483,6 +483,7 @@ static void test_Win32_Bios( IWbemServices *services ) check_property( obj, L"SMBIOSBIOSVersion", VT_BSTR, CIM_STRING ); check_property( obj, L"SMBIOSMajorVersion", VT_I4, CIM_UINT16 ); check_property( obj, L"SMBIOSMinorVersion", VT_I4, CIM_UINT16 ); + check_property( obj, L"Status", VT_BSTR, CIM_STRING ); check_property( obj, L"Version", VT_BSTR, CIM_STRING );
IWbemClassObject_Release( obj );
This merge request was approved by Hans Leidekker.