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
b8b7a72f
Commit
b8b7a72f
authored
Apr 26, 2015
by
Aaryaman Vasishta
Committed by
Alexandre Julliard
Apr 30, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Move QueryInterface from frame2->frame3.
parent
5d288771
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
22 deletions
+22
-22
frame.c
dlls/d3drm/frame.c
+22
-22
No files found.
dlls/d3drm/frame.c
View file @
b8b7a72f
...
...
@@ -470,27 +470,7 @@ static HRESULT WINAPI d3drm_frame2_QueryInterface(IDirect3DRMFrame2 *iface, REFI
TRACE
(
"iface %p, riid %s, out %p.
\n
"
,
iface
,
debugstr_guid
(
riid
),
out
);
if
(
IsEqualGUID
(
riid
,
&
IID_IDirect3DRMFrame2
)
||
IsEqualGUID
(
riid
,
&
IID_IDirect3DRMFrame
)
||
IsEqualGUID
(
riid
,
&
IID_IDirect3DRMObject
)
||
IsEqualGUID
(
riid
,
&
IID_IDirect3DRMVisual
)
||
IsEqualGUID
(
riid
,
&
IID_IUnknown
))
{
*
out
=
&
frame
->
IDirect3DRMFrame2_iface
;
}
else
if
(
IsEqualGUID
(
riid
,
&
IID_IDirect3DRMFrame3
))
{
*
out
=
&
frame
->
IDirect3DRMFrame3_iface
;
}
else
{
*
out
=
NULL
;
WARN
(
"%s not implemented, returning CLASS_E_CLASSNOTAVAILABLE.
\n
"
,
debugstr_guid
(
riid
));
return
CLASS_E_CLASSNOTAVAILABLE
;
}
IUnknown_AddRef
((
IUnknown
*
)
*
out
);
return
S_OK
;
return
IDirect3DRMFrame3_QueryInterface
(
&
frame
->
IDirect3DRMFrame3_iface
,
riid
,
out
);
}
static
ULONG
WINAPI
d3drm_frame2_AddRef
(
IDirect3DRMFrame2
*
iface
)
...
...
@@ -1233,7 +1213,27 @@ static HRESULT WINAPI d3drm_frame3_QueryInterface(IDirect3DRMFrame3 *iface, REFI
TRACE
(
"iface %p, riid %s, out %p.
\n
"
,
iface
,
debugstr_guid
(
riid
),
out
);
return
d3drm_frame2_QueryInterface
(
&
frame
->
IDirect3DRMFrame2_iface
,
riid
,
out
);
if
(
IsEqualGUID
(
riid
,
&
IID_IDirect3DRMFrame2
)
||
IsEqualGUID
(
riid
,
&
IID_IDirect3DRMFrame
)
||
IsEqualGUID
(
riid
,
&
IID_IDirect3DRMObject
)
||
IsEqualGUID
(
riid
,
&
IID_IDirect3DRMVisual
)
||
IsEqualGUID
(
riid
,
&
IID_IUnknown
))
{
*
out
=
&
frame
->
IDirect3DRMFrame2_iface
;
}
else
if
(
IsEqualGUID
(
riid
,
&
IID_IDirect3DRMFrame3
))
{
*
out
=
&
frame
->
IDirect3DRMFrame3_iface
;
}
else
{
*
out
=
NULL
;
WARN
(
"%s not implemented, returning CLASS_E_CLASSNOTAVAILABLE.
\n
"
,
debugstr_guid
(
riid
));
return
CLASS_E_CLASSNOTAVAILABLE
;
}
IUnknown_AddRef
((
IUnknown
*
)
*
out
);
return
S_OK
;
}
static
ULONG
WINAPI
d3drm_frame3_AddRef
(
IDirect3DRMFrame3
*
iface
)
...
...
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