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
fda70b97
Commit
fda70b97
authored
Sep 30, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Oct 01, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Don't crash on Win9x/WinMe/NT4.
parent
89c91ac0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
msg.c
dlls/user32/tests/msg.c
+14
-0
No files found.
dlls/user32/tests/msg.c
View file @
fda70b97
...
@@ -7862,7 +7862,21 @@ static void test_timers(void)
...
@@ -7862,7 +7862,21 @@ static void test_timers(void)
ok
(
KillTimer
(
info
.
hWnd
,
TIMER_ID
),
"KillTimer failed
\n
"
);
ok
(
KillTimer
(
info
.
hWnd
,
TIMER_ID
),
"KillTimer failed
\n
"
);
ok
(
DestroyWindow
(
info
.
hWnd
),
"failed to destroy window
\n
"
);
/* Test timer callback with crash */
/* Test timer callback with crash */
SetLastError
(
0xdeadbeef
);
info
.
hWnd
=
CreateWindowW
(
testWindowClassW
,
NULL
,
WS_OVERLAPPEDWINDOW
,
CW_USEDEFAULT
,
CW_USEDEFAULT
,
300
,
300
,
0
,
NULL
,
NULL
,
0
);
if
((
!
info
.
hWnd
&&
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
||
/* Win9x/Me */
(
!
pGetMenuInfo
))
/* Win95/NT4 */
{
win_skip
(
"Test would crash on Win9x/WinMe/NT4
\n
"
);
DestroyWindow
(
info
.
hWnd
);
return
;
}
info
.
id
=
SetTimer
(
info
.
hWnd
,
TIMER_ID
,
0
,
tfunc_crash
);
info
.
id
=
SetTimer
(
info
.
hWnd
,
TIMER_ID
,
0
,
tfunc_crash
);
ok
(
info
.
id
,
"SetTimer failed
\n
"
);
ok
(
info
.
id
,
"SetTimer failed
\n
"
);
Sleep
(
150
);
Sleep
(
150
);
...
...
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