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
6dc5eee7
Commit
6dc5eee7
authored
Mar 01, 2018
by
Michael Müller
Committed by
Alexandre Julliard
Mar 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Add Status for Win32_VideoController.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d42026af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
builtin.c
dlls/wbemprox/builtin.c
+7
-0
No files found.
dlls/wbemprox/builtin.c
View file @
6dc5eee7
...
@@ -361,6 +361,8 @@ static const WCHAR prop_startingoffsetW[] =
...
@@ -361,6 +361,8 @@ static const WCHAR prop_startingoffsetW[] =
{
'S'
,
't'
,
'a'
,
'r'
,
't'
,
'i'
,
'n'
,
'g'
,
'O'
,
'f'
,
'f'
,
's'
,
'e'
,
't'
,
0
};
{
'S'
,
't'
,
'a'
,
'r'
,
't'
,
'i'
,
'n'
,
'g'
,
'O'
,
'f'
,
'f'
,
's'
,
'e'
,
't'
,
0
};
static
const
WCHAR
prop_stateW
[]
=
static
const
WCHAR
prop_stateW
[]
=
{
'S'
,
't'
,
'a'
,
't'
,
'e'
,
0
};
{
'S'
,
't'
,
'a'
,
't'
,
'e'
,
0
};
static
const
WCHAR
prop_statusW
[]
=
{
'S'
,
't'
,
'a'
,
't'
,
'u'
,
's'
,
0
};
static
const
WCHAR
prop_statusinfoW
[]
=
static
const
WCHAR
prop_statusinfoW
[]
=
{
'S'
,
't'
,
'a'
,
't'
,
'u'
,
's'
,
'I'
,
'n'
,
'f'
,
'o'
,
0
};
{
'S'
,
't'
,
'a'
,
't'
,
'u'
,
's'
,
'I'
,
'n'
,
'f'
,
'o'
,
0
};
static
const
WCHAR
prop_strvalueW
[]
=
static
const
WCHAR
prop_strvalueW
[]
=
...
@@ -717,6 +719,7 @@ static const struct column col_videocontroller[] =
...
@@ -717,6 +719,7 @@ static const struct column col_videocontroller[] =
{
prop_driverversionW
,
CIM_STRING
},
{
prop_driverversionW
,
CIM_STRING
},
{
prop_nameW
,
CIM_STRING
|
COL_FLAG_DYNAMIC
},
{
prop_nameW
,
CIM_STRING
|
COL_FLAG_DYNAMIC
},
{
prop_pnpdeviceidW
,
CIM_STRING
|
COL_FLAG_DYNAMIC
},
{
prop_pnpdeviceidW
,
CIM_STRING
|
COL_FLAG_DYNAMIC
},
{
prop_statusW
,
CIM_STRING
},
{
prop_videoarchitectureW
,
CIM_UINT16
,
VT_I4
},
{
prop_videoarchitectureW
,
CIM_UINT16
,
VT_I4
},
{
prop_videomemorytypeW
,
CIM_UINT16
,
VT_I4
},
{
prop_videomemorytypeW
,
CIM_UINT16
,
VT_I4
},
{
prop_videomodedescriptionW
,
CIM_STRING
|
COL_FLAG_DYNAMIC
},
{
prop_videomodedescriptionW
,
CIM_STRING
|
COL_FLAG_DYNAMIC
},
...
@@ -815,6 +818,8 @@ static const WCHAR videocontroller_deviceidW[] =
...
@@ -815,6 +818,8 @@ static const WCHAR videocontroller_deviceidW[] =
{
'V'
,
'i'
,
'd'
,
'e'
,
'o'
,
'C'
,
'o'
,
'n'
,
't'
,
'r'
,
'o'
,
'l'
,
'l'
,
'e'
,
'r'
,
'1'
,
0
};
{
'V'
,
'i'
,
'd'
,
'e'
,
'o'
,
'C'
,
'o'
,
'n'
,
't'
,
'r'
,
'o'
,
'l'
,
'l'
,
'e'
,
'r'
,
'1'
,
0
};
static
const
WCHAR
videocontroller_driverversionW
[]
=
static
const
WCHAR
videocontroller_driverversionW
[]
=
{
'1'
,
'.'
,
'0'
,
0
};
{
'1'
,
'.'
,
'0'
,
0
};
static
const
WCHAR
videocontroller_statusW
[]
=
{
'O'
,
'K'
,
0
};
#include "pshpack1.h"
#include "pshpack1.h"
struct
record_baseboard
struct
record_baseboard
...
@@ -1123,6 +1128,7 @@ struct record_videocontroller
...
@@ -1123,6 +1128,7 @@ struct record_videocontroller
const
WCHAR
*
driverversion
;
const
WCHAR
*
driverversion
;
const
WCHAR
*
name
;
const
WCHAR
*
name
;
const
WCHAR
*
pnpdevice_id
;
const
WCHAR
*
pnpdevice_id
;
const
WCHAR
*
status
;
UINT16
videoarchitecture
;
UINT16
videoarchitecture
;
UINT16
videomemorytype
;
UINT16
videomemorytype
;
const
WCHAR
*
videomodedescription
;
const
WCHAR
*
videomodedescription
;
...
@@ -3273,6 +3279,7 @@ done:
...
@@ -3273,6 +3279,7 @@ done:
rec
->
driverversion
=
videocontroller_driverversionW
;
rec
->
driverversion
=
videocontroller_driverversionW
;
rec
->
name
=
heap_strdupW
(
name
);
rec
->
name
=
heap_strdupW
(
name
);
rec
->
pnpdevice_id
=
get_pnpdeviceid
(
&
desc
);
rec
->
pnpdevice_id
=
get_pnpdeviceid
(
&
desc
);
rec
->
status
=
videocontroller_statusW
;
rec
->
videoarchitecture
=
2
;
/* Unknown */
rec
->
videoarchitecture
=
2
;
/* Unknown */
rec
->
videomemorytype
=
2
;
/* Unknown */
rec
->
videomemorytype
=
2
;
/* Unknown */
wsprintfW
(
mode
,
fmtW
,
hres
,
vres
,
(
UINT64
)
1
<<
rec
->
current_bitsperpixel
);
wsprintfW
(
mode
,
fmtW
,
hres
,
vres
,
(
UINT64
)
1
<<
rec
->
current_bitsperpixel
);
...
...
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