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
9fd75e86
Commit
9fd75e86
authored
Jul 31, 2015
by
Piotr Caban
Committed by
Alexandre Julliard
Jul 31, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/tests: Fix new failures in CoWaitForMultipleHandles tests.
parent
44c301c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
compobj.c
dlls/ole32/tests/compobj.c
+4
-4
No files found.
dlls/ole32/tests/compobj.c
View file @
9fd75e86
...
...
@@ -2145,16 +2145,16 @@ static DWORD CALLBACK test_CoWaitForMultipleHandles_thread(LPVOID arg)
index
=
0xdeadbeef
;
PostMessageA
(
hWnd
,
WM_DDE_FIRST
,
0
,
0
);
hr
=
CoWaitForMultipleHandles
(
0
,
50
,
2
,
handles
,
&
index
);
ok
(
hr
==
RPC_S_CALLPENDING
,
"expected
S_OK
, got 0x%08x
\n
"
,
hr
);
ok
(
index
==
0
,
"expected index 0, got %u
\n
"
,
index
);
ok
(
hr
==
RPC_S_CALLPENDING
,
"expected
RPC_S_CALLPENDING
, got 0x%08x
\n
"
,
hr
);
ok
(
index
==
0
||
index
==
0xdeadbeef
/* Win 8 */
,
"expected index 0, got %u
\n
"
,
index
);
success
=
PeekMessageA
(
&
msg
,
hWnd
,
WM_DDE_FIRST
,
WM_DDE_FIRST
,
PM_REMOVE
);
ok
(
!
success
,
"CoWaitForMultipleHandles didn't pump any messages
\n
"
);
index
=
0xdeadbeef
;
PostMessageA
(
hWnd
,
WM_USER
,
0
,
0
);
hr
=
CoWaitForMultipleHandles
(
0
,
50
,
2
,
handles
,
&
index
);
ok
(
hr
==
RPC_S_CALLPENDING
,
"expected
S_OK
, got 0x%08x
\n
"
,
hr
);
ok
(
index
==
0
,
"expected index 0, got %u
\n
"
,
index
);
ok
(
hr
==
RPC_S_CALLPENDING
,
"expected
RPC_S_CALLPENDING
, got 0x%08x
\n
"
,
hr
);
ok
(
index
==
0
||
index
==
0xdeadbeef
/* Win 8 */
,
"expected index 0, got %u
\n
"
,
index
);
success
=
PeekMessageA
(
&
msg
,
hWnd
,
WM_USER
,
WM_USER
,
PM_REMOVE
);
ok
(
success
,
"CoWaitForMultipleHandles unexpectedly pumped messages
\n
"
);
...
...
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