Commit graph

16881 commits

Author SHA1 Message Date
Russell Greene c2d683488e powrprof: Add PowerWriteACValueIndex stub. 2024-01-25 20:48:33 +01:00
Alistair Leslie-Hughes d6a6e1f186 include: Correct KMTQAITYPE values.
Windows SDK skips the value 14 and KMTQAITYPE_DISPLAY_UMDRIVERNAME was assigned
a value of 71 in the SDK but wasn't in the correct order.
2024-01-25 18:01:40 +01:00
Bernhard Übelacker ab28825ace ntdll: Fix structure layout in RtlQueryProcessDebugInformation for 64-bit.
This is to avoid crash in Process Explorer 17.05.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56235
2024-01-24 21:36:23 +01:00
Rémi Bernon e2b637c8dc windows.gaming.input: Stub IRawGameController2 interface. 2024-01-24 12:17:35 +01:00
Paul Gofman 7bd070ae86 ntdll: Return STATUS_DEBUGGER_INACTIVE from NtSystemDebugControl() stub. 2024-01-23 22:56:53 +01:00
Rémi Bernon aaf34e3f7e include: Add more HID digitizer usage definitions. 2024-01-23 12:20:45 +01:00
Alex Henrie cba29adf06 ntoskrnl: Reimplement ExAllocatePool* on top of ExAllocatePool2.
Microsoft deprecated all of these functions except ExAllocatePool2 and
ExAllocatePool3, so it's a safe bet that in Windows the old functions
are just wrappers around the new ones now.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54362
2024-01-22 14:22:21 +01:00
Alex Henrie 87761a8a92 include: Add POOL_FLAGS and POOL_FLAG_*. 2024-01-22 14:22:20 +01:00
Eric Pouech 46ab4f0ce7 include: Avoid redefining _InterlockedCompareExchange128 as inline.
Note the _InterlockedCompareExchange128 for a x86_64 machine is only
defined as intrinsic when -mcx16 option is enabled.
But we use always use the intrinsic definition on x86_64 so that
compilation done without the -mcx16 could be detected (on C++ only).
And the intrinsic has been added recently to aarch64 machine for clang.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-01-22 14:16:07 +01:00
Eric Pouech 72c4adc036 include: Avoid defining intrinsic functions as inline.
Now clang provides intrinsic variant of Interlocked*64 family on i386
machine.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-01-22 14:15:43 +01:00
Fabian Maurer 5de5ae4eb1 include: Add Windows.UI.ViewManagement.InputPane definitions. 2024-01-22 14:15:13 +01:00
Alexandre Julliard 3031f15784 include: Add a typedef for user callback function pointers. 2024-01-22 11:26:56 +01:00
Rémi Bernon 681d201462 include: Add HEAACWAVEINFO and HEAACWAVEFORMAT definitions. 2024-01-22 10:14:32 +01:00
Vijay Kiran Kamuju f24b20f01e include: Add Windows.Storage.Streams.InMemoryRandomAccessStream runtimeclass definition.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54963
2024-01-22 10:13:28 +01:00
Zhiyi Zhang 032834fd6c include: Add some bcrypt definitions. 2024-01-19 21:18:04 +01:00
Zhiyi Zhang 2021959538 include: Add some ncrypt definitions. 2024-01-19 21:18:04 +01:00
Etaash Mathamsetty aea7918433 xinput: Implement XInputGetCapabilitiesEx. 2024-01-19 12:41:02 +01:00
Hans Leidekker a9193a200f bcrypt: Add support for setting DH parameters. 2024-01-18 18:08:53 +01:00
Alexandre Julliard a9e42169ca user32: Return result through NtCallbackReturn for the draw text callback. 2024-01-18 18:08:49 +01:00
Alexandre Julliard 85e351abaf user32: Return result through NtCallbackReturn for the DDE message callback. 2024-01-18 18:08:48 +01:00
Alex Henrie 3fbdd41297 include: Add mgmtapi.h and LPSNMP_MGR_SESSION. 2024-01-18 18:08:48 +01:00
Rémi Bernon 746de31897 win32u: Remove now unnecessary ImeToAsciiEx driver entry. 2024-01-17 21:54:59 +01:00
Rémi Bernon 5f313c0fdb win32u: Move ImeToAsciiEx implementation from winex11.
Using a new WINE_IME_POST_UPDATE NtUserMessageCall call for the drivers.
2024-01-17 21:54:55 +01:00
Dmitry Timoshkov 16d2f3c8a7 ntdll: Add NtCompareTokens() stub.
SQL Native Client ODBC driver fails to load if GetProcAddress("NtCompareTokens")
returns NULL, however it never calls it.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-01-17 11:30:55 +01:00
Alistair Leslie-Hughes 7ea0a3609c include: Add more D3D_FEATURE_LEVEL_ defines. 2024-01-17 11:07:00 +01:00
Biswapriyo Nath e031a0d0da include: Add missing macros in devenum.idl. 2024-01-17 11:07:00 +01:00
Biswapriyo Nath 407bfcf985 include: Add D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT in d3d12video.idl. 2024-01-17 11:01:34 +01:00
Biswapriyo Nath 51e1f5e43d include: Add D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS in d3d12video.idl. 2024-01-17 11:01:34 +01:00
Biswapriyo Nath e63a998420 include: Add D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS in d3d12video.idl. 2024-01-17 11:01:34 +01:00
Biswapriyo Nath 0c2cdfffd9 include: Add D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOURCE_REQUIREMENTS in d3d12video.idl. 2024-01-17 11:01:34 +01:00
Nikolay Sivov 73647adaef ntdll: Update RTL_HEAP_PARAMETERS definition. 2024-01-17 10:58:39 +01:00
Alexandre Julliard 06bfde3bff Update copyright info for 2024. 2024-01-01 20:15:23 +01:00
Brendan Shanks 2c14e0777a include: Assert that the debug channel name will be null-terminated and is not too long. 2023-12-27 12:12:14 +01:00
Paul Gofman eaca0f44be include: Fix boolean return value definition in IIterator<T> methods. 2023-12-22 18:14:40 +01:00
Biswapriyo Nath 6fed2f967b include: Add SampleGrabber coclass definition in qedit.idl. 2023-12-14 23:40:04 +01:00
Rémi Bernon 19ad5bd598 server: Peek wine internal driver messages regardless of filter.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55774
2023-12-13 19:13:01 +01:00
Nikolay Sivov f27b62206c kernel32: Implement GetProcessInformation(ProcessMachineTypeInfo).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-12-08 22:31:38 +01:00
Georg Lehmann 7a2cee7a63 winevulkan: Update to VK spec version 1.3.272. 2023-12-07 21:57:59 +01:00
Alex Henrie c6f121df19 user.exe: Rename SetDeskWallPaper to SetDeskWallpaper.
Although 16-bit function names are not case sensitive, it's best to
match the 32-bit version.
2023-12-07 20:21:43 +01:00
Alex Henrie adfaef5a86 user32: Correct capitalization of SetDeskWallpaper.
Spotted by Vijay Kiran Kamuju.
2023-12-07 20:21:43 +01:00
Alexandre Julliard 0fea0db866 ntdll: Export KeAddSystemServiceTable() instead of the KeServiceDescriptorTable variable. 2023-12-06 13:14:47 +01:00
Nikolay Sivov 26f11bdfe5 ntdll: Use public type for SystemSupportedProcessorArchitectures returned data.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-12-06 10:20:50 +01:00
Nikolay Sivov dbeaaf2b0f include: Add missing enum to wdm.h. 2023-12-06 10:20:49 +01:00
Alexandre Julliard 4a138da761 configure: Require SEH support for PE builds. 2023-12-05 09:48:46 +01:00
Jon Doron 28ca56257e win32u: Add registry data for GPU memory size.
Starcraft Remastered is looking up for the GPU physical memory size to
check for minimum requirements to enable RealTime Lighting.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46624
Signed-off-by: Jon Doron <arilou@gmail.com>
2023-12-04 22:10:23 +01:00
Rémi Bernon 288d2c2ef6 winevulkan: Use "host" more consistently instead of "native".
We often use "native" to talk about Windows "native" code, which is
confusing here.
2023-12-04 22:10:22 +01:00
Zebediah Figura c93440b700 d3d9: Upload mapped dynamic vertex and index buffers before every draw.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55591
2023-12-04 22:10:22 +01:00
Etaash Mathamsetty 73a1c134ad cfgmgr32: Add CM_Register_Notification stub. 2023-12-04 22:10:21 +01:00
Rémi Bernon 62c6646d8f win32u: Introduce new SystrayDock driver entry points. 2023-12-01 19:08:55 +01:00
Rémi Bernon 22bfdbeb48 win32u: Introduce a new NtUserSystemTrayCall message call. 2023-12-01 19:08:54 +01:00
Myah Caron 79d0c050a9 user32: Add SetDisplayAutoRotationPreferences stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55920
Signed-off-by: Myah Caron <qsniyg@protonmail.com>
2023-12-01 19:07:49 +01:00
Zebediah Figura 1698fd40cd wined3d: Introduce an API for creating an identity SRV on a texture. 2023-12-01 18:45:44 +01:00
Vijay Kiran Kamuju d95a04b4eb gdiplus: Add GdipDrawImageFX stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55945
2023-12-01 18:45:04 +01:00
Fabian Maurer c55cce6fcb server: Initialize pe image struct padding to avoid Valgrind warning. 2023-12-01 17:21:39 +01:00
Louis Lenders 9a80befba3 shcore: Add stub for CreateRandomAccessStreamOverStream.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55867
2023-11-30 23:12:54 +01:00
Rémi Bernon ed9f1d0715 win32u: Allow KBDTABLES conversion from CTRL + ALT to WCHAR. 2023-11-30 23:12:54 +01:00
Rémi Bernon 7c2ea1632f win32u: Introduce KbdLayerDescriptor user driver entry. 2023-11-30 23:12:54 +01:00
Rémi Bernon d64ea8e4a6 winewayland.drv: Enumerate Xkb layouts and create matching HKL. 2023-11-30 23:12:54 +01:00
Hans Leidekker df83abb241 bcrypt: Add support for generating DH keys. 2023-11-30 23:12:54 +01:00
Nikolay Sivov ba454b239f gdi32/emf: Use public definition for EMREXTESCAPE record. 2023-11-30 10:23:24 +01:00
Alexandre Julliard 240e4387e8 include: Make strict prototypes the default. 2023-11-29 23:16:39 +01:00
Alexandre Julliard c14de4c85e include: Remove DECLSPEC_HIDDEN definition. 2023-11-29 23:16:39 +01:00
Paul Gofman 4c9b39964c ntdll: Implement NtQueryInformationThread(ThreadIsTerminated). 2023-11-29 20:46:55 +01:00
Biswapriyo Nath 56e19e2c5e include: Update d3d12sdklayers.idl from vkd3d.
This corresponds to vkd3d as of a52604da8cae8ce5639eeb20ef263c12bf70e1df commit.
2023-11-29 20:39:03 +01:00
Fabian Maurer 85e355ddf3 user32: Add stub for GetThreadDpiHostingBehavior.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55892
2023-11-27 23:25:08 +01:00
Paul Gofman 0761c363f4 include: Fix ID3DXLoadUserData definition. 2023-11-24 22:27:39 +01:00
Rémi Bernon abc0c3c129 twinapi.appcore: Stub Windows.System.UserProfile.AdvertisingManager factory. 2023-11-23 22:53:08 +01:00
Rémi Bernon 81fb29bfb6 include: Add Windows.System.UserProfile.AdvertisingManager runtimeclass. 2023-11-23 22:52:19 +01:00
Rémi Bernon 0cd904e1e1 include: Add Windows.System.Profile.AnalyticsInfo runtimeclass. 2023-11-23 22:52:19 +01:00
Rémi Bernon 57873adfcf include: Add Windows.Globalization.GeographicRegion runtimeclass. 2023-11-23 22:52:19 +01:00
Rémi Bernon 8ff59986d5 include: Use nested namespaces in windows.system.userprofile.idl. 2023-11-23 22:52:19 +01:00
Paul Gofman 8797c08c5a include: Add Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation runtimeclass. 2023-11-23 22:51:26 +01:00
Rémi Bernon aa9ca347c3 mfplat: Add MFInitAMMediaTypeFromMFMediaType stub. 2023-11-22 20:03:23 +01:00
Rémi Bernon d30a1c377c mfplat: Add MFCreateAMMediaTypeFromMFMediaType stub. 2023-11-22 20:03:23 +01:00
Rémi Bernon c36b419344 winewayland.drv: Configure win32u keyboard repeat delay and speed. 2023-11-22 20:03:04 +01:00
Zhiyi Zhang 18c057ee4c oledb32: Add missing const modifiers. 2023-11-22 10:10:41 +01:00
Alexandre Julliard 9c85c8591c ntdll: Add syscall entries for ARM64EC. 2023-11-21 11:13:54 +01:00
Alexandre Julliard 48a5459827 ntdll: Generate syscall entry points from the C code with asm macros. 2023-11-20 18:08:27 +01:00
Alexandre Julliard 92b6ab2d6e win32u: Store the service table entry directly into the ntdll variable. 2023-11-17 09:57:56 +01:00
Eric Pouech 60108ea1bc dbghelp: Pretend mach-o is present in case of failure.
On MacOs, starting with Big Sur 11.0.1, the system dynamic
libraries are no longer directly accessible on disk.
They are still available through dlopen and friends. For getting
access to the images (and their debug symbol), Apple provides,
in the developper kit, the tools to extract the files. Note that
this is handled as a database of all system libraries, where ASLR
is in place such that segments of a given library are no longer
contiguous in memory (dbghelp doesn't currently handle this).

Apart from not having image information nor debug information,
another side effect is that dbghelp tries every time it refreshes the
mach-o module list to reload any library for which it didn't have
an image file. This can be lengthy (esp when a typical process has
more than 300 modules loaded).

This patch forces the creation of the dbghelp module even if the
image file isn't found.

This patch cuts startup time of 'winedbg notepad' from 9.9 to 7.4s.
YMMV.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-16 20:56:07 +01:00
Eric Pouech 01c98c5eaf dbghelp: Expose PE native vs builtin information to winedbg.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-16 20:56:07 +01:00
Eric Pouech c50e02ec9c dbghelp: Expose some internal information about modules to winedbg.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-16 20:56:03 +01:00
Zhiyi Zhang a7ec901ea3 uiribbon: Fix IUIFramework::SetUICommandProperty() prototype.
The last parameter should be REFPROPVARIANT instead of PROPVARIANT.
2023-11-16 14:02:33 +01:00
Jacek Caban dc4bad6d85 include: Don't use dllexport attribute for Wine PE modules. 2023-11-15 23:03:52 +01:00
Paweł Ulita 09edd13919 user32: Add stubs for GetWindowDpiHostingBehavior and SetThreadDpiHostingBehavior.
This prevents Native Instruments Kontakt 7 from crashing on start-up.
2023-11-15 23:03:51 +01:00
Hans Leidekker c090bdbe0a wldp: Improve the WldpGetLockdownPolicy() stub. 2023-11-15 23:03:51 +01:00
Rémi Bernon f58946e3ba winewayland.drv: Basic handling of Wayland keyboard events.
Handle Wayland keyboard events and translate them to Windows events,
currently using a hardcoded US key mapping.
2023-11-14 11:39:38 +01:00
Alistair Leslie-Hughes 9ff572b789 include: Add DBPROPVAL_MR_* defines. 2023-11-13 21:55:32 +01:00
Alexandre Julliard c33f350623 configure: Assume that pthread.h is present.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2023-11-10 20:52:28 +01:00
Yuxuan Shui 74a3b133fa include: Add InterlockedExchangeAdd16. 2023-11-10 00:03:44 +01:00
Alexandre Julliard 533823ed2a winealsa.drv: Allocate the MIDI device array dynamically. 2023-11-09 23:00:39 +01:00
Alex Henrie 5a81b6ac43 dsound: Dynamically allocate the global device GUID arrays.
This removes the arbitrary limit on the number of renderers and
capturers while satisfying applications that expect the GUIDs to remain
valid after DirectSoundCaptureEnumerate returns.
2023-11-09 14:38:32 +01:00
Alexandre Julliard 4502eb56ba configure: Use hidden visibility also when building Unix libraries. 2023-11-08 10:27:21 +01:00
Alexandre Julliard 19cc2439ed include: Remove DECLSPEC_HIDDEN from GUID definitions. 2023-11-08 10:10:50 +01:00
Alexandre Julliard 30ce97dd20 include: Remove DECLSPEC_HIDDEN from RPC functions. 2023-11-08 10:09:47 +01:00
Alexandre Julliard d597d04924 include: Remove DECLSPEC_HIDDEN from winecrt0 functions. 2023-11-08 10:09:22 +01:00
Alexandre Julliard a02ff4b5d3 include: Remove DECLSPEC_HIDDEN from standard Dll* functions. 2023-11-08 10:08:39 +01:00
Zebediah Figura 0e39cd65cb wined3d: Translate sampler states to sampler objects in wined3d_device_apply_stateblock(). 2023-11-07 20:55:09 +01:00
Alexandre Julliard 9da663b480 include: Use proper dllimports for more wininet functions. 2023-11-07 11:11:41 +01:00
Alexandre Julliard b06a1ec196 include: Use proper dllimports for olectl functions. 2023-11-07 11:11:41 +01:00