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
63cbef27
Commit
63cbef27
authored
Aug 01, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Jul 31, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Use IsGUIDEqual to compare IIDs.
parent
6a5d3600
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
storage32.c
dlls/ole32/storage32.c
+3
-6
No files found.
dlls/ole32/storage32.c
View file @
63cbef27
...
...
@@ -199,15 +199,12 @@ static HRESULT WINAPI StorageBaseImpl_QueryInterface(
/*
* Compare the riid with the interface IDs implemented by this object.
*/
if
(
memcmp
(
&
IID_IUnknown
,
riid
,
sizeof
(
IID_IUnknown
))
==
0
)
{
*
ppvObject
=
(
IStorage
*
)
This
;
}
else
if
(
memcmp
(
&
IID_IStorage
,
riid
,
sizeof
(
IID_IStorage
))
==
0
)
if
(
IsEqualGUID
(
&
IID_IUnknown
,
riid
)
||
IsEqualGUID
(
&
IID_IStorage
,
riid
))
{
*
ppvObject
=
(
IStorage
*
)
This
;
}
else
if
(
memcmp
(
&
IID_IPropertySetStorage
,
riid
,
sizeof
(
IID_IPropertySetStorage
))
==
0
)
else
if
(
IsEqualGUID
(
&
IID_IPropertySetStorage
,
riid
)
)
{
*
ppvObject
=
(
IStorage
*
)
&
This
->
pssVtbl
;
}
...
...
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