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
e45202fd
Commit
e45202fd
authored
Jul 18, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jul 18, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Remove unsupported interface REFIID from storage stream QueryInterface.
parent
382acd52
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
stg_stream.c
dlls/ole32/stg_stream.c
+0
-2
storage32.c
dlls/ole32/tests/storage32.c
+8
-0
No files found.
dlls/ole32/stg_stream.c
View file @
e45202fd
...
...
@@ -94,8 +94,6 @@ static HRESULT WINAPI StgStreamImpl_QueryInterface(
*
ppvObject
=
0
;
if
(
IsEqualIID
(
&
IID_IUnknown
,
riid
)
||
IsEqualIID
(
&
IID_IPersist
,
riid
)
||
IsEqualIID
(
&
IID_IPersistStream
,
riid
)
||
IsEqualIID
(
&
IID_ISequentialStream
,
riid
)
||
IsEqualIID
(
&
IID_IStream
,
riid
))
{
...
...
dlls/ole32/tests/storage32.c
View file @
e45202fd
...
...
@@ -315,6 +315,7 @@ static void test_storage_stream(void)
LARGE_INTEGER
pos
;
ULARGE_INTEGER
p
;
unsigned
char
buffer
[
0x100
];
IUnknown
*
unk
;
DeleteFileA
(
filenameA
);
...
...
@@ -347,6 +348,13 @@ static void test_storage_stream(void)
/* now really create a stream and delete it */
r
=
IStorage_CreateStream
(
stg
,
stmname
,
STGM_SHARE_EXCLUSIVE
|
STGM_READWRITE
,
0
,
0
,
&
stm
);
ok
(
r
==
S_OK
,
"IStorage->CreateStream failed
\n
"
);
/* test for support interfaces */
r
=
IStream_QueryInterface
(
stm
,
&
IID_IPersist
,
(
void
**
)
&
unk
);
ok
(
r
==
E_NOINTERFACE
,
"got 0x%08x
\n
"
,
r
);
r
=
IStream_QueryInterface
(
stm
,
&
IID_IPersistStream
,
(
void
**
)
&
unk
);
ok
(
r
==
E_NOINTERFACE
,
"got 0x%08x
\n
"
,
r
);
r
=
IStream_Release
(
stm
);
ok
(
r
==
0
,
"wrong ref count
\n
"
);
r
=
IStorage_CreateStream
(
stg
,
stmname
,
STGM_SHARE_EXCLUSIVE
|
STGM_READWRITE
,
0
,
0
,
&
stm
);
...
...
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