[PATCH] user.exe16: Add missing SELECTOROF in WM_DDE_EXECUTE.

Alexandre Julliard julliard at winehq.org
Thu Jan 5 05:23:47 CST 2017


Zebediah Figura <z.figura12 at gmail.com> writes:

> Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
> ---
>  dlls/user.exe16/message.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/dlls/user.exe16/message.c b/dlls/user.exe16/message.c
> index 7bcc8e2..383d746 100644
> --- a/dlls/user.exe16/message.c
> +++ b/dlls/user.exe16/message.c
> @@ -900,7 +900,7 @@ LRESULT WINPROC_CallProc16To32A( winproc_callback_t callback, HWND16 hwnd, UINT1
>          }
>          break; /* FIXME don't know how to free allocated memory (handle) !! */
>      case WM_DDE_EXECUTE:
> -        lParam = convert_handle_16_to_32( lParam, GMEM_DDESHARE );
> +        lParam = convert_handle_16_to_32( SELECTOROF(lParam), GMEM_DDESHARE );

This won't work without fixing the opposite mapping. Do you have a
reference for this? What application is this for?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list