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
b2f34b35
Commit
b2f34b35
authored
Sep 15, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Ignore some more messages.
parent
72638e0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
5 deletions
+31
-5
msg.c
dlls/user32/tests/msg.c
+31
-5
No files found.
dlls/user32/tests/msg.c
View file @
b2f34b35
...
...
@@ -3613,6 +3613,9 @@ static INT_PTR CALLBACK TestModalDlgProcA(HWND hwnd, UINT message, WPARAM wParam
/* explicitly ignore WM_GETICON message */
if
(
message
==
WM_GETICON
)
return
0
;
/* ignore registered messages */
if
(
message
>=
0xc000
)
return
0
;
switch
(
message
)
{
/* ignore */
...
...
@@ -4890,6 +4893,9 @@ static LRESULT CALLBACK button_hook_proc(HWND hwnd, UINT message, WPARAM wParam,
/* explicitly ignore WM_GETICON message */
if
(
message
==
WM_GETICON
)
return
0
;
/* ignore registered messages */
if
(
message
>=
0xc000
)
return
0
;
msg
.
message
=
message
;
msg
.
flags
=
sent
|
wparam
|
lparam
;
if
(
defwndproc_counter
)
msg
.
flags
|=
defwinproc
;
...
...
@@ -5031,6 +5037,9 @@ static LRESULT CALLBACK static_hook_proc(HWND hwnd, UINT message, WPARAM wParam,
/* explicitly ignore WM_GETICON message */
if
(
message
==
WM_GETICON
)
return
0
;
/* ignore registered messages */
if
(
message
>=
0xc000
)
return
0
;
msg
.
message
=
message
;
msg
.
flags
=
sent
|
wparam
|
lparam
;
if
(
defwndproc_counter
)
msg
.
flags
|=
defwinproc
;
...
...
@@ -6362,6 +6371,7 @@ static void pump_msg_loop(HWND hwnd, HACCEL hAccel)
/* ignore some unwanted messages */
if
(
msg
.
message
==
WM_MOUSEMOVE
||
msg
.
message
==
WM_GETICON
||
msg
.
message
==
WM_TIMER
||
msg
.
message
==
WM_DEVICECHANGE
)
continue
;
...
...
@@ -6588,6 +6598,9 @@ static LRESULT MsgCheckProc (BOOL unicode, HWND hwnd, UINT message,
/* explicitly ignore WM_GETICON message */
if
(
message
==
WM_GETICON
)
return
0
;
/* ignore registered messages */
if
(
message
>=
0xc000
)
return
0
;
switch
(
message
)
{
case
WM_ENABLE
:
...
...
@@ -6780,6 +6793,9 @@ static LRESULT WINAPI ParentMsgCheckProcA(HWND hwnd, UINT message, WPARAM wParam
/* explicitly ignore WM_GETICON message */
if
(
message
==
WM_GETICON
)
return
0
;
/* ignore registered messages */
if
(
message
>=
0xc000
)
return
0
;
logged_lParam
=
lParam
;
if
(
log_all_parent_messages
||
message
==
WM_PARENTNOTIFY
||
message
==
WM_CANCELMODE
||
...
...
@@ -6884,6 +6900,9 @@ static LRESULT WINAPI TestDlgProcA(HWND hwnd, UINT message, WPARAM wParam, LPARA
/* explicitly ignore WM_GETICON message */
if
(
message
==
WM_GETICON
)
return
0
;
/* ignore registered messages */
if
(
message
>=
0xc000
)
return
0
;
if
(
test_def_id
)
{
DefDlgProcA
(
hwnd
,
DM_SETDEFID
,
1
,
0
);
...
...
@@ -7050,13 +7069,17 @@ LRESULT WINAPI PaintLoopProcA(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
MSG
msg2
;
static
int
i
=
0
;
i
++
;
if
(
PeekMessageA
(
&
msg2
,
0
,
0
,
0
,
1
))
if
(
i
<
256
)
{
TranslateMessage
(
&
msg2
);
DispatchMessage
(
&
msg2
);
i
++
;
if
(
PeekMessageA
(
&
msg2
,
0
,
0
,
0
,
1
))
{
TranslateMessage
(
&
msg2
);
DispatchMessage
(
&
msg2
);
}
i
--
;
}
i
--
;
else
ok
(
broken
(
1
),
"infinite loop
\n
"
)
;
if
(
i
==
0
)
paint_loop_done
=
1
;
return
DefWindowProcA
(
hWnd
,
msg
,
wParam
,
lParam
);
...
...
@@ -8594,6 +8617,9 @@ static LRESULT CALLBACK edit_hook_proc(HWND hwnd, UINT message, WPARAM wParam, L
/* explicitly ignore WM_GETICON message */
if
(
message
==
WM_GETICON
)
return
0
;
/* ignore registered messages */
if
(
message
>=
0xc000
)
return
0
;
msg
.
message
=
message
;
msg
.
flags
=
sent
|
wparam
|
lparam
;
if
(
defwndproc_counter
)
msg
.
flags
|=
defwinproc
;
...
...
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