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
5ee75364
Commit
5ee75364
authored
Nov 20, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Nov 20, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxgi: Implement IDXGIAdapter::GetParent().
parent
ba532a3e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
adapter.c
dlls/dxgi/adapter.c
+4
-2
dxgi_main.c
dlls/dxgi/dxgi_main.c
+1
-0
dxgi_private.h
dlls/dxgi/dxgi_private.h
+1
-0
No files found.
dlls/dxgi/adapter.c
View file @
5ee75364
...
...
@@ -99,9 +99,11 @@ static HRESULT STDMETHODCALLTYPE dxgi_adapter_GetPrivateData(IWineDXGIAdapter *i
static
HRESULT
STDMETHODCALLTYPE
dxgi_adapter_GetParent
(
IWineDXGIAdapter
*
iface
,
REFIID
riid
,
void
**
parent
)
{
FIXME
(
"iface %p, riid %s, parent %p stub!
\n
"
,
iface
,
debugstr_guid
(
riid
),
parent
)
;
struct
dxgi_adapter
*
This
=
(
struct
dxgi_adapter
*
)
iface
;
return
E_NOTIMPL
;
TRACE
(
"iface %p, riid %s, parent %p
\n
"
,
iface
,
debugstr_guid
(
riid
),
parent
);
return
IDXGIFactory_QueryInterface
(
This
->
parent
,
riid
,
parent
);
}
/* IDXGIAdapter methods */
...
...
dlls/dxgi/dxgi_main.c
View file @
5ee75364
...
...
@@ -126,6 +126,7 @@ HRESULT WINAPI CreateDXGIFactory(REFIID riid, void **factory)
adapter
->
vtbl
=
&
dxgi_adapter_vtbl
;
adapter
->
refcount
=
1
;
adapter
->
ordinal
=
i
;
adapter
->
parent
=
(
IDXGIFactory
*
)
object
;
object
->
adapters
[
i
]
=
(
IDXGIAdapter
*
)
adapter
;
}
...
...
dlls/dxgi/dxgi_private.h
View file @
5ee75364
...
...
@@ -66,6 +66,7 @@ extern const struct IWineDXGIAdapterVtbl dxgi_adapter_vtbl;
struct
dxgi_adapter
{
const
struct
IWineDXGIAdapterVtbl
*
vtbl
;
IDXGIFactory
*
parent
;
LONG
refcount
;
UINT
ordinal
;
};
...
...
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