Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
4ae00bcc
Commit
4ae00bcc
authored
Oct 15, 2021
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Implement Win32_OperatingSystem.Status.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9acf66b7
Hide 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 @
4ae00bcc
...
...
@@ -251,6 +251,7 @@ static const struct column col_operatingsystem[] =
{
L"SerialNumber"
,
CIM_STRING
|
COL_FLAG_DYNAMIC
},
{
L"ServicePackMajorVersion"
,
CIM_UINT16
},
{
L"ServicePackMinorVersion"
,
CIM_UINT16
},
{
L"Status"
,
CIM_STRING
},
{
L"SuiteMask"
,
CIM_UINT32
},
{
L"SystemDirectory"
,
CIM_STRING
|
COL_FLAG_DYNAMIC
},
{
L"SystemDrive"
,
CIM_STRING
|
COL_FLAG_DYNAMIC
},
...
...
@@ -667,6 +668,7 @@ struct record_operatingsystem
const
WCHAR
*
serialnumber
;
UINT16
servicepackmajor
;
UINT16
servicepackminor
;
const
WCHAR
*
status
;
UINT32
suitemask
;
const
WCHAR
*
systemdirectory
;
const
WCHAR
*
systemdrive
;
...
...
@@ -3598,6 +3600,7 @@ static enum fill_status fill_operatingsystem( struct table *table, const struct
rec
->
serialnumber
=
get_osserialnumber
();
rec
->
servicepackmajor
=
ver
.
wServicePackMajor
;
rec
->
servicepackminor
=
ver
.
wServicePackMinor
;
rec
->
status
=
L"OK"
;
rec
->
suitemask
=
272
;
/* Single User + Terminal */
rec
->
systemdirectory
=
get_systemdirectory
();
rec
->
systemdrive
=
get_systemdrive
();
...
...
dlls/wbemprox/tests/query.c
View file @
4ae00bcc
...
...
@@ -1424,6 +1424,7 @@ static void test_Win32_OperatingSystem( IWbemServices *services )
check_property
(
obj
,
L"Version"
,
VT_BSTR
,
CIM_STRING
);
check_property
(
obj
,
L"TotalVisibleMemorySize"
,
VT_BSTR
,
CIM_UINT64
);
check_property
(
obj
,
L"TotalVirtualMemorySize"
,
VT_BSTR
,
CIM_UINT64
);
check_property
(
obj
,
L"Status"
,
VT_BSTR
,
CIM_STRING
);
check_property
(
obj
,
L"SystemDrive"
,
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