Commit Graph

95 Commits

Author SHA1 Message Date
Alexandre Julliard dee9a361c7 user32: Pass a valid length to RtlUnicodeToMultiByteN/RtlMultiByteToUnicodeN.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-14 09:44:41 +02:00
Jacek Caban dae11519da win32u: Introduce inline helpers for NtUserCallTwoParam calls.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:13:18 +02:00
Jacek Caban a94eab5acf win32u: Use more consistent NtUserMessageCall constant names.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-08 18:23:56 +02:00
Jacek Caban d513eee3ee user.exe: Remove no longer used wait_message16.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Jacek Caban 177eb908c9 win32u: Return LRESULT from NtUserMessageCall.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:50:57 +02:00
Jacek Caban 6badbee323 win32u: Move process_sent_messages implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 18:51:32 +02:00
Jacek Caban 2656d667a8 user32: Move unpack_message call to User32CallWindowProc.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 18:51:32 +02:00
Jacek Caban 0cfc7c4458 user32: Merge WINPROC_call_window into call_window_proc.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-23 18:42:13 +01:00
Jacek Caban 1e5dc840f7 win32u: Implement NtUserDispatchMessage.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-23 18:42:13 +01:00
Jacek Caban c1a9b0b6a9 win32u: Move init_win_proc_params implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-23 18:42:13 +01:00
Jacek Caban b8a805e2f2 user32: Move more code out of call_window_proc.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-23 18:42:13 +01:00
Jacek Caban afddda2ce6 user32: Use dispatch_win_proc_params in CallWindowProc.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-23 18:42:13 +01:00
Jacek Caban a821155f21 user32: Factor out dispatch_win_proc_params.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-23 18:42:13 +01:00
Jacek Caban 0b87623819 user.exe: Use win32u directly for cursor icon handle support.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-21 16:12:07 +01:00
Jacek Caban d765edc411 win32u: Move NtUserCreateWindowEx implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-18 17:30:49 +01:00
Jacek Caban ce9a782a4f win32u: Move NtUserSetSystemTimer implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-16 21:16:21 +01:00
Jacek Caban 77f3b54ef8 win32u: Move winproc array from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-04 19:13:10 +01:00
Alexandre Julliard 7637e49c44 user32: Return INT_PTR instead of LRESULT in dialog procedures.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-19 11:33:05 +02:00
Francois Gouget e2b0fb9857 user32: Fix ASCII / ANSI mixups in comments.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-31 16:07:28 +02:00
Francois Gouget 7a9745022b user32: Fix a typo in a comment.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-08 20:55:40 +01:00
Alexandre Julliard 9cc9236556 user32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-21 15:15:38 +02:00
Alexandre Julliard d5a372abbb include: Move inline assembly definitions to a new wine/asm.h header.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 13:45:07 +02:00
Alexandre Julliard 0d83218a2d user32: Clear %edi register when calling window procedure.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46352
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-28 18:20:56 +01: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
Nikolay Sivov 9640990e43 user32: Don't convert message arguments when calling dialog procedure.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:57:53 +01:00
Alexandre Julliard 01676c5dd6 user32: Use the magic format string prefix for relay traces.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-25 12:05:40 +01:00
Zebediah Figura 9b7f9f2d08 user32: Use the given string length when converting strings in WM_GETTEXT.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-06 12:15:28 +01:00
Piotr Caban c9ae38e4c7 user32: Call window procedure even if we're out of winproc handles.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-14 13:54:50 +09:00
Piotr Caban 7cb0e78dbf user32: Return window procedure pointer in WINPROC_AllocProc if it's not possible to allocate handle.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-14 13:54:50 +09:00
Piotr Caban 3be5c16b4d user32: Move IME window procedure to user32. 2014-11-11 16:09:47 +09:00
Michael Stefaniuc 7c7fa1051c user32: Avoid using CONST. 2013-09-24 12:57:57 +02:00
Huw Davies bf85df3f0e user32: Move back to using WC<->MB in order to specify an alternative codepage. 2013-05-21 16:55:11 +02:00
Alexandre Julliard bd5d5e9776 user32: Start checking for driver events more often when the app doesn't consume messages properly. 2012-12-12 20:17:21 +01:00
Alexandre Julliard b7582525a0 user32: Don't flush window surfaces while waiting for a sent message reply. 2012-10-29 14:39:53 +01:00
Alexandre Julliard 24eee97d21 user32: Add a driver entry point for UpdateLayeredWindow. 2012-10-01 13:20:20 +02:00
Alexandre Julliard 7304445a7e user32: Maintain a list of active window surfaces and flush them periodically. 2012-09-06 12:38:13 +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 4b4b6a48cb user32: Use the wait message handler for the yield in PeekMessageW too. 2009-12-24 12:08:02 +01:00
Alexandre Julliard b33c5f163a user32: Add a WoW wrapper for message waiting to allow releasing the Win16 lock in the 16-bit code. 2009-12-24 12:07:44 +01:00
Alexandre Julliard b201a41edf user32: Export the WIN_GetFullHandle function through the WoW handlers. 2009-12-23 19:34:58 +01:00
Alexandre Julliard eb36bb2e47 user32: Export DIALOG_get_info and DIALOG_DoDialogBox through the WoW handlers. 2009-12-23 19:34:41 +01:00
Alexandre Julliard cecb3a993c user32: Allocate user handles for cursors/icons when we don't have 16-bit support. 2009-12-22 17:35:41 +01:00
Alexandre Julliard b36ca48608 user32: Call the cursor/icon handle allocation functions through the WoW handlers table. 2009-12-22 17:27:57 +01:00
Alexandre Julliard ce50559013 user32: Send all CreateWindow calls through the WoW wrapper to allow mapping 16-bit instances. 2009-12-21 15:00:35 +01:00
Alexandre Julliard 77ab435402 user32: Make WINPROC_AllocProc take a unicode flag for consistency with the other winproc functions. 2009-12-18 12:41:59 +01:00
Alexandre Julliard 6b0cdc1922 user32: Pre-allocate the window procedure for the message class. 2009-12-18 12:38:22 +01:00
Alexandre Julliard e6f15c5886 user32: Pre-allocate the window procedure for the menu class. 2009-12-18 12:37:58 +01:00
Alexandre Julliard d88c34099b user32: Pre-allocate the window procedure for the icon title class. 2009-12-18 12:37:05 +01:00
Alexandre Julliard 0c4e151ee9 user32: Pre-allocate the window procedure for the desktop class. 2009-12-18 12:36:33 +01:00
Alexandre Julliard 8494682f2d user32: Move 16-bit window creation functions to 16-bit files. 2009-12-17 15:03:32 +01:00