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
d66f7cdb
Commit
d66f7cdb
authored
Oct 04, 2013
by
Austin English
Committed by
Alexandre Julliard
Oct 08, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxdiagn: Add a few more stub properties.
parent
16316039
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
provider.c
dlls/dxdiagn/provider.c
+16
-1
No files found.
dlls/dxdiagn/provider.c
View file @
d66f7cdb
...
...
@@ -66,6 +66,9 @@ static const WCHAR szSubSysId[] = {'s','z','S','u','b','S','y','s','I','d',0};
static
const
WCHAR
szRevisionId
[]
=
{
's'
,
'z'
,
'R'
,
'e'
,
'v'
,
'i'
,
's'
,
'i'
,
'o'
,
'n'
,
'I'
,
'd'
,
0
};
static
const
WCHAR
dwRefreshRate
[]
=
{
'd'
,
'w'
,
'R'
,
'e'
,
'f'
,
'r'
,
'e'
,
's'
,
'h'
,
'R'
,
'a'
,
't'
,
'e'
,
0
};
static
const
WCHAR
szManufacturer
[]
=
{
's'
,
'z'
,
'M'
,
'a'
,
'n'
,
'u'
,
'f'
,
'a'
,
'c'
,
't'
,
'u'
,
'r'
,
'e'
,
'r'
,
0
};
static
const
WCHAR
szChipType
[]
=
{
's'
,
'z'
,
'C'
,
'h'
,
'i'
,
'p'
,
'T'
,
'y'
,
'p'
,
'e'
,
0
};
static
const
WCHAR
szDACType
[]
=
{
's'
,
'z'
,
'D'
,
'A'
,
'C'
,
'T'
,
'y'
,
'p'
,
'e'
,
0
};
static
const
WCHAR
szRevision
[]
=
{
's'
,
'z'
,
'R'
,
'e'
,
'v'
,
'i'
,
's'
,
'i'
,
'o'
,
'n'
,
0
};
struct
IDxDiagProviderImpl
{
...
...
@@ -1016,6 +1019,18 @@ static HRESULT fill_display_information_d3d(IDxDiagContainerImpl_Container *node
if
(
FAILED
(
hr
))
goto
cleanup
;
hr
=
add_bstr_property
(
display_adapter
,
szChipType
,
szEmpty
);
if
(
FAILED
(
hr
))
goto
cleanup
;
hr
=
add_bstr_property
(
display_adapter
,
szDACType
,
szEmpty
);
if
(
FAILED
(
hr
))
goto
cleanup
;
hr
=
add_bstr_property
(
display_adapter
,
szRevision
,
szEmpty
);
if
(
FAILED
(
hr
))
goto
cleanup
;
if
(
!
get_texture_memory
(
&
adapter_info
.
DeviceIdentifier
,
&
available_mem
))
WARN
(
"get_texture_memory helper failed
\n
"
);
...
...
@@ -1042,7 +1057,7 @@ static HRESULT fill_display_information_fallback(IDxDiagContainerImpl_Container
static
const
WCHAR
*
empty_properties
[]
=
{
szDeviceIdentifier
,
szVendorId
,
szDeviceId
,
szKeyDeviceKey
,
szKeyDeviceID
,
szDriverName
,
szDriverVersion
,
szSubSysId
,
szRevisionId
,
szManufacturer
};
szManufacturer
,
szChipType
,
szDACType
,
szRevision
};
IDxDiagContainerImpl_Container
*
display_adapter
;
HRESULT
hr
;
...
...
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