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
0b811eea
Commit
0b811eea
authored
Jan 20, 2015
by
André Hentschel
Committed by
Alexandre Julliard
Jan 21, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Don't test function directly when reporting GetLastError().
parent
ae125159
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
msg.c
dlls/user32/tests/msg.c
+5
-2
No files found.
dlls/user32/tests/msg.c
View file @
0b811eea
...
...
@@ -4533,6 +4533,7 @@ static void test_messages(void)
MSG
msg
;
LRESULT
res
;
POINT
pos
;
BOOL
ret
;
flush_sequence
();
...
...
@@ -4819,7 +4820,8 @@ static void test_messages(void)
flush_events
();
flush_sequence
();
ok
(
DrawMenuBar
(
hwnd
),
"DrawMenuBar failed: %d
\n
"
,
GetLastError
());
ret
=
DrawMenuBar
(
hwnd
);
ok
(
ret
,
"DrawMenuBar failed: %d
\n
"
,
GetLastError
());
flush_events
();
ok_sequence
(
WmDrawMenuBarSeq
,
"DrawMenuBar"
,
FALSE
);
ok
(
SetCursorPos
(
pos
.
x
,
pos
.
y
),
"SetCursorPos failed
\n
"
);
...
...
@@ -4831,7 +4833,8 @@ static void test_messages(void)
ok
(
hwnd
!=
0
,
"Failed to create custom dialog window
\n
"
);
flush_events
();
flush_sequence
();
ok
(
DrawMenuBar
(
hwnd
),
"DrawMenuBar failed: %d
\n
"
,
GetLastError
());
ret
=
DrawMenuBar
(
hwnd
);
ok
(
ret
,
"DrawMenuBar failed: %d
\n
"
,
GetLastError
());
flush_events
();
ok_sequence
(
WmEmptySeq
,
"DrawMenuBar for a child window"
,
FALSE
);
...
...
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