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
47661ce0
Commit
47661ce0
authored
Mar 03, 2007
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Mar 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fix most of test failures when running message test under win2k and XP.
parent
3cdf2439
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
msg.c
dlls/user32/tests/msg.c
+10
-4
No files found.
dlls/user32/tests/msg.c
View file @
47661ce0
...
...
@@ -4232,7 +4232,7 @@ static const struct message WmSetFontButtonSeq[] =
{
{
WM_SETFONT
,
sent
},
{
WM_PAINT
,
sent
},
{
WM_ERASEBKGND
,
sent
|
defwinproc
},
{
WM_ERASEBKGND
,
sent
|
defwinproc
|
optional
},
{
WM_CTLCOLORBTN
,
sent
|
defwinproc
},
{
0
}
};
...
...
@@ -4372,7 +4372,7 @@ static const struct message WmSetFontStaticSeq[] =
{
{
WM_SETFONT
,
sent
},
{
WM_PAINT
,
sent
|
defwinproc
},
{
WM_ERASEBKGND
,
sent
|
defwinproc
},
{
WM_ERASEBKGND
,
sent
|
defwinproc
|
optional
},
{
WM_CTLCOLORSTATIC
,
sent
|
defwinproc
},
{
0
}
};
...
...
@@ -8010,7 +8010,10 @@ static void test_PeekMessage(void)
"wrong qstatus %08x
\n
"
,
qstatus
);
msg
.
message
=
0
;
ret
=
PeekMessageA
(
&
msg
,
0
,
0
,
0
,
PM_REMOVE
|
(
QS_RAWINPUT
<<
16
));
if
(
qs_all_input
&
QS_RAWINPUT
)
/* use QS_RAWINPUT only if supported */
ret
=
PeekMessageA
(
&
msg
,
0
,
0
,
0
,
PM_REMOVE
|
(
QS_RAWINPUT
<<
16
));
else
/* workaround for a missing QS_RAWINPUT support */
ret
=
PeekMessageA
(
&
msg
,
0
,
WM_KEYDOWN
,
WM_KEYDOWN
,
PM_REMOVE
);
ok
(
ret
&&
msg
.
message
==
WM_KEYDOWN
&&
msg
.
wParam
==
'N'
,
"got %d and %04x wParam %08x instead of TRUE and WM_KEYDOWN wParam 'N'
\n
"
,
ret
,
msg
.
message
,
msg
.
wParam
);
...
...
@@ -8021,7 +8024,10 @@ static void test_PeekMessage(void)
"wrong qstatus %08x
\n
"
,
qstatus
);
msg
.
message
=
0
;
ret
=
PeekMessageA
(
&
msg
,
0
,
0
,
0
,
PM_REMOVE
|
(
QS_RAWINPUT
<<
16
));
if
(
qs_all_input
&
QS_RAWINPUT
)
/* use QS_RAWINPUT only if supported */
ret
=
PeekMessageA
(
&
msg
,
0
,
0
,
0
,
PM_REMOVE
|
(
QS_RAWINPUT
<<
16
));
else
/* workaround for a missing QS_RAWINPUT support */
ret
=
PeekMessageA
(
&
msg
,
0
,
WM_KEYUP
,
WM_KEYUP
,
PM_REMOVE
);
ok
(
ret
&&
msg
.
message
==
WM_KEYUP
&&
msg
.
wParam
==
'N'
,
"got %d and %04x wParam %08x instead of TRUE and WM_KEYUP wParam 'N'
\n
"
,
ret
,
msg
.
message
,
msg
.
wParam
);
...
...
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