Commit Graph

43 Commits

Author SHA1 Message Date
Alexandre Julliard 2be5b054d3 user32: Move monitor functions to sysparams.c.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-17 17:39:56 +02:00
Fabian Maurer cb92983112 user32: Add RegisterTouchHitTestingWindow stub.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 10:50:02 +02:00
Fabian Maurer 66180389f8 user32: Add stub for GetPointerDevices.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 10:50:02 +02:00
Fabian Maurer 6b59f750cd user32: Make RegisterPointerDeviceNotifications return TRUE to fake success.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 10:50:02 +02:00
Louis Lenders 0b27528c56 user32: Add stub for RegisterPointerDeviceNotifications.
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-05 09:22:11 +02:00
Huw Davies 9933a0fc86 user32: Initialize length before calling GetWindowPlacement().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-30 21:30:45 +01:00
Sebastian Lackner acdf001261 user32: Fix definition of DeregisterShellHookWindow.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 11:50:58 +09:00
Akihiro Sagawa 686369022d imm32: Set the default IME window title and styles as in native.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-07 10:43:13 +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
Michael Stefaniuc 959b9d1cbb user32: Use wine_dbgstr_rect() to print a RECT.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-27 12:41:55 +09:00
Sebastian Lackner 11f6df13eb user32: Set %ecx to address of rect in EnumDisplayMonitors callback.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 15:57:32 +09:00
Ken Thomases 474196c746 user32: Call the EnumDisplayMonitors callback using a wrapper.
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-25 22:49:15 +09:00
Austin English 2b740588ba user32: Add QueryDisplayConfig stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-15 21:32:54 +09:00
Austin English 0cb983f8b8 user32: Add GetGestureConfig stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-14 13:54:52 +09:00
Nikolay Sivov 8b353f5409 user32: Added a GetDisplayConfigBufferSizes stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-26 16:16:54 +09:00
Hans Leidekker 1a78666654 user32: Add a stub implementation of IsWindowRedirectedForPrint. 2015-07-29 21:44:02 +02:00
Hans Leidekker 80cee36b6a user32: Return a fake handle from RegisterPowerSettingNotification. 2015-07-17 20:17:40 +09:00
Hans Leidekker 4ad09a150e user32: Add a stub implementation of UnregisterPowerSettingNotification. 2015-07-17 20:17:36 +09:00
Hans Leidekker 9023a95e5b user32: Add a stub implementation of IsTouchWindow. 2014-11-27 13:27:06 +01:00
Piotr Caban 3be5c16b4d user32: Move IME window procedure to user32. 2014-11-11 16:09:47 +09:00
Austin English 82392e78b7 user32: Add a stub for SetGestureConfig. 2014-06-17 10:34:40 +02:00
Patrick Rudolph 4ecda80c6c user32: Check for valid cbSize in GetMonitorInfoW. 2014-04-24 11:38:09 +02:00
Patrick Rudolph 8be5dd162c user32: Check for valid cbSize in GetMonitorInfoA. 2014-04-22 18:44:39 +02:00
Nikolay Sivov bd262c606a user32: Added RegisterPowerSettingNotification() stub. 2014-04-07 15:34:34 +02:00
Vincent Povirk 2fef984ed5 user32: Treat empty rects as 1x1 in MonitorFromRect. 2014-01-28 11:50:31 +01:00
Ken Thomases 304ab65dbf user32: Fix distance calculation for MONITOR_DEFAULTTONEAREST.
If the target rect is outside a monitor rect but is between its extremes in
one dimension, that dimension should contribute 0 to the distance, rather than
some arbitrary amount.
2013-12-13 12:05:27 +01:00
Frédéric Delanoy 77ee42fd33 user32: Use BOOL type where appropriate. 2013-11-05 11:15:06 +01:00
Alexandre Julliard 010769249c user32: Get the graphics driver name from the desktop window registry entry. 2013-10-29 12:12:21 +01:00
Alexandre Julliard eb5127dfd1 user32: Create the desktop window before enumerating monitors. 2013-10-16 19:45:50 +02:00
Hans Leidekker 6493d6abbc user32: Add a stub implementation of UserHandleGrantAccess. 2013-03-08 11:02:25 +01:00
Francois Gouget b89a49d481 user32: Fix the spelling of the hRecipient variable. 2012-05-15 16:26:41 +02:00
André Hentschel 7521ae4291 user32: Use more meaningful variable names. 2011-06-28 11:57:50 -05:00
Alexandre Julliard 196ec5969d user32: Implement Get/SetProcessDefaultLayout. 2010-09-02 18:01:01 +02:00
Justin Chevrier 64f2c03457 user32: EnumDisplayDevicesW, populate DeviceID member. 2010-01-25 12:54:19 +01:00
Michael Stefaniuc 31ef27ed57 user32: Avoid newlines inside FIXME messages. 2010-01-14 09:03:37 -06:00
Alexandre Julliard da57abcb02 user32: Move a few 16-bit stubs to user16.c. 2009-12-23 19:49:27 +01:00
Nikolay Sivov 25dac198c3 user32: Add a stub for DisableProcessWindowsGhosting. 2009-05-27 11:11:36 +02:00
Dmitry Timoshkov 5587387c9f user32: Make GetMonitorInfoW print the monitor properties. 2008-09-11 11:46:19 +02:00
Martin Profittlich b83de4adef user32: Make RegisterDeviceNotificationW behave likeRegisterDeviceNotificationA. 2008-08-28 11:24:48 +02:00
Rob Shearman 386427e739 user32: Fix MonitorFromRect to cope with the absence of the MONITOR_DEFAULTTONEAREST flag.
Previously, the code would return any monitor found, regardless of 
whether it intersected the given rect or was the nearest monitor. This 
is fixed by adding a new flag that causes monitor_enum to only find the 
nearest monitor if MONITOR_DEFAULTTONEAREST is specified.

Also add a trace for MonitorFromWindow, since it is called in many 
places within user32 and so can't be traced using a relay trace.
2008-02-16 14:58:14 +01:00
Detlef Riekenberg b90c6e2792 user32: Add a stub for GetAppCompatFlags2. 2007-07-31 12:34:48 +02:00
Michael Stefaniuc 33af3c5c83 janitorial: Use the C standard for multiline strings. 2007-01-10 12:28:19 +01:00
Alexandre Julliard b8a2e3b8a4 user32: Renamed the user/ directory to user32. 2006-11-16 14:49:25 +01:00