Commit graph

17012 commits

Author SHA1 Message Date
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
Alistair Leslie-Hughes 849baece66 include: Add some D3D12_FEATURE_DATA_D3D12_OPTIONS* types. 2024-05-15 22:51:34 +02:00
Hans Leidekker af3a8fa27b odbc32: Don't load libodbc.so dynamically.
Implementations are guarded by native function pointer checks but all functions
have been present in libodbc for a very long time, so it doesn't appear to be
needed anymore.

The loading code checks the LIB_ODBC_DRIVER_MANAGER environment variable to
allow the user to override the system version of the library. This can be
achieved by other means, if it's still needed.
2024-05-14 18:18:52 +02:00
Hans Leidekker d206e3ab33 include: Add missing Unicode SQL function declarations. 2024-05-14 18:13:12 +02:00
Georg Lehmann 6d896d9be0 winevulkan: Update to VK spec version 1.3.285. 2024-05-12 16:33:19 +02:00
Rémi Bernon bf64ae2627 mfplat: Implement MFCreateVideoMediaType. 2024-05-12 16:32:25 +02:00
Rémi Bernon 9fac589765 mfplat: Implement MFInitMediaTypeFromMPEG2VideoInfo. 2024-05-12 16:32:24 +02:00
Rémi Bernon 8c77a1a099 mfplat: Implement MFInitMediaTypeFromMPEG1VideoInfo. 2024-05-12 16:32:23 +02:00
Paul Gofman 0884b503c9 win32u: Update last message time in NtUserGetRawInputBuffer(). 2024-05-12 16:31:50 +02:00
Daniel Lehman 243a014123 msvcrt/tests: Add tests for _wcsicmp_l. 2024-05-12 16:26:51 +02:00
Nikolay Sivov a1dadf3683 d2d1/effect: Fix GetImageLocalBounds() prototype.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-05-12 16:26:17 +02:00
Rémi Bernon 9c93676d0c win32u: Return STATUS_ALREADY_COMPLETE from UpdateDisplayDevices.
When no display cache update is needed.
2024-05-07 22:49:44 +02:00
Rémi Bernon d525da5907 win32u: Pass gdi_gpu structure members as add_gpu parameters. 2024-05-07 22:49:44 +02:00
Rémi Bernon 0300016ac5 win32u: Remove driver-specific id from struct gdi_gpu. 2024-05-07 22:49:44 +02:00
Rémi Bernon 62c60a9e10 win32u: Use struct pci_id in struct gdi_gpu. 2024-05-07 22:49:44 +02:00
Biswapriyo Nath 469a4837bc include: Avoid a C++ keyword.
This fixes the following C++ compiler error

mfmediaengine.h:1216:18: error: expected ',' or '...' before 'protected'
 1216 |            BOOL *protected) = 0;
      |                  ^~~~~~~~~
2024-05-06 22:20:24 +02:00
Rémi Bernon d519cf6ccc win32u: Move thread detach from winex11. 2024-05-01 22:33:53 +02:00
Rémi Bernon f30f8a4258 win32u: Return the host surface directly from vulkan_surface_create. 2024-05-01 22:33:04 +02:00
Paul Gofman aa122902a9 msvcrt: Implement _mbsncpy_s[_l](). 2024-05-01 22:31:43 +02:00
Paul Gofman deb273a926 ntdll: Implement NtQuerySystemInformation(SystemProcessIdInformation). 2024-05-01 16:54:00 +02:00
Kirill Zhumarin 898ab8dab1 ntdll: Use termios2 for serial when possible. 2024-04-30 22:32:51 +02:00
Alfred Agrell 393dcb5dbb include: Use the correct GUID for DXFILEOBJ_PatchMesh. 2024-04-29 17:35:26 +02:00
Dmitry Timoshkov a113adedea include: Move InterlockedExchangeAdd64() definition before its first usage.
This fixes Wine tests compilation with Visual Studio 10.0.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-04-27 17:36:02 +02:00
Dmitry Timoshkov 86b26a9eef include: Add _Inout_cap_c_(count) macro.
This fixes Wine tests compilation with Visual Studio 10.0 CRT headers.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-04-27 17:35:57 +02:00
Matteo Bruni fce938694f wined3d: Rename WINED3DUSAGE_PRIVATE to WINED3DUSAGE_CS.
Which is really what it means nowadays: resources created by the
CS. It has mostly implications WRT thread safety.

In particular, the flag doesn't mean that the resource doesn't
participate in memory accounting (that was split into
WINED3DUSAGE_VIDMEM_ACCOUNTING by
723cd0a4ae), nor that it isn't checked
for Reset purposes (we use parent == NULL for that).
2024-04-26 23:21:57 +02:00
Paul Gofman 04a2917f6b ntdll: Store exception reporting flags in server context. 2024-04-26 23:21:57 +02:00
Paul Gofman e1a816a347 ntdll/tests: Add tests for CONTEXT_EXCEPTION_REQUEST. 2024-04-26 23:21:56 +02:00
Alistair Leslie-Hughes c81c6fca50 include: Add atldef.h. 2024-04-25 22:44:44 +02:00
Rémi Bernon 8653ed03de win32u: Move host surface destruction out of the drivers. 2024-04-25 12:57:46 +02:00
Rémi Bernon 34d288a939 win32u: Pass HWND directly to vulkan surface creation driver callback.
And to destroy, it'll be useful later.
2024-04-25 12:57:43 +02:00
Rémi Bernon 334a100a8e win32u: Rename vulkan surface creation/destroy driver callbacks. 2024-04-25 12:57:43 +02:00