Commit Graph

30 Commits

Author SHA1 Message Date
Eric Pouech 341b341605 user.exe16: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-21 12:32:07 +01:00
Alexandre Julliard 879ccd3357 user.exe: Make sure that the thunk selector doesn't get freed.
Spotted by Fabian Maurer.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=12732
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-20 11:07:56 +01:00
Huw Davies 8e5774eaa6 user: Copy back the 16-bit MDICREATESTRUCT.
Otherwise lpCreateParams is overwitten by CREATESTRUCT32Ato16().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52356
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-11 15:15:34 +01:00
Nikolay Sivov 0f16aa1842 user.exe: Fix WM_ERASEBKGND HDC param conversion in WINPROC_CallProc16To32A.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51624
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51899
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-30 22:07:21 +01:00
Jacek Caban 1bfae238c8 user.exe: Use WINPROC_CallProc16To32A for DefWindowProc16.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51624
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51899
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-30 22:07:21 +01:00
Alexandre Julliard f87262ea99 include: Add CURRENT_SS/SP macros for 16-bit code.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-26 21:31:53 +01:00
Alexandre Julliard 6e1c296ef3 include: Make the CURRENT_STACK16 and CURRENT_DS macros available globally.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-26 21:31:53 +01:00
Alexandre Julliard 64bd952b85 user.exe: Clear out the thunk array to catch invalid winprocs.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48814
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-26 18:34:49 +01:00
Alexandre Julliard 84f39259b1 user.exe: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-25 08:32:37 +02:00
Alexandre Julliard 0d7d0427d0 user.exe: Avoid using libwine functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-21 18:08:36 +02:00
Alexandre Julliard a23c20eee1 include: Don't allow using wine/library.h with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 20:01:01 +02:00
Alexandre Julliard 39f0bbff4e user32: Set the thread DPI awareness to the window's when calling a window procedure.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-02 17:33:19 +02:00
Zebediah Figura abfa87dabf user.exe16: Fix LPARAM conversions in WM_DDE_EXECUTE.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-09 20:49:09 +01:00
Nikolay Sivov d07a7bbba5 user.exe: Fully convert MSG16 to MSG in IsDialogMessage() (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-29 22:38:35 +01:00
Alexandre Julliard b266fcaa66 Revert "user.exe: Release the Win16 lock due to loading 32-bit dlls in CreateWindow."
This reverts commit 9ac7bca209.
The bug has now been fixed in winoldap instead.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-30 23:16:53 +09:00
Akihiro Sagawa 9ac7bca209 user.exe: Release the Win16 lock due to loading 32-bit dlls in CreateWindow. 2015-08-06 23:36:02 +09:00
Austin English 39730102aa user.exe16: Downgrade a couple MESSAGEs to WARNs. 2014-04-16 10:52:54 +02:00
Michael Stefaniuc 2a39cb377a dlls: Replace the remaining CONSTs. 2013-09-25 11:49:20 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Francois Gouget 5920de5ffb Assorted spelling and case fixes. 2011-05-09 12:09:27 +02:00
Alexandre Julliard eda6079681 user.exe: Call the 16-bit hook directly in SendMessage16. 2011-03-08 14:50:18 +01:00
Alexandre Julliard d86df45602 user.exe: Avoid using the CONTEXT86 type. 2010-10-20 18:37:08 +02:00
Gerald Pfeifer cbbfbca9e4 user.exe16: Remove variable width which is not really used from listbox_proc16. 2010-05-10 10:11:37 +02:00
Alexandre Julliard f89aaa65ad user32: Store 32-bit and 16-bit cursors/icons in independent structures. 2010-02-08 17:49:47 +01:00
Alexandre Julliard 8fc1fc49fd user: Add internal functions for cursor/icon 16<->32 conversion to replace the typecasting macros. 2010-02-02 12:14:10 +01:00
Detlef Riekenberg 2f529c39fd user32: Move a comment about HLOCAL16 to user.exe. 2010-01-05 18:08:19 +01:00
Michael Stefaniuc 453cf859a8 user.exe: Remove some superfluous WPARAM/LPARAM casts. 2009-12-30 16:13:38 +01:00
Alexandre Julliard b96ab35cad user32: Move loading of static icons for 16-bit windows to the 16-bit wrapper. 2009-12-28 23:50:40 +01:00
Alexandre Julliard 537877adae user32: Move handling of listbox sizes for Win 3.1 apps to the 16-bit code. 2009-12-24 21:09:17 +01:00
Alexandre Julliard 8aa83d326a user32: Make user.exe into a stand-alone 16-bit module. 2009-12-24 12:15:12 +01:00