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
ddfc1a2e
Commit
ddfc1a2e
authored
Sep 12, 2016
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Sep 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Use the proper COM method wrappers.
Signed-off-by:
Michael Stefaniuc
<
mstefani@redhat.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c0a6f0f7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
dsoundrender.c
dlls/quartz/dsoundrender.c
+4
-4
filesource.c
dlls/quartz/filesource.c
+3
-3
No files found.
dlls/quartz/dsoundrender.c
View file @
ddfc1a2e
...
@@ -667,7 +667,7 @@ HRESULT DSoundRender_create(IUnknown * pUnkOuter, LPVOID * ppv)
...
@@ -667,7 +667,7 @@ HRESULT DSoundRender_create(IUnknown * pUnkOuter, LPVOID * ppv)
if
(
!
pDSoundRender
->
blocked
||
FAILED
(
hr
))
if
(
!
pDSoundRender
->
blocked
||
FAILED
(
hr
))
{
{
I
Unknown_Release
((
IUnknown
*
)
pDSoundRender
);
I
BaseFilter_Release
(
&
pDSoundRender
->
renderer
.
filter
.
IBaseFilter_iface
);
return
HRESULT_FROM_WIN32
(
GetLastError
());
return
HRESULT_FROM_WIN32
(
GetLastError
());
}
}
...
@@ -1281,17 +1281,17 @@ static const IAMDirectSoundVtbl IAMDirectSound_Vtbl =
...
@@ -1281,17 +1281,17 @@ static const IAMDirectSoundVtbl IAMDirectSound_Vtbl =
static
HRESULT
WINAPI
AMFilterMiscFlags_QueryInterface
(
IAMFilterMiscFlags
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
static
HRESULT
WINAPI
AMFilterMiscFlags_QueryInterface
(
IAMFilterMiscFlags
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
DSoundRenderImpl
*
This
=
impl_from_IAMFilterMiscFlags
(
iface
);
DSoundRenderImpl
*
This
=
impl_from_IAMFilterMiscFlags
(
iface
);
return
I
Unknown_QueryInterface
((
IUnknown
*
)
This
,
riid
,
ppv
);
return
I
BaseFilter_QueryInterface
(
&
This
->
renderer
.
filter
.
IBaseFilter_iface
,
riid
,
ppv
);
}
}
static
ULONG
WINAPI
AMFilterMiscFlags_AddRef
(
IAMFilterMiscFlags
*
iface
)
{
static
ULONG
WINAPI
AMFilterMiscFlags_AddRef
(
IAMFilterMiscFlags
*
iface
)
{
DSoundRenderImpl
*
This
=
impl_from_IAMFilterMiscFlags
(
iface
);
DSoundRenderImpl
*
This
=
impl_from_IAMFilterMiscFlags
(
iface
);
return
I
Unknown_AddRef
((
IUnknown
*
)
This
);
return
I
BaseFilter_AddRef
(
&
This
->
renderer
.
filter
.
IBaseFilter_iface
);
}
}
static
ULONG
WINAPI
AMFilterMiscFlags_Release
(
IAMFilterMiscFlags
*
iface
)
{
static
ULONG
WINAPI
AMFilterMiscFlags_Release
(
IAMFilterMiscFlags
*
iface
)
{
DSoundRenderImpl
*
This
=
impl_from_IAMFilterMiscFlags
(
iface
);
DSoundRenderImpl
*
This
=
impl_from_IAMFilterMiscFlags
(
iface
);
return
I
Unknown_Release
((
IUnknown
*
)
This
);
return
I
BaseFilter_Release
(
&
This
->
renderer
.
filter
.
IBaseFilter_iface
);
}
}
static
ULONG
WINAPI
AMFilterMiscFlags_GetMiscFlags
(
IAMFilterMiscFlags
*
iface
)
{
static
ULONG
WINAPI
AMFilterMiscFlags_GetMiscFlags
(
IAMFilterMiscFlags
*
iface
)
{
...
...
dlls/quartz/filesource.c
View file @
ddfc1a2e
...
@@ -1434,17 +1434,17 @@ static const IAsyncReaderVtbl FileAsyncReader_Vtbl =
...
@@ -1434,17 +1434,17 @@ static const IAsyncReaderVtbl FileAsyncReader_Vtbl =
static
HRESULT
WINAPI
AMFilterMiscFlags_QueryInterface
(
IAMFilterMiscFlags
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
static
HRESULT
WINAPI
AMFilterMiscFlags_QueryInterface
(
IAMFilterMiscFlags
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
AsyncReader
*
This
=
impl_from_IAMFilterMiscFlags
(
iface
);
AsyncReader
*
This
=
impl_from_IAMFilterMiscFlags
(
iface
);
return
I
Unknown_QueryInterface
((
IUnknown
*
)
This
,
riid
,
ppv
);
return
I
BaseFilter_QueryInterface
(
&
This
->
filter
.
IBaseFilter_iface
,
riid
,
ppv
);
}
}
static
ULONG
WINAPI
AMFilterMiscFlags_AddRef
(
IAMFilterMiscFlags
*
iface
)
{
static
ULONG
WINAPI
AMFilterMiscFlags_AddRef
(
IAMFilterMiscFlags
*
iface
)
{
AsyncReader
*
This
=
impl_from_IAMFilterMiscFlags
(
iface
);
AsyncReader
*
This
=
impl_from_IAMFilterMiscFlags
(
iface
);
return
I
Unknown_AddRef
((
IUnknown
*
)
This
);
return
I
BaseFilter_AddRef
(
&
This
->
filter
.
IBaseFilter_iface
);
}
}
static
ULONG
WINAPI
AMFilterMiscFlags_Release
(
IAMFilterMiscFlags
*
iface
)
{
static
ULONG
WINAPI
AMFilterMiscFlags_Release
(
IAMFilterMiscFlags
*
iface
)
{
AsyncReader
*
This
=
impl_from_IAMFilterMiscFlags
(
iface
);
AsyncReader
*
This
=
impl_from_IAMFilterMiscFlags
(
iface
);
return
I
Unknown_Release
((
IUnknown
*
)
This
);
return
I
BaseFilter_Release
(
&
This
->
filter
.
IBaseFilter_iface
);
}
}
static
ULONG
WINAPI
AMFilterMiscFlags_GetMiscFlags
(
IAMFilterMiscFlags
*
iface
)
{
static
ULONG
WINAPI
AMFilterMiscFlags_GetMiscFlags
(
IAMFilterMiscFlags
*
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