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
01624ea6
Commit
01624ea6
authored
Apr 05, 2010
by
Christian Costa
Committed by
Alexandre Julliard
Apr 06, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
amstream: Fix AddRef calls.
parent
33f41d15
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
amstream.c
dlls/amstream/amstream.c
+1
-1
mediastream.c
dlls/amstream/mediastream.c
+6
-6
No files found.
dlls/amstream/amstream.c
View file @
01624ea6
...
@@ -82,7 +82,7 @@ static HRESULT WINAPI IAMMultiMediaStreamImpl_QueryInterface(IAMMultiMediaStream
...
@@ -82,7 +82,7 @@ static HRESULT WINAPI IAMMultiMediaStreamImpl_QueryInterface(IAMMultiMediaStream
IsEqualGUID
(
riid
,
&
IID_IMultiMediaStream
)
||
IsEqualGUID
(
riid
,
&
IID_IMultiMediaStream
)
||
IsEqualGUID
(
riid
,
&
IID_IAMMultiMediaStream
))
IsEqualGUID
(
riid
,
&
IID_IAMMultiMediaStream
))
{
{
I
ClassFactory
_AddRef
(
iface
);
I
Unknown
_AddRef
(
iface
);
*
ppvObject
=
This
;
*
ppvObject
=
This
;
return
S_OK
;
return
S_OK
;
}
}
...
...
dlls/amstream/mediastream.c
View file @
01624ea6
...
@@ -89,9 +89,9 @@ static HRESULT WINAPI IMediaStreamImpl_QueryInterface(IMediaStream* iface, REFII
...
@@ -89,9 +89,9 @@ static HRESULT WINAPI IMediaStreamImpl_QueryInterface(IMediaStream* iface, REFII
if
(
IsEqualGUID
(
riid
,
&
IID_IUnknown
)
||
if
(
IsEqualGUID
(
riid
,
&
IID_IUnknown
)
||
IsEqualGUID
(
riid
,
&
IID_IMediaStream
))
IsEqualGUID
(
riid
,
&
IID_IMediaStream
))
{
{
IClassFactory
_AddRef
(
iface
);
IUnknown
_AddRef
(
iface
);
*
ppvObject
=
This
;
*
ppvObject
=
This
;
return
S_OK
;
return
S_OK
;
}
}
ERR
(
"(%p)->(%s,%p),not found
\n
"
,
This
,
debugstr_guid
(
riid
),
ppvObject
);
ERR
(
"(%p)->(%s,%p),not found
\n
"
,
This
,
debugstr_guid
(
riid
),
ppvObject
);
...
@@ -229,9 +229,9 @@ static HRESULT WINAPI IDirectDrawMediaStreamImpl_QueryInterface(IDirectDrawMedia
...
@@ -229,9 +229,9 @@ static HRESULT WINAPI IDirectDrawMediaStreamImpl_QueryInterface(IDirectDrawMedia
IsEqualGUID
(
riid
,
&
IID_IMediaStream
)
||
IsEqualGUID
(
riid
,
&
IID_IMediaStream
)
||
IsEqualGUID
(
riid
,
&
IID_IDirectDrawMediaStream
))
IsEqualGUID
(
riid
,
&
IID_IDirectDrawMediaStream
))
{
{
IClassFactory
_AddRef
(
iface
);
IUnknown
_AddRef
(
iface
);
*
ppvObject
=
This
;
*
ppvObject
=
This
;
return
S_OK
;
return
S_OK
;
}
}
ERR
(
"(%p)->(%s,%p),not found
\n
"
,
This
,
debugstr_guid
(
riid
),
ppvObject
);
ERR
(
"(%p)->(%s,%p),not found
\n
"
,
This
,
debugstr_guid
(
riid
),
ppvObject
);
...
...
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