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
a0c18ce7
Commit
a0c18ce7
authored
Mar 24, 2008
by
Marcus Meissner
Committed by
Alexandre Julliard
Mar 24, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Fix uninitialized struct component.
parent
e2d8e291
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
msg.c
dlls/user32/tests/msg.c
+4
-2
No files found.
dlls/user32/tests/msg.c
View file @
a0c18ce7
...
@@ -7176,14 +7176,16 @@ static LRESULT CALLBACK cbt_global_hook_proc(int nCode, WPARAM wParam, LPARAM lP
...
@@ -7176,14 +7176,16 @@ static LRESULT CALLBACK cbt_global_hook_proc(int nCode, WPARAM wParam, LPARAM lP
/* WH_MOUSE_LL hook */
/* WH_MOUSE_LL hook */
if
(
nCode
==
HC_ACTION
)
if
(
nCode
==
HC_ACTION
)
{
{
struct
message
msg
;
MSLLHOOKSTRUCT
*
mhll
=
(
MSLLHOOKSTRUCT
*
)
lParam
;
MSLLHOOKSTRUCT
*
mhll
=
(
MSLLHOOKSTRUCT
*
)
lParam
;
/* we can't test for real mouse events */
/* we can't test for real mouse events */
if
(
mhll
->
flags
&
LLMHF_INJECTED
)
if
(
mhll
->
flags
&
LLMHF_INJECTED
)
{
{
struct
message
msg
;
memset
(
&
msg
,
0
,
sizeof
(
msg
));
msg
.
message
=
wParam
;
msg
.
message
=
wParam
;
msg
.
flags
=
hook
;
msg
.
flags
=
hook
;
add_message
(
&
msg
);
add_message
(
&
msg
);
}
}
return
CallNextHookEx
(
hCBT_global_hook
,
nCode
,
wParam
,
lParam
);
return
CallNextHookEx
(
hCBT_global_hook
,
nCode
,
wParam
,
lParam
);
...
...
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