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
0c0b6a10
Commit
0c0b6a10
authored
Jan 19, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Jan 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Forward all IUnknown methods to IDirect3DRM.
parent
dfd7c70d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
24 deletions
+4
-24
d3drm.c
dlls/d3drm/d3drm.c
+4
-24
No files found.
dlls/d3drm/d3drm.c
View file @
0c0b6a10
...
...
@@ -452,23 +452,13 @@ static HRESULT WINAPI IDirect3DRM2Impl_QueryInterface(IDirect3DRM2* iface, REFII
static
ULONG
WINAPI
IDirect3DRM2Impl_AddRef
(
IDirect3DRM2
*
iface
)
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM2
(
iface
);
TRACE
(
"(%p/%p)
\n
"
,
iface
,
This
);
return
InterlockedIncrement
(
&
This
->
ref
);
return
IDirect3DRM_AddRef
(
&
This
->
IDirect3DRM_iface
);
}
static
ULONG
WINAPI
IDirect3DRM2Impl_Release
(
IDirect3DRM2
*
iface
)
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM2
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p/%p)
\n
"
,
iface
,
This
);
if
(
!
ref
)
HeapFree
(
GetProcessHeap
(),
0
,
This
);
return
ref
;
return
IDirect3DRM_Release
(
&
This
->
IDirect3DRM_iface
);
}
/*** IDirect3DRM2 methods ***/
...
...
@@ -883,23 +873,13 @@ static HRESULT WINAPI IDirect3DRM3Impl_QueryInterface(IDirect3DRM3* iface, REFII
static
ULONG
WINAPI
IDirect3DRM3Impl_AddRef
(
IDirect3DRM3
*
iface
)
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM3
(
iface
);
TRACE
(
"(%p/%p)
\n
"
,
iface
,
This
);
return
InterlockedIncrement
(
&
This
->
ref
);
return
IDirect3DRM_AddRef
(
&
This
->
IDirect3DRM_iface
);
}
static
ULONG
WINAPI
IDirect3DRM3Impl_Release
(
IDirect3DRM3
*
iface
)
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM3
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p/%p)
\n
"
,
iface
,
This
);
if
(
!
ref
)
HeapFree
(
GetProcessHeap
(),
0
,
This
);
return
ref
;
return
IDirect3DRM_Release
(
&
This
->
IDirect3DRM_iface
);
}
/*** IDirect3DRM3 methods ***/
...
...
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