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
ec3417e2
Commit
ec3417e2
authored
Apr 03, 2014
by
Hans Leidekker
Committed by
Alexandre Julliard
Apr 03, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Implement Win32_VideoController.Availability.
parent
90c7893e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
builtin.c
dlls/wbemprox/builtin.c
+5
-0
No files found.
dlls/wbemprox/builtin.c
View file @
ec3417e2
...
@@ -103,6 +103,8 @@ static const WCHAR prop_adaptertypeW[] =
...
@@ -103,6 +103,8 @@ static const WCHAR prop_adaptertypeW[] =
{
'A'
,
'd'
,
'a'
,
'p'
,
't'
,
'e'
,
'r'
,
'T'
,
'y'
,
'p'
,
'e'
,
0
};
{
'A'
,
'd'
,
'a'
,
'p'
,
't'
,
'e'
,
'r'
,
'T'
,
'y'
,
'p'
,
'e'
,
0
};
static
const
WCHAR
prop_addresswidthW
[]
=
static
const
WCHAR
prop_addresswidthW
[]
=
{
'A'
,
'd'
,
'd'
,
'r'
,
'e'
,
's'
,
's'
,
'W'
,
'i'
,
'd'
,
't'
,
'h'
,
0
};
{
'A'
,
'd'
,
'd'
,
'r'
,
'e'
,
's'
,
's'
,
'W'
,
'i'
,
'd'
,
't'
,
'h'
,
0
};
static
const
WCHAR
prop_availabilityW
[]
=
{
'A'
,
'v'
,
'a'
,
'i'
,
'l'
,
'a'
,
'b'
,
'i'
,
'l'
,
'i'
,
't'
,
'y'
,
0
};
static
const
WCHAR
prop_bootableW
[]
=
static
const
WCHAR
prop_bootableW
[]
=
{
'B'
,
'o'
,
'o'
,
't'
,
'a'
,
'b'
,
'l'
,
'e'
,
0
};
{
'B'
,
'o'
,
'o'
,
't'
,
'a'
,
'b'
,
'l'
,
'e'
,
0
};
static
const
WCHAR
prop_bootpartitionW
[]
=
static
const
WCHAR
prop_bootpartitionW
[]
=
...
@@ -490,6 +492,7 @@ static const struct column col_videocontroller[] =
...
@@ -490,6 +492,7 @@ static const struct column col_videocontroller[] =
{
{
{
prop_adapterdactypeW
,
CIM_STRING
},
{
prop_adapterdactypeW
,
CIM_STRING
},
{
prop_adapterramW
,
CIM_UINT32
,
VT_I4
},
{
prop_adapterramW
,
CIM_UINT32
,
VT_I4
},
{
prop_availabilityW
,
CIM_UINT16
},
{
prop_currentbitsperpixelW
,
CIM_UINT32
},
{
prop_currentbitsperpixelW
,
CIM_UINT32
},
{
prop_currenthorizontalresW
,
CIM_UINT32
},
{
prop_currenthorizontalresW
,
CIM_UINT32
},
{
prop_currentverticalresW
,
CIM_UINT32
},
{
prop_currentverticalresW
,
CIM_UINT32
},
...
@@ -795,6 +798,7 @@ struct record_videocontroller
...
@@ -795,6 +798,7 @@ struct record_videocontroller
{
{
const
WCHAR
*
adapter_dactype
;
const
WCHAR
*
adapter_dactype
;
UINT32
adapter_ram
;
UINT32
adapter_ram
;
UINT16
availability
;
UINT32
current_bitsperpixel
;
UINT32
current_bitsperpixel
;
UINT32
current_horizontalres
;
UINT32
current_horizontalres
;
UINT32
current_verticalres
;
UINT32
current_verticalres
;
...
@@ -2346,6 +2350,7 @@ done:
...
@@ -2346,6 +2350,7 @@ done:
rec
=
(
struct
record_videocontroller
*
)
table
->
data
;
rec
=
(
struct
record_videocontroller
*
)
table
->
data
;
rec
->
adapter_dactype
=
videocontroller_dactypeW
;
rec
->
adapter_dactype
=
videocontroller_dactypeW
;
rec
->
adapter_ram
=
vidmem
;
rec
->
adapter_ram
=
vidmem
;
rec
->
availability
=
3
;
/* Running or Full Power */
rec
->
current_bitsperpixel
=
get_bits_per_pixel
(
&
hres
,
&
vres
);
rec
->
current_bitsperpixel
=
get_bits_per_pixel
(
&
hres
,
&
vres
);
rec
->
current_horizontalres
=
hres
;
rec
->
current_horizontalres
=
hres
;
rec
->
current_verticalres
=
vres
;
rec
->
current_verticalres
=
vres
;
...
...
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