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
814807a1
Commit
814807a1
authored
Dec 06, 2023
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Remove unused argument for unpack_message.
parent
10424f0d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
hook.c
dlls/user32/hook.c
+3
-3
user_private.h
dlls/user32/user_private.h
+1
-1
winproc.c
dlls/user32/winproc.c
+2
-3
No files found.
dlls/user32/hook.c
View file @
814807a1
...
...
@@ -478,7 +478,7 @@ BOOL WINAPI User32CallWindowsHook( struct win_hook_params *params, ULONG size )
{
cbtc
.
hwndInsertAfter
=
HWND_TOP
;
unpack_message
(
(
HWND
)
params
->
wparam
,
WM_CREATE
,
NULL
,
(
LPARAM
*
)
&
cbtc
.
lpcs
,
ret_ptr
,
ret_size
,
FALSE
);
ret_ptr
,
FALSE
);
params
->
lparam
=
(
LPARAM
)
&
cbtc
;
ret_size
=
sizeof
(
*
cbtc
.
lpcs
);
}
...
...
@@ -490,7 +490,7 @@ BOOL WINAPI User32CallWindowsHook( struct win_hook_params *params, ULONG size )
size_t
offset
=
(
lparam_offset
+
sizeof
(
*
cwp
)
+
15
)
&
~
15
;
unpack_message
(
cwp
->
hwnd
,
cwp
->
message
,
&
cwp
->
wParam
,
&
cwp
->
lParam
,
(
char
*
)
params
+
offset
,
size
-
offset
,
!
params
->
prev_unicode
);
(
char
*
)
params
+
offset
,
!
params
->
prev_unicode
);
ret_size
=
0
;
break
;
}
...
...
@@ -501,7 +501,7 @@ BOOL WINAPI User32CallWindowsHook( struct win_hook_params *params, ULONG size )
size_t
offset
=
(
lparam_offset
+
sizeof
(
*
cwpret
)
+
15
)
&
~
15
;
unpack_message
(
cwpret
->
hwnd
,
cwpret
->
message
,
&
cwpret
->
wParam
,
&
cwpret
->
lParam
,
(
char
*
)
params
+
offset
,
size
-
offset
,
!
params
->
prev_unicode
);
(
char
*
)
params
+
offset
,
!
params
->
prev_unicode
);
ret_size
=
0
;
break
;
}
...
...
dlls/user32/user_private.h
View file @
814807a1
...
...
@@ -52,7 +52,7 @@ extern BOOL unpack_dde_message( HWND hwnd, UINT message, WPARAM *wparam, LPARAM
extern
void
free_cached_data
(
UINT
format
,
HANDLE
handle
);
extern
HANDLE
render_synthesized_format
(
UINT
format
,
UINT
from
);
extern
void
unpack_message
(
HWND
hwnd
,
UINT
message
,
WPARAM
*
wparam
,
LPARAM
*
lparam
,
void
*
buffer
,
size_t
size
,
BOOL
ansi
);
void
*
buffer
,
BOOL
ansi
);
extern
void
CLIPBOARD_ReleaseOwner
(
HWND
hwnd
);
extern
HDC
get_display_dc
(
void
);
...
...
dlls/user32/winproc.c
View file @
814807a1
...
...
@@ -738,8 +738,7 @@ static size_t string_size( const void *str, BOOL ansi )
*
* Unpack a message received from win32u.
*/
void
unpack_message
(
HWND
hwnd
,
UINT
message
,
WPARAM
*
wparam
,
LPARAM
*
lparam
,
void
*
buffer
,
size_t
size
,
BOOL
ansi
)
void
unpack_message
(
HWND
hwnd
,
UINT
message
,
WPARAM
*
wparam
,
LPARAM
*
lparam
,
void
*
buffer
,
BOOL
ansi
)
{
switch
(
message
)
{
...
...
@@ -816,7 +815,7 @@ BOOL WINAPI User32CallWindowProc( struct win_proc_params *params, ULONG size )
buffer
=
(
char
*
)
params
+
offset
;
unpack_message
(
params
->
hwnd
,
params
->
msg
,
&
params
->
wparam
,
&
params
->
lparam
,
buffer
,
pa
cked_size
,
pa
rams
->
ansi
);
buffer
,
params
->
ansi
);
}
result
=
dispatch_win_proc_params
(
params
);
...
...
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