Commit Graph

98 Commits

Author SHA1 Message Date
Ge van Geldorp 1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01:00
Markus Amsler 86b6749208 Improve c2man Documented-Total count. Changes:
- add missing description
- add missing returns section
- complete missing A/W pairs
- reformate comments, to match c2man requirements
2005-11-09 10:33:40 +00:00
Dmitry Timoshkov 26b40c296f Add some missing USER definitions, add a couple of FIXMEs for not
implemented features.
2005-10-27 18:28:23 +00:00
Frank Richter 7686aa86e6 When doing A->W WM_GETTEXTLENGTH, use WM_GETTEXT behind the scenes to
obtain an exact length.
2005-10-18 10:45:18 +00:00
Alexandre Julliard 127127fd3b Timeout 0 means infinite wait for SendMessageTimeout.
Remove the message from the receiver queue if it times out before
being received.
2005-09-13 14:46:46 +00:00
Alexandre Julliard ba41fe20bc Fixed a few more pointer to integer typecast issues for 64-bit
platforms.
2005-09-12 21:22:32 +00:00
Alexandre Julliard 5a49e40149 SendMessageTimeout takes a DWORD_PTR not a DWORD. 2005-09-12 20:43:32 +00:00
Alexandre Julliard c6b005ac69 Fixed some more traces to use the right printf format and avoid
typecasts.
2005-09-12 14:12:46 +00:00
Alexandre Julliard 20a1a203c6 Use a more portable scheme for storing the name of a critical
section.
2005-09-09 10:19:44 +00:00
Jacek Caban f4c4092fb5 Fix RegisterWindowMessage declaration and improve debug message. 2005-08-22 09:15:55 +00:00
Alexandre Julliard caf18a640e Set remove to TRUE in accept_hardware_message for messages that should
go to a different thread. Simplify the code a bit.
2005-08-11 10:36:03 +00:00
Phil Krylov a8f4b16bd0 Translate the whole wparam to/from Unicode. 2005-07-26 15:55:42 +00:00
Alexandre Julliard 98c315c7c0 Save the scope window for mouse events before overwriting it. 2005-07-19 19:14:32 +00:00
Alexandre Julliard 15ec968724 Load the USER driver on demand instead of at user32 load time.
Provide a fallback implementation for all the functions to avoid
having to check for NULL functions everywhere.
2005-07-18 15:14:56 +00:00
Mike McCormack c787b146e1 -Wpointer-sign fixes for gcc 4.0. 2005-07-06 10:36:28 +00:00
Dmitry Timoshkov d3847e01b7 Update internal state only if the message is being removed. 2005-06-02 10:38:12 +00:00
Alexandre Julliard 63342353bc Store a bitmap of active hooks on the client side to try to avoid
server calls for hooks that are not set.
2005-05-11 13:03:15 +00:00
Mike McCormack abe70f7648 Implemented GetLastInputInfo. 2005-04-28 12:04:14 +00:00
Alexandre Julliard 6b4c02e57f Moved remaining messaging definitions to user_private.h and removed
message.h.
2005-04-27 10:23:24 +00:00
Alexandre Julliard 86be9f20da Removed the MESSAGEQUEUE structure, and store the corresponding
information directly in the TEB, in the Win32ClientInfo field.
2005-04-27 08:18:20 +00:00
Alexandre Julliard b6f4eccdbd Moved some messaging and input functions to message.c and input.c
respectively.
2005-04-26 08:18:47 +00:00
Alexandre Julliard fc2bd2324e Handle posted internal messages directly in PeekMessageW to avoid
having to return them to the application.
Call NtYieldExecution for nicer behavior when PM_NOYIELD is not
specified.
2005-04-20 18:53:53 +00:00
Alexandre Julliard 3e2f2a5265 Allow nested hardware message processing by storing a unique id in
every message and using it to manage the current queue position.
Better filtering of hardware messages to avoid returning messages that
have no chance to match the filter.
2005-04-20 13:03:59 +00:00
Kevin Koltzau f4767f1424 Added full support for xbuttons (side mouse buttons). 2005-03-24 19:15:41 +00:00
Alexandre Julliard 039603c77d Don't maintain a client-side WND structure for the desktop window.
Made WIN_GetPtr return WND_DESKTOP in that case.
2005-03-24 15:18:50 +00:00
Alexandre Julliard 04881fae7a Get rid of the window lock suspend mechanism. 2005-03-23 13:18:51 +00:00
Alexandre Julliard 0bc8377bc2 Create a new server request for accepting hardware messages instead of
abusing reply_message.
Allow passing the determined window for a hardware message back to the
server to have it redispatch the message to the correct thread.
2005-03-23 10:33:17 +00:00
Alexandre Julliard 564915eadc Simplify hardware message processing by merging the "raw" and "cooked"
processing into a single function.
2005-03-22 21:48:40 +00:00
Peter Berg Larsen 25a6663243 Assorted memleak fixes. Found on Michael Stefaniuc smatch list. 2005-03-14 17:13:44 +00:00
Alexandre Julliard b9a9de6eb9 Clear the internal paint flag in the server before returning a
WM_PAINT message to avoid an extra server round-trip.
2005-03-10 17:19:33 +00:00
Alexandre Julliard 85c81bf419 Merge the rest of the messaging code into dlls/user/message.c and get
rid of windows/message.c.
2005-03-10 15:47:53 +00:00
Alexandre Julliard 99615021fb Properly cope with get_message being called recursively while
processing a hardware message.
2005-03-10 11:52:25 +00:00
Alexandre Julliard 7b738b7f8c Make sure to always pass valid QS_* flags to
MsgWaitForMultipleObjects.
2005-03-08 17:00:38 +00:00
Alexandre Julliard 97d6e7fd3d Moved TranslateMessage and DispatchMessage to dlls/user/message.c.
Added support for posting internal messages.
Added support for driver-specific internal messages.
2005-03-07 17:19:24 +00:00
Ulrich Czekalla 687679cd90 Print out error message if we fail to remove message from queue. 2005-03-07 10:58:00 +00:00
Alexandre Julliard 85d14279a5 Support sending WM_PAINT across processes when it doesn't contain an
HDC.
2005-03-04 10:50:22 +00:00
Dmitry Timoshkov 6dba0a7718 Add support for winevent hooks. 2005-02-03 16:40:20 +00:00
Vitaly Lipatov 386cf457c9 Added handling of SBM_GETSCROLLBARINFO message. 2005-01-09 16:35:41 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Mike McCormack 42d55786b9 Stub implementation for GetLastInputInfo. 2004-12-08 19:41:36 +00:00
Alexandre Julliard 6a78c16aac Moved private USER definitions to a new user_private.h header, and
removed the global user.h.
2004-12-08 18:06:14 +00:00
Alexandre Julliard e0db46c4aa Get rid of the client-side window timer structures. 2004-11-29 18:18:02 +00:00
Alexandre Julliard c329cc4f9c Fixed handling of NULL pointer in PeekMessageW, with test (reported by
Eric Frias).
2004-11-23 17:39:13 +00:00
Dmitry Timoshkov 5736111c83 Protect USER32 against early graphics driver unloading. 2004-10-18 21:25:26 +00:00
Alexandre Julliard 998863bf63 Only send WM_PAINTICON and WM_ICONERASEBKGND to 16-bit windows (found
by Jeremy White).
2004-10-07 03:09:37 +00:00
Dmitry Timoshkov 11d550dfa8 Add more message conversion tests, make the tests pass under Wine. 2004-10-04 20:39:00 +00:00
Robert Shearman bbdac5e475 GetWindowLong -> GetWindowLongPtr. 2004-09-22 19:14:08 +00:00
Dimitrie O. Paun 630dc0f5a9 Use the W version of the function were we can. 2004-09-15 18:04:07 +00:00
Alexandre Julliard 80bba3bd61 Moved keyboard.c to dlls/user/kbd16.c.
Keyboard, mouse and display drivers are 16-bit only.
2004-09-01 22:47:48 +00:00
Andrey Panov f4a535d61e In get_buffer_space() function, HeapReAlloc() will not allocate memory
if passed *buffer value is NULL.
2004-05-06 23:41:15 +00:00