Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d05f3e06
Commit
d05f3e06
authored
Jan 17, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Jan 18, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Forward all IUnknown methods from IDirect3DRMDevice3.
parent
e1c00d32
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
12 deletions
+2
-12
device.c
dlls/d3drm/device.c
+2
-12
No files found.
dlls/d3drm/device.c
View file @
d05f3e06
...
...
@@ -524,23 +524,13 @@ static HRESULT WINAPI IDirect3DRMDevice3Impl_QueryInterface(IDirect3DRMDevice3*
static
ULONG
WINAPI
IDirect3DRMDevice3Impl_AddRef
(
IDirect3DRMDevice3
*
iface
)
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMDevice3
(
iface
);
TRACE
(
"(%p)
\n
"
,
This
);
return
InterlockedIncrement
(
&
This
->
ref
);
return
IDirect3DRMDevice2_AddRef
(
&
This
->
IDirect3DRMDevice2_iface
);
}
static
ULONG
WINAPI
IDirect3DRMDevice3Impl_Release
(
IDirect3DRMDevice3
*
iface
)
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMDevice3
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)
\n
"
,
This
);
if
(
!
ref
)
HeapFree
(
GetProcessHeap
(),
0
,
This
);
return
ref
;
return
IDirect3DRMDevice2_Release
(
&
This
->
IDirect3DRMDevice2_iface
);
}
/*** IDirect3DRMObject 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