Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7cd0f395
Commit
7cd0f395
authored
Mar 31, 2024
by
Louis Lenders
Committed by
Alexandre Julliard
Apr 02, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Add property 'Status' to Win32_BIOS.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=56361
parent
f38a32e6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
builtin.c
dlls/wbemprox/builtin.c
+3
-0
query.c
dlls/wbemprox/tests/query.c
+1
-0
No files found.
dlls/wbemprox/builtin.c
View file @
7cd0f395
...
...
@@ -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"
;
...
...
dlls/wbemprox/tests/query.c
View file @
7cd0f395
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment