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
0a1a4f7c
Commit
0a1a4f7c
authored
Aug 06, 2008
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Aug 20, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Stop crash under w2k8.
parent
ea49a069
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
marshal.c
dlls/ole32/tests/marshal.c
+13
-10
No files found.
dlls/ole32/tests/marshal.c
View file @
0a1a4f7c
...
...
@@ -2337,20 +2337,23 @@ static void test_handler_marshaling(void)
ok_ole_success
(
hr
,
"CoUnmarshalInterface"
);
IStream_Release
(
pStream
);
ok_more_than_one_lock
();
if
(
hr
==
S_OK
)
{
ok_more_than_one_lock
();
hr
=
IUnknown_QueryInterface
(
pProxy
,
&
IID_IWineTest
,
(
void
**
)
&
pObject
);
ok
(
hr
==
E_NOINTERFACE
,
"IUnknown_QueryInterface with unknown IID should have returned E_NOINTERFACE instead of 0x%08x
\n
"
,
hr
);
hr
=
IUnknown_QueryInterface
(
pProxy
,
&
IID_IWineTest
,
(
void
**
)
&
pObject
);
ok
(
hr
==
E_NOINTERFACE
,
"IUnknown_QueryInterface with unknown IID should have returned E_NOINTERFACE instead of 0x%08x
\n
"
,
hr
);
/* it's a handler as it supports IOleObject */
hr
=
IUnknown_QueryInterface
(
pProxy
,
&
IID_IOleObject
,
(
void
**
)
&
pObject
);
todo_wine
ok_ole_success
(
hr
,
"IUnknown_QueryInterface(&IID_IOleObject)"
);
if
(
SUCCEEDED
(
hr
))
IUnknown_Release
(
pObject
);
/* it's a handler as it supports IOleObject */
hr
=
IUnknown_QueryInterface
(
pProxy
,
&
IID_IOleObject
,
(
void
**
)
&
pObject
);
todo_wine
ok_ole_success
(
hr
,
"IUnknown_QueryInterface(&IID_IOleObject)"
);
if
(
SUCCEEDED
(
hr
))
IUnknown_Release
(
pObject
);
IUnknown_Release
(
pProxy
);
IUnknown_Release
(
pProxy
);
ok_no_locks
();
ok_no_locks
();
}
end_host_object
(
tid
,
thread
);
...
...
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