Commit graph

317 commits

Author SHA1 Message Date
Jacek Caban
7fc68b7ac5 win32u: Move GetTaskmanWindow implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban
7d53e27cff win32u: Move SetTaskmanWindow implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban
592abf3379 win32u: Move GetProgmanWindow implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban
62852dc503 win32u: Move SetProgmanWindow implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban
c8f1d41183 win32u: Move NtUserSetShellWindowEx implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban
67c3fff7cd win32u: Move GetShellWindow implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban
ae7effbd78 win32u: Move NtUserWaitMessage implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban
f5c8275329 win32u: Move NtUserGetInternalWindowPos implementation from user32. 2022-12-08 18:41:24 +01:00
Jacek Caban
026700027e win32u: Move NtUserRealChildWindowFromPoint implementation from user32. 2022-12-08 18:41:24 +01:00
Sven Baars
f8a0716111 win32u: Pass the client instance to NtUserCreateWindowEx.
On 16-bit the module instance and client instance are different.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53568
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53646
2022-12-07 17:10:37 +01:00
Jacek Caban
6b2da0bab9 win32u: Move NtUserPrintWindow implementation from user32. 2022-11-29 12:50:22 +01:00
Jacek Caban
ae984f630b win32u: Move NtUserValidateRect implementation from user32. 2022-11-29 12:50:20 +01:00
Jacek Caban
8bdfe2be19 win32u: Move NtUserGetWindowDC implementation from user32. 2022-11-29 12:50:19 +01:00
Jacek Caban
be6f5ed95a win32u: Move NtUserGetDC implementation from user32. 2022-11-29 12:50:16 +01:00
Zhiyi Zhang
c196d2462d user32: Hook drawing menu buttons. 2022-11-04 19:23:55 +01:00
Rémi Bernon
dec91f0631 opengl32: Introduce a new NtUserCallOpenGLDebugMessageCallback callback. 2022-11-04 19:23:55 +01:00
Nikolay Sivov
645326214f user32: Add DragObject() stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53768
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-10-31 20:41:45 +01:00
Paul Gofman
162101bcb3 win32u: Move NtUserDisplayConfigGetDeviceInfo implementation from user32. 2022-10-31 12:12:15 +01:00
Jacek Caban
4467589a4a win32u: Introduce NtUserSendDriverMessage.
And use it in display drivers.
2022-09-20 20:52:56 +02:00
Jacek Caban
3ba583fde8 win32u: Introduce NtUserActivateOtherWindow.
And use it instead of WINPOS_ActivateOtherWindow.
2022-08-27 16:53:30 +02:00
Jacek Caban
803a5f0789 win32u: Move NtUserPerMonitorDPIPhysicalToLogicalPoint implementation from user32. 2022-08-27 16:53:28 +02:00
Jacek Caban
352e24dcdf win32u: Move NtUserLogicalToPerMonitorDPIPhysicalPoint implementation from user32. 2022-08-27 16:53:27 +02:00
Jacek Caban
577fbb0ff1 user32: Move dialog proc getting implementation from win32u. 2022-08-18 21:42:26 +02:00
Jacek Caban
6d8b1887a5 wow64win: Implement more user callbacks. 2022-08-16 22:27:53 +02:00
Jacek Caban
caad167278 win32u: Use a client copy of windows hook lparam when calling hook procs.
Instead of leaking kernel pointers.
2022-08-16 22:27:53 +02:00
Jacek Caban
439cdf4901 win32u: Move more logic from dispatch_win_proc_params. 2022-08-15 18:15:19 +02:00
Jacek Caban
40dbc84913 win32u: Use NtUserCallMessage for passing packed winproc result. 2022-08-12 22:12:32 +02:00
Jacek Caban
701932a6ce wow64win: Add initial user callbacks support. 2022-08-11 16:50:55 +02:00
Jacek Caban
2c75490c3e win32u: Use NtUserMessageCall for NtUserSpyGetMsgName.
Instead of leaking a kernel pointer.
2022-08-09 15:55:44 +02:00
Jacek Caban
8bb71922a5 win32u: Store thread info in 64-bit TEB on wow64. 2022-08-09 15:55:44 +02:00
Jacek Caban
1e9390e558 win32u: Use platform-independent layout for ntuser_thread_info. 2022-08-09 15:55:43 +02:00
Jacek Caban
1e640b5e7f user32: Don't include ntuser_private.h. 2022-08-08 18:47:45 +02:00
Jacek Caban
eb317d9d8c win32u: Store receive_flags in ntuser_thread_info. 2022-08-08 18:47:45 +02:00
Jacek Caban
ca903a4a16 win32u: Move msg_source and recursion_count to ntuser_thread_info. 2022-08-08 18:47:45 +02:00
Jacek Caban
da2c400edc win32u: Store wmchar_data in ntuser_thread_info. 2022-08-08 18:47:44 +02:00
Jacek Caban
f390b5b884 win32u: Store DPI awareness in ntuser_thread_info. 2022-08-08 18:47:44 +02:00
Jacek Caban
ed693f5b32 win32u: Move builtin classes registration from user32. 2022-08-08 18:47:44 +02:00
Jacek Caban
929694c66d user32: Remove USER_CheckNotLock.
It's no longer interesting. Its remaining callers are not used by locked code, which is restricted to win32u.
2022-08-05 20:13:33 +02:00
Jacek Caban
421fb1c804 win32u: Introduce NtUserGetChildRect.
And use it in CalcChildScroll.
2022-08-05 20:13:33 +02:00
Jacek Caban
c0b62eb5ae user32: Use win32u to get and set MDI client info. 2022-08-05 20:13:33 +02:00
Jacek Caban
224a8fc24e win32u: Introduce NtUserGetWindowSysSubMenu.
And use it for MDI client implementation.
2022-08-05 20:13:33 +02:00
Jacek Caban
fa7aaca9f1 win32u: Remove no longer needed exports. 2022-07-28 17:34:03 +02:00
Jacek Caban
3dc3709f4c win32u: Introduce NtUserGetDialogProc.
And use it in user32 instead of DEFDLG_GetDlgProc.
2022-07-28 17:34:03 +02:00
Jacek Caban
1cd5702d9f win32u: Introduce NtUserGetDialogInfo and NtUserSetDialogInfo.
And use it instead of accessing window object from user32.
2022-07-28 17:34:03 +02:00
Jacek Caban
11657aab27 user32: Avoid using WIN_GetPtr for window handle validation.
We will eventually want to make GetWindowThreadProcessId fast (probably based on shared handle table) instead of calling win32u.
2022-07-28 17:34:03 +02:00
Jacek Caban
88462d9127 win32u: Get rid of no longer needed NtUserSetCallbacks. 2022-07-21 23:03:29 +02:00
Jacek Caban
2ef6a6eee6 win32u: Remove no longer needed NtUserDispatchMessageA. 2022-07-21 23:03:29 +02:00
Jacek Caban
26a4fb74ee user32: Avoid using NtUserDispatchMessage in DispatchMessage.
When possible, call window proc on PE side to allow unwinding exceptions through DispatchMessageW call.
2022-07-21 23:03:29 +02:00
Jacek Caban
d3c57dec71 win32u: Use KeUserModeCallback interface for DDE message callbacks. 2022-07-12 22:51:29 +02:00
Jacek Caban
0826fbbb74 win32u: Use KeUserModeCallback for ImmProcessKey and ImmTranslateMessage calls. 2022-07-12 22:51:29 +02:00