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
f38a07b2
Commit
f38a07b2
authored
Mar 26, 2004
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Mar 26, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a procedure for logging WM_PARENTNOTIFY messages.
parent
dbecf5c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
msg.c
dlls/user/tests/msg.c
+19
-1
No files found.
dlls/user/tests/msg.c
View file @
f38a07b2
...
...
@@ -532,6 +532,24 @@ static LRESULT WINAPI MsgCheckProcA(HWND hwnd, UINT message, WPARAM wParam, LPAR
return
DefWindowProcA
(
hwnd
,
message
,
wParam
,
lParam
);
}
static
LRESULT
WINAPI
ParentMsgCheckProcA
(
HWND
hwnd
,
UINT
message
,
WPARAM
wParam
,
LPARAM
lParam
)
{
struct
message
msg
;
trace
(
"%p, %04x, %08x, %08lx
\n
"
,
hwnd
,
message
,
wParam
,
lParam
);
if
(
message
==
WM_PARENTNOTIFY
)
{
msg
.
message
=
message
;
msg
.
flags
=
sent
|
parent
|
wparam
|
lparam
;
msg
.
wParam
=
wParam
;
msg
.
lParam
=
lParam
;
add_message
(
&
msg
);
}
return
DefWindowProcA
(
hwnd
,
message
,
wParam
,
lParam
);
}
static
BOOL
RegisterWindowClasses
(
void
)
{
WNDCLASSA
cls
;
...
...
@@ -550,7 +568,7 @@ static BOOL RegisterWindowClasses(void)
if
(
!
RegisterClassA
(
&
cls
))
return
FALSE
;
cls
.
style
=
0
;
cls
.
lpfnWndProc
=
DefWindow
ProcA
;
cls
.
lpfnWndProc
=
ParentMsgCheck
ProcA
;
cls
.
cbClsExtra
=
0
;
cls
.
cbWndExtra
=
0
;
cls
.
hInstance
=
GetModuleHandleA
(
0
);
...
...
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