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
096deddb
Commit
096deddb
authored
Mar 18, 2018
by
Alex Henrie
Committed by
Alexandre Julliard
Mar 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Drop broadcast test workaround for Windows NT4.
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
168ca6ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
20 deletions
+15
-20
broadcast.c
dlls/user32/tests/broadcast.c
+15
-20
No files found.
dlls/user32/tests/broadcast.c
View file @
096deddb
...
...
@@ -138,26 +138,21 @@ if (0) /* TODO: Check the hang flags */
SetLastError
(
0xdeadbeef
);
recips
=
BSM_APPLICATIONS
;
ret
=
broadcast
(
BSF_POSTMESSAGE
|
BSF_SENDNOTIFYMESSAGE
,
&
recips
,
WM_NULL
,
100
,
0
);
if
(
ret
)
{
ok
(
ret
==
1
,
"Returned: %d
\n
"
,
ret
);
ok
(
WaitForSingleObject
(
hevent
,
0
)
!=
WAIT_OBJECT_0
,
"Synchronous message sent instead
\n
"
);
PulseEvent
(
hevent
);
recips
=
BSM_APPLICATIONS
;
ret
=
broadcast
(
BSF_SENDNOTIFYMESSAGE
,
&
recips
,
WM_NULL
,
100
,
BROADCAST_QUERY_DENY
);
ok
(
ret
==
1
,
"Returned: %d
\n
"
,
ret
);
ok
(
WaitForSingleObject
(
hevent
,
0
)
!=
WAIT_TIMEOUT
,
"Asynchronous message sent instead
\n
"
);
PulseEvent
(
hevent
);
recips
=
BSM_APPLICATIONS
;
ret
=
broadcast
(
BSF_SENDNOTIFYMESSAGE
|
BSF_QUERY
,
&
recips
,
WM_NULL
,
100
,
BROADCAST_QUERY_DENY
);
ok
(
!
ret
,
"Returned: %d
\n
"
,
ret
);
ok
(
WaitForSingleObject
(
hevent
,
0
)
!=
WAIT_TIMEOUT
,
"Asynchronous message sent instead
\n
"
);
PulseEvent
(
hevent
);
}
else
/* BSF_SENDNOTIFYMESSAGE not supported on NT4 */
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"failed with err %u
\n
"
,
GetLastError
()
);
ok
(
ret
==
1
,
"Returned: %d
\n
"
,
ret
);
ok
(
WaitForSingleObject
(
hevent
,
0
)
!=
WAIT_OBJECT_0
,
"Synchronous message sent instead
\n
"
);
PulseEvent
(
hevent
);
recips
=
BSM_APPLICATIONS
;
ret
=
broadcast
(
BSF_SENDNOTIFYMESSAGE
,
&
recips
,
WM_NULL
,
100
,
BROADCAST_QUERY_DENY
);
ok
(
ret
==
1
,
"Returned: %d
\n
"
,
ret
);
ok
(
WaitForSingleObject
(
hevent
,
0
)
!=
WAIT_TIMEOUT
,
"Asynchronous message sent instead
\n
"
);
PulseEvent
(
hevent
);
recips
=
BSM_APPLICATIONS
;
ret
=
broadcast
(
BSF_SENDNOTIFYMESSAGE
|
BSF_QUERY
,
&
recips
,
WM_NULL
,
100
,
BROADCAST_QUERY_DENY
);
ok
(
!
ret
,
"Returned: %d
\n
"
,
ret
);
ok
(
WaitForSingleObject
(
hevent
,
0
)
!=
WAIT_TIMEOUT
,
"Asynchronous message sent instead
\n
"
);
PulseEvent
(
hevent
);
recips
=
BSM_APPLICATIONS
;
ret
=
broadcast
(
0
,
&
recips
,
WM_NULL
,
100
,
0
);
...
...
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