Rémi Bernon
979d36969c
win32u: Pass the rect DPI to NtUserIsWindowRectFullScreen.
2024-06-06 10:40:40 +02:00
Rémi Bernon
64639c93c8
win32u: Pass desired DPI to NtUserGet(Client|Window)Rect.
2024-06-06 10:40:40 +02:00
Rémi Bernon
9afb3057af
win32u: Introduce NtUserAdjustWindowRect call for AdjustWindowRect*.
2024-06-06 10:40:39 +02:00
Rémi Bernon
9e9d2d43c1
win32u: Introduce new helpers to convert server rectangle_t.
2024-06-06 10:40:37 +02:00
Rémi Bernon
83a143efe0
win32u: Move UpdateLayeredWindow implementation out of the drivers.
2024-06-05 16:38:25 +02:00
Rémi Bernon
091883d4b6
win32u: Introduce a new CreateLayeredWindow driver entry.
2024-06-05 16:38:25 +02:00
Rémi Bernon
6b8cdda502
gdi32: Use an internal NtUser call for D3DKMTOpenAdapterFromGdiDisplayName.
...
Fixes a deadlock with display_device_init mutex and display_lock when
trying to open the D3DKMT adapter while holding the mutex in the caller.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56764
2024-06-05 15:58:26 +02:00
Rémi Bernon
b89c9c60d5
win32u: Move desktop resize on WM_DISPLAYCHANGE out of the drivers.
2024-06-04 22:25:12 +02:00
Rémi Bernon
0a2ae3c41d
win32u: Send display change messages when host display mode changes.
...
Similarly to when it is changed from an application call, but avoid
broadcasting WM_DISPLAYCHANGE to all windows when called from the
drivers, as we may have done it already.
2024-06-04 22:25:09 +02:00
Rémi Bernon
09b9c1b5fe
win32u: Restore surface rect, which may offsetted from the window rect.
...
Some drivers only create surfaces over the visible part of the window,
and the surface rect has an offset.
Fixes a regression from 5d0efbcc6e
, which
causes XSHM errors with partially offscreen windows.
2024-06-04 22:22:01 +02:00
Elizabeth Figura
325c365786
include: Add more types to windows.networking.connectivity.idl.
...
Based on a patch by Alistair Leslie-Hughes.
2024-06-04 09:49:45 +02:00
Rémi Bernon
b6abacbb7b
win32u: Create a HBITMAP backing the window surface pixels.
2024-06-03 23:25:00 +02:00
Rémi Bernon
444436abfd
win32u: Pass BITMAPINFO and a HBITMAP to window_surface_init.
2024-06-03 23:24:59 +02:00
Rémi Bernon
3c7dc5f132
win32u: Move the window surface color bits to the common struct.
2024-06-03 23:24:59 +02:00
Mohamad Al-Jaf
05ff16ebb6
include: Add dispatcherqueue.idl file.
2024-06-03 23:24:59 +02:00
Eric Pouech
0327b00d10
winedump: Dump correct handle information for minidump.
...
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-05-31 19:04:23 +02:00
Alistair Leslie-Hughes
6f927b9e93
include: Add missing TreeView_* defines.
2024-05-31 11:26:37 +02:00
Alistair Leslie-Hughes
b6eada5e2f
include: Correct IRowsetNotify HROW parameter type.
2024-05-30 19:55:57 +02:00
Alistair Leslie-Hughes
447f817445
include: Add IPreviewHandler* interfaces.
2024-05-30 19:55:55 +02:00
Alistair Leslie-Hughes
4aed0ef880
include: Add LOGFONTA/W typedef in shtypes.idl.
2024-05-30 19:55:48 +02:00
Rémi Bernon
8d587a47eb
win32u: Use a helper to set the window surface clipping, within the lock.
2024-05-30 19:53:21 +02:00
Rémi Bernon
7cdf20267c
server: Merge get_surface_region / get_window_region requests together.
2024-05-30 19:53:21 +02:00
Rémi Bernon
d2ad7c9374
win32u: Initialize window surfaces with a hwnd.
2024-05-30 19:52:59 +02:00
Vijay Kiran Kamuju
349c2275d4
ntdll: Add stub RtlLookupGenericTableAvl function.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56736
2024-05-30 13:26:17 +02:00
Rémi Bernon
5d0efbcc6e
win32u: Use a helper to flush window surface, factor locking and bounds reset.
2024-05-29 22:37:32 +02:00
Rémi Bernon
370966f51b
win32u: Move window surface bounds to the window_surface base struct.
2024-05-29 22:27:39 +02:00
Rémi Bernon
1565d529ba
win32u: Use helpers to lock/unlock window surfaces.
2024-05-29 22:27:39 +02:00
Rémi Bernon
00aec714dd
win32u: Move the window surface mutex to the surface header.
2024-05-29 22:27:39 +02:00
Rémi Bernon
ac63239cc0
win32u: Introduce a new window_surface_init helper.
2024-05-29 22:27:38 +02:00
Rémi Bernon
a3b22d3bf7
win32u: Only keep DPI awareness context with window objects.
2024-05-28 20:45:11 +02:00
Rémi Bernon
37252fd505
win32u: Fix SetThreadDpiAwarenessContext.
2024-05-28 20:44:39 +02:00
Rémi Bernon
dc05a4499e
win32u: Pass the DPI awareness context in win_proc_params.
2024-05-28 20:44:39 +02:00
Rémi Bernon
cda7027bc8
win32u: Get the thread DPI context instead of the awareness.
2024-05-28 20:44:39 +02:00
Rémi Bernon
b3bec339d7
win32u: Use NtGdiDdDDICreateDCFromMemory for gdi16 DIBDRV.
...
Instead of a custom dib_window_surface.
2024-05-27 22:59:21 +02:00
Rémi Bernon
b6223da118
win32u: Return UINT from NtUserGetWindowDpiAwarenessContext.
2024-05-27 22:59:21 +02:00
Rémi Bernon
bcb33fd859
win32u: Use NtUserCallOnParam for SetThreadDpiAwarenessContext.
...
And an internal function call when possible.
2024-05-27 22:59:21 +02:00
Rémi Bernon
9f834614a9
user32: Test and implement GetDpiFromDpiAwarenessContext.
2024-05-27 22:59:21 +02:00
Rémi Bernon
04470e1eda
win32u: Get rid of the UpdateDisplayDevices force parameter.
2024-05-27 13:11:36 +02:00
Rémi Bernon
f7f213bdf8
win32u: Get rid of the drivers force_display_devices_refresh flag.
2024-05-27 13:11:36 +02:00
Alistair Leslie-Hughes
ae6aa1c8a4
include: Add IFACEMETHOD macros.
2024-05-27 13:11:20 +02:00
Alistair Leslie-Hughes
ccc803a06c
include: Correct ListView_GetItemIndexRect macro.
2024-05-27 13:11:18 +02:00
Alistair Leslie-Hughes
fc9fd3c5c3
include: Added sqlucode.h to sql.h.
2024-05-27 13:08:08 +02:00
Rémi Bernon
6ee5c60d5d
win32u: Fix NtUserSetProcessDpiAwarenessContext.
2024-05-24 18:42:23 +02:00
Alexandre Julliard
b9638ebc1c
kernelbase: Fix the name of the default system locale.
2024-05-24 11:15:33 +02:00
Alistair Leslie-Hughes
77583eed19
include: Add C++ support for IUnknown.
2024-05-24 10:58:58 +02:00
Alistair Leslie-Hughes
5813a1fe23
include: Complete __wine_uuidof for C++.
...
/usr/local/include/wine/windows/guiddef.h:83:68: error: incomplete type ‘__wine_uuidof_type<IUnknown>::inst’ {aka ‘__wine_uuidof<IUnknown>’} used in nested name specifier
83 | #define __uuidof(type) __wine_uuidof_type<__typeof__(type)>::inst::uuid
2024-05-24 10:58:58 +02:00
Jacek Caban
434702fdc9
ntdll: Use assembly wrapper for unixlib calls on ARM64EC.
...
Instead of using indirect C calls, which need to go through the call dispatcher.
2024-05-23 12:20:48 +02:00
Alexandre Julliard
127650c293
ntdll: Make __wine_unix_call() an inline function.
2024-05-23 12:20:48 +02:00
Rémi Bernon
1e21f30007
win32u: Query GPU memory from vulkan physical device.
2024-05-21 20:35:01 +02:00
Alexandros Frantzis
653f00cf3e
opengl32: Remove the wglDescribePixelFormat driver entry point.
...
All drivers have now switched to the get_pixel_formats entry point.
2024-05-20 11:57:16 +02:00