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
cd16932b
Commit
cd16932b
authored
Oct 09, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 09, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Compare with the correct IID in IDirect3DRMVisualArrayImpl_QueryInterface().
parent
079b6d4c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
frame.c
dlls/d3drm/frame.c
+7
-10
No files found.
dlls/d3drm/frame.c
View file @
cd16932b
...
...
@@ -215,24 +215,21 @@ static HRESULT Direct3DRMFrameArray_create(IDirect3DRMFrameArray** obj)
return
S_OK
;
}
/*** IUnknown methods ***/
static
HRESULT
WINAPI
IDirect3DRMVisualArrayImpl_QueryInterface
(
IDirect3DRMVisualArray
*
iface
,
REFIID
riid
,
void
**
ret_iface
)
static
HRESULT
WINAPI
IDirect3DRMVisualArrayImpl_QueryInterface
(
IDirect3DRMVisualArray
*
iface
,
REFIID
riid
,
void
**
out
)
{
TRACE
(
"
(%p)->(%s, %p)
\n
"
,
iface
,
debugstr_guid
(
riid
),
ret_iface
);
TRACE
(
"
iface %p, riid %s, out %p.
\n
"
,
iface
,
debugstr_guid
(
riid
),
out
);
if
(
IsEqualGUID
(
riid
,
&
IID_I
Unknown
)
||
IsEqualGUID
(
riid
,
&
IID_IDirect3DRMFrameArray
))
if
(
IsEqualGUID
(
riid
,
&
IID_I
Direct3DRMVisualArray
)
||
IsEqualGUID
(
riid
,
&
IID_IUnknown
))
{
*
ret_iface
=
iface
;
IDirect3DRMVisualArray_AddRef
(
iface
);
*
out
=
iface
;
return
S_OK
;
}
*
ret_iface
=
NULL
;
WARN
(
"Interface %s not implemented
\n
"
,
debugstr_guid
(
riid
));
WARN
(
"%s not implemented, returning E_NOINTERFACE.
\n
"
,
debugstr_guid
(
riid
));
*
out
=
NULL
;
return
E_NOINTERFACE
;
}
...
...
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