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
0c48fbc6
Commit
0c48fbc6
authored
Oct 06, 2004
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Oct 06, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip interthread message test under win9x, it causes a crash there.
parent
b519893e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
msg.c
dlls/user/tests/msg.c
+8
-2
No files found.
dlls/user/tests/msg.c
View file @
0c48fbc6
...
...
@@ -2744,7 +2744,12 @@ static void test_interthread_messages(void)
int
len
,
expected_len
;
struct
wnd_event
wnd_event
;
wnd_event
.
event
=
CreateEvent
(
NULL
,
0
,
0
,
NULL
);
wnd_event
.
event
=
CreateEventW
(
NULL
,
0
,
0
,
NULL
);
if
(
!
wnd_event
.
event
)
{
trace
(
"skipping interthread message test under win9x
\n
"
);
return
;
}
hThread
=
CreateThread
(
NULL
,
0
,
thread_proc
,
&
wnd_event
,
0
,
&
tid
);
ok
(
hThread
!=
NULL
,
"CreateThread failed, error %ld
\n
"
,
GetLastError
());
...
...
@@ -2777,10 +2782,11 @@ static void test_interthread_messages(void)
ok
(
!
len
&&
GetLastError
()
==
ERROR_MESSAGE_SYNC_ONLY
,
"DispatchMessageA(WM_GETTEXT) succeded on another thread window: ret %d, error %ld
\n
"
,
len
,
GetLastError
());
/* the following test causes an exception in user.exe under win9x */
msg
.
hwnd
=
wnd_event
.
hwnd
;
msg
.
message
=
WM_TIMER
;
msg
.
wParam
=
0
;
msg
.
lParam
=
GetWindowLong
W
(
wnd_event
.
hwnd
,
GWL
_WNDPROC
);
msg
.
lParam
=
GetWindowLong
PtrA
(
wnd_event
.
hwnd
,
GWLP
_WNDPROC
);
SetLastError
(
0xdeadbeef
);
len
=
DispatchMessageA
(
&
msg
);
ok
(
!
len
&&
GetLastError
()
==
0xdeadbeef
,
...
...
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