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
b3b390d8
Commit
b3b390d8
authored
Aug 13, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Added ISynchronizeHandle tests.
parent
c6793a2e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
marshal.c
dlls/ole32/tests/marshal.c
+13
-0
No files found.
dlls/ole32/tests/marshal.c
View file @
b3b390d8
...
...
@@ -2853,8 +2853,10 @@ static void test_globalinterfacetable(void)
static
void
test_manualresetevent
(
void
)
{
ISynchronizeHandle
*
sync_handle
;
ISynchronize
*
psync1
,
*
psync2
;
IUnknown
*
punk
;
HANDLE
handle
;
LONG
ref
;
HRESULT
hr
;
...
...
@@ -2887,6 +2889,17 @@ static void test_manualresetevent(void)
ok
(
hr
==
S_OK
,
"Got 0x%08x
\n
"
,
hr
);
ok
(
!!
psync2
,
"Got NULL.
\n
"
);
ok
(
psync1
!=
psync2
,
"psync1 == psync2.
\n
"
);
hr
=
ISynchronize_QueryInterface
(
psync2
,
&
IID_ISynchronizeHandle
,
(
void
**
)
&
sync_handle
);
ok
(
hr
==
S_OK
,
"QueryInterface(IID_ISynchronizeHandle) failed: %08x
\n
"
,
hr
);
handle
=
NULL
;
hr
=
ISynchronizeHandle_GetHandle
(
sync_handle
,
&
handle
);
ok
(
hr
==
S_OK
,
"GetHandle failed: %08x
\n
"
,
hr
);
ok
(
handle
!=
NULL
&&
handle
!=
INVALID_HANDLE_VALUE
,
"handle = %p
\n
"
,
handle
);
ISynchronizeHandle_Release
(
sync_handle
);
hr
=
ISynchronize_Wait
(
psync2
,
0
,
5
);
ok
(
hr
==
RPC_S_CALLPENDING
,
"Got 0x%08x
\n
"
,
hr
);
...
...
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