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
ecf2e049
Commit
ecf2e049
authored
Dec 20, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 21, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: IWineD3DClipperImpl implements IWineD3DBase.
Unify the QueryInterface implementation a bit with the rest of wined3d while we're at it.
parent
23bf5025
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
clipper.c
dlls/wined3d/clipper.c
+12
-11
No files found.
dlls/wined3d/clipper.c
View file @
ecf2e049
...
...
@@ -28,22 +28,23 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d
);
static
HRESULT
WINAPI
IWineD3DClipperImpl_QueryInterface
(
IWineD3DClipper
*
iface
,
REFIID
riid
,
void
**
Obj
)
static
HRESULT
WINAPI
IWineD3DClipperImpl_QueryInterface
(
IWineD3DClipper
*
iface
,
REFIID
riid
,
void
**
object
)
{
IWineD3DClipperImpl
*
This
=
(
IWineD3DClipperImpl
*
)
iface
;
TRACE
(
"iface %p, riid %s, object %p.
\n
"
,
iface
,
debugstr_guid
(
riid
),
object
)
;
TRACE
(
"(%p)->(%p,%p)
\n
"
,
This
,
riid
,
Obj
);
if
(
IsEqualGUID
(
&
IID_IUnknown
,
riid
)
||
IsEqualGUID
(
&
IID_IWineD3DClipper
,
riid
))
if
(
IsEqualGUID
(
riid
,
&
IID_IWineD3DClipper
)
||
IsEqualGUID
(
riid
,
&
IID_IWineD3DBase
)
||
IsEqualGUID
(
riid
,
&
IID_IUnknown
))
{
*
Obj
=
iface
;
IWineD3DClipper_AddRef
(
iface
)
;
IUnknown_AddRef
(
iface
)
;
*
object
=
iface
;
return
S_OK
;
}
else
{
return
E_NOINTERFACE
;
}
WARN
(
"%s not implemented, returning E_NOINTERFACE.
\n
"
,
debugstr_guid
(
riid
));
*
object
=
NULL
;
return
E_NOINTERFACE
;
}
static
ULONG
WINAPI
IWineD3DClipperImpl_AddRef
(
IWineD3DClipper
*
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