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
a8d2ba9d
Commit
a8d2ba9d
authored
Oct 05, 2004
by
Francois Gouget
Committed by
Alexandre Julliard
Oct 05, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace some IUnknown_QueryInterface() calls with the specific call
for the object being used.
parent
e1143d7d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
acmstream.c
dlls/avifil32/acmstream.c
+1
-1
avifile.c
dlls/avifil32/avifile.c
+1
-1
factory.c
dlls/avifil32/factory.c
+1
-1
icmstream.c
dlls/avifil32/icmstream.c
+1
-1
wavfile.c
dlls/avifil32/wavfile.c
+1
-1
No files found.
dlls/avifil32/acmstream.c
View file @
a8d2ba9d
...
...
@@ -119,7 +119,7 @@ HRESULT AVIFILE_CreateACMStream(REFIID riid, LPVOID *ppv)
pstream
->
lpVtbl
=
&
iacmst
;
hr
=
I
Unknown_QueryInterface
((
IUnknown
*
)
pstream
,
riid
,
ppv
);
hr
=
I
AVIStream_QueryInterface
((
IAVIStream
*
)
pstream
,
riid
,
ppv
);
if
(
FAILED
(
hr
))
LocalFree
((
HLOCAL
)
pstream
);
...
...
dlls/avifil32/avifile.c
View file @
a8d2ba9d
...
...
@@ -249,7 +249,7 @@ HRESULT AVIFILE_CreateAVIFile(REFIID riid, LPVOID *ppv)
pfile
->
iPersistFile
.
lpVtbl
=
&
ipersistft
;
pfile
->
iPersistFile
.
paf
=
pfile
;
hr
=
I
Unknown_QueryInterface
((
IUnknown
*
)
pfile
,
riid
,
ppv
);
hr
=
I
AVIFile_QueryInterface
((
IAVIFile
*
)
pfile
,
riid
,
ppv
);
if
(
FAILED
(
hr
))
LocalFree
((
HLOCAL
)
pfile
);
...
...
dlls/avifil32/factory.c
View file @
a8d2ba9d
...
...
@@ -81,7 +81,7 @@ static HRESULT AVIFILE_CreateClassFactory(const CLSID *pclsid, const IID *riid,
pClassFactory
->
dwRef
=
0
;
memcpy
(
&
pClassFactory
->
clsid
,
pclsid
,
sizeof
(
pClassFactory
->
clsid
));
hr
=
I
Unknown_QueryInterface
((
IUnknown
*
)
pClassFactory
,
riid
,
ppv
);
hr
=
I
ClassFactory_QueryInterface
((
IClassFactory
*
)
pClassFactory
,
riid
,
ppv
);
if
(
FAILED
(
hr
))
{
LocalFree
((
HLOCAL
)
pClassFactory
);
*
ppv
=
NULL
;
...
...
dlls/avifil32/icmstream.c
View file @
a8d2ba9d
...
...
@@ -135,7 +135,7 @@ HRESULT AVIFILE_CreateICMStream(REFIID riid, LPVOID *ppv)
pstream
->
lpVtbl
=
&
iicmst
;
AVIFILE_Reset
(
pstream
);
hr
=
I
Unknown_QueryInterface
((
IUnknown
*
)
pstream
,
riid
,
ppv
);
hr
=
I
AVIStream_QueryInterface
((
IAVIStream
*
)
pstream
,
riid
,
ppv
);
if
(
FAILED
(
hr
))
LocalFree
((
HLOCAL
)
pstream
);
...
...
dlls/avifil32/wavfile.c
View file @
a8d2ba9d
...
...
@@ -236,7 +236,7 @@ HRESULT AVIFILE_CreateWAVFile(REFIID riid, LPVOID *ppv)
pfile
->
iPersistFile
.
paf
=
pfile
;
pfile
->
iAVIStream
.
paf
=
pfile
;
hr
=
I
Unknown_QueryInterface
((
IUnknown
*
)
pfile
,
riid
,
ppv
);
hr
=
I
AVIFile_QueryInterface
((
IAVIFile
*
)
pfile
,
riid
,
ppv
);
if
(
FAILED
(
hr
))
LocalFree
((
HLOCAL
)
pfile
);
...
...
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