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
665c90a9
Commit
665c90a9
authored
Jan 21, 2010
by
Paul Vriens
Committed by
Alexandre Julliard
Jan 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Don't crash on Win9x/WinMe.
parent
60ad1aed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
win.c
dlls/user32/tests/win.c
+11
-4
No files found.
dlls/user32/tests/win.c
View file @
665c90a9
...
...
@@ -2785,14 +2785,21 @@ static void test_capture_4(void)
hmenu
=
CreatePopupMenu
();
ret
=
AppendMenuA
(
hmenu
,
MF_STRING
,
1
,
"winetest2"
);
ok
(
ret
,
"AppendMenA has failed!
\n
"
);
ok
(
ret
,
"AppendMen
u
A has failed!
\n
"
);
/* set main window to have initial capture */
SetCapture
(
hwnd
);
/* create popup (it will self-destruct) */
ret
=
TrackPopupMenu
(
hmenu
,
0x100
,
100
,
100
,
0
,
hwnd
,
NULL
);
ok
(
ret
==
0
,
"TrackPopupMenu returned %d expected zero
\n
"
,
ret
);
if
(
!
GetWindowLongW
(
GetDesktopWindow
(),
GWL_STYLE
))
{
win_skip
(
"TrackPopupMenu test crashes on Win9x/WinMe
\n
"
);
}
else
{
/* create popup (it will self-destruct) */
ret
=
TrackPopupMenu
(
hmenu
,
TPM_RETURNCMD
,
100
,
100
,
0
,
hwnd
,
NULL
);
ok
(
ret
==
0
,
"TrackPopupMenu returned %d expected zero
\n
"
,
ret
);
}
/* clean up */
DestroyMenu
(
hmenu
);
...
...
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