Commit 7cd0f395 authored by Louis Lenders's avatar Louis Lenders Committed by Alexandre Julliard

wbemprox: Add property 'Status' to Win32_BIOS.

parent f38a32e6
......@@ -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";
......
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment