Commit 2656d667 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

user32: Move unpack_message call to User32CallWindowProc.

parent e72d4630
...@@ -96,6 +96,7 @@ static BOOL init_win_proc_params( struct win_proc_params *params, HWND hwnd, UIN ...@@ -96,6 +96,7 @@ static BOOL init_win_proc_params( struct win_proc_params *params, HWND hwnd, UIN
params->lparam = lparam; params->lparam = lparam;
params->ansi = params->ansi_dst = ansi; params->ansi = params->ansi_dst = ansi;
params->is_dialog = FALSE; params->is_dialog = FALSE;
params->needs_unpack = FALSE;
params->mapping = WMCHAR_MAP_CALLWINDOWPROC; params->mapping = WMCHAR_MAP_CALLWINDOWPROC;
params->dpi_awareness = get_window_dpi_awareness_context( params->hwnd ); params->dpi_awareness = get_window_dpi_awareness_context( params->hwnd );
get_winproc_params( params ); get_winproc_params( params );
...@@ -129,6 +130,7 @@ static BOOL init_window_call_params( struct win_proc_params *params, HWND hwnd, ...@@ -129,6 +130,7 @@ static BOOL init_window_call_params( struct win_proc_params *params, HWND hwnd,
params->lparam = lParam; params->lparam = lParam;
params->result = result; params->result = result;
params->ansi = ansi; params->ansi = ansi;
params->needs_unpack = FALSE;
params->mapping = mapping; params->mapping = mapping;
params->dpi_awareness = get_window_dpi_awareness_context( params->hwnd ); params->dpi_awareness = get_window_dpi_awareness_context( params->hwnd );
return TRUE; return TRUE;
......
...@@ -89,6 +89,7 @@ struct win_proc_params ...@@ -89,6 +89,7 @@ struct win_proc_params
BOOL ansi; BOOL ansi;
BOOL ansi_dst; BOOL ansi_dst;
BOOL is_dialog; BOOL is_dialog;
BOOL needs_unpack;
enum wm_char_mapping mapping; enum wm_char_mapping mapping;
DPI_AWARENESS_CONTEXT dpi_awareness; DPI_AWARENESS_CONTEXT dpi_awareness;
WNDPROC procA; WNDPROC procA;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment