Rémi Bernon
3a9edf9aad
user32: Implement GetRawInputBuffer.
...
CoD: WWII uses it to read mouse motion instead of listening to WM_INPUT
messages.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-30 21:07:37 +02:00
Rémi Bernon
b269354f45
user32: Introduce rawinput_thread_data helper.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-30 21:06:57 +02:00
Rémi Bernon
262ad90d3f
user32: Introduce rawinput_from_hardware_message helper.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-30 21:06:55 +02:00
Matteo Bruni
f0e9cf1145
user32: Make sure update_window_state() is always executed on the owner thread.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-05 16:54:35 +02:00
Huw Davies
ae7531f673
user32: Remove unused GetAsyncKeyState() driver entry.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-06 16:04:03 +01:00
Zhiyi Zhang
23b28323cb
winex11.drv: Use generic GetMonitorInfo.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-25 13:22:17 +02:00
Zhiyi Zhang
074abfe097
winex11.drv: Use generic EnumDisplayMonitors.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-25 13:22:17 +02:00
Nikolay Sivov
47a44e6d9c
user32/dialog: Fix setting negative dialog item ids.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46494
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-24 19:39:46 +01:00
Alexandre Julliard
4da1c4370b
user32: Implement GetCurrentInputMessageSource().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-05 19:12:12 +01:00
Nikolay Sivov
78236592df
user32: When registering redirected class use correct base class name.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45689
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-27 10:57:39 +02:00
Zebediah Figura
85d5fc23b4
user32: Return HID devices in GetRawInputDeviceList().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-21 10:27:52 +02:00
Michael Stefaniuc
962b31c80b
include: Add a generic available ARRAY_SIZE().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-04 10:39:15 +02:00
Alexandre Julliard
e95d0c6849
user32: Take into account the offset between old and new parent in SetParent().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-07 12:00:17 +02:00
Alexandre Julliard
da2551f874
user32: Support returning to the process default in SetThreadDpiAwarenessContext().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-11 16:23:05 +02:00
Alexandre Julliard
478814ed95
user32: Implement Get/SetThreadDpiAwarenessContext().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 20:47:10 +02:00
Alexandre Julliard
4c71db15ca
user32: Set the process DPI awareness from the manifest.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 16:52:03 +02:00
Nikolay Sivov
9b9f97e3f6
user32: Add redirected class registration callback.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 11:41:44 +01:00
Nikolay Sivov
a21b16d8cb
user32: Fix names returned with GetClassName().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 10:00:07 +01:00
Nikolay Sivov
df715e5a9a
user32: Make it possible to create windows for redirected classes.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-31 21:07:24 +01:00
Alexandre Julliard
e7e576d675
user32: Also user the thread-safe display DC in icon functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 12:30:22 +01:00
Alexandre Julliard
5b9c69b93f
user32: Copy the bits of child windows when the parent has a surface.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-13 11:05:16 +02:00
Alexandre Julliard
4e13c06f3b
user32: Add a helper function for copying bits from a window surface.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-13 11:05:15 +02:00
Zebediah Figura
fe95de98b5
user32: Move internal message from EnableWindow to WIN_SetStyle().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-25 11:47:20 +02:00
Alexandre Julliard
b39a0f008b
user32: Remove no longer used clipboard driver entry points.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-26 15:54:05 +09:00
Alexandre Julliard
11c3867349
user32: Add an UpdateClipboard entry point to allow the driver to refresh the clipboard before it's open.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-23 20:30:15 +09:00
Alexandre Julliard
9a652e211c
user32: Synthesize bitmap clipboard formats on the user32 side.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-07 11:36:24 +09:00
Akihiro Sagawa
911d269be8
user32: Create and destroy the default IME window implicitly.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-29 16:45:32 +09:00
Jacek Caban
f0e7bd248e
user32: Introduced ThreadDetach driver entry point.
...
The problem was diagnosed by Ken Thomases.
Currently drivers use DllMain(DLL_THREAD_DETACH) to release thread data.
The problem is that DLLs (like native urlmon.dll, esp. reproducible in
IE8) may still do user32 calls after driver detaches thread. Loader
ensures that since user32.dll was loaded before dependent DLLs, user32's
DllMain will be called in the right moment. Due to lazy loading of
drivers, we have no control over them. We may use a new entry point to
make sure that we detach user32 and driver at the same time.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-27 13:23:52 +09:00
Jacek Caban
03b93eeeff
user32: Use proper types in ICO_GetIconDirectory.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 18:33:44 +09:00
Jactry Zeng
b007a98e1a
user32: Add driver entry point for FlashWindowEx.
...
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 23:35:26 +09:00
Jacek Caban
4bcb4881ae
user32: Limit number of hooks called recursively.
2015-06-29 18:51:01 +09:00
Alexandre Julliard
25d9fc3ecc
server: Check for the current owner window on the server side for releases.
2015-06-03 19:29:49 +09:00
Alexandre Julliard
070a82e743
user32: Merge the AcquireClipboard and EmptyClipboard driver entry points.
2015-06-03 18:46:53 +09:00
Alexandre Julliard
b7c340de73
user32: Get rid of the unused parameter in the EmptyClipboard driver entry point.
2015-06-03 18:46:53 +09:00
Sebastian Lackner
d3be42ab96
user32: Invalidate key state cache globally after running LL hooks.
2015-04-07 15:14:04 +09:00
Sebastian Lackner
325c061bbd
user32: Move key state cache into a separate struct.
2015-04-07 15:14:02 +09:00
Sebastian Lackner
5e5adcffb5
user32: Use C_ASSERT to ensure user_thread_info fits into TEB->Win32ClientInfo.
2015-03-23 22:59:21 +09:00
Sebastian Lackner
e9fbcc8360
user32: Avoid race-condition when unloading module while hook is still active.
...
Based on a patch by Sam Revitch.
2014-06-17 10:40:12 +02:00
Alexandre Julliard
6a0f3df68c
user32: Don't bother returning a value from the SetWindowRgn driver entry point.
2014-05-01 12:31:14 +02:00
Alexandre Julliard
b045851648
user32: Cache the server queue mask on the client side and reset them when they have changed.
2014-04-10 16:29:18 +02:00
Huw Davies
85e105bd37
user32: Add a GetKeyboardLayoutList driver entry.
2013-11-20 19:38:44 +01:00
Alexandre Julliard
a897e13fba
user32: Get rid of the CreateCursorIcon driver entry point.
2013-10-22 10:25:44 +02:00
Alexandre Julliard
209d1a86d2
user32: Delay creation of the 55AA pattern brush until it's needed.
2013-10-16 17:23:22 +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
04ad06353d
user32: Move the common parts of ScrollDC into user32 and the null driver.
2013-04-19 16:16:16 +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
13fbce5627
user32: Forward SystemParametersInfo calls to the user driver first.
2012-11-15 21:21:49 +01:00
Henri Verbeet
3ed797b265
user32: Implement GetRawInputDeviceList().
2012-10-18 19:20:27 +02:00
Alexandre Julliard
003355946f
user32: Delay message spying initialization until needed.
2012-10-15 19:26:51 +02:00
Alexandre Julliard
24eee97d21
user32: Add a driver entry point for UpdateLayeredWindow.
2012-10-01 13:20:20 +02:00