Commit graph

16471 commits

Author SHA1 Message Date
Alexandre Julliard 30040cc9d7 ntdll: Also update the entry point address when loading an ARM64X binary. 2023-05-26 21:24:08 +02:00
Jacek Caban 0c73b717fb win32u: Pass blend function as DWORD to NtGdiAlphaBlend. 2023-05-25 16:26:08 +02:00
Alexandre Julliard f6f38e2490 server: Return STATUS_IMAGE_MACHINE_TYPE_MISMATCH when the mapping's machine differs from the process. 2023-05-25 16:21:17 +02:00
Alexandre Julliard c306e76645 server: Add a separate request to create a memory view for an image mapping. 2023-05-25 16:21:17 +02:00
André Zwing dfe94187c0 winedump: Recognize RISC-V PEs. 2023-05-24 18:39:47 +02:00
Alexandre Julliard 4356fe0d83 ntdll: Support the PS_ATTRIBUTE_MACHINE_TYPE attribute for new processes. 2023-05-24 15:43:54 +02:00
Alexandre Julliard ebc1b09915 ntdll: Support the machine extended parameter in NtMapViewOfSectionEx(). 2023-05-23 13:24:32 +02:00
Connor McAdams 7f119bad76 include: Define the remaining missing provider interfaces.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-05-22 22:56:29 +02:00
Rémi Bernon 65d0f7a756 imm32: Remove now unused members from ime_private.
And move its definition to ime.c.
2023-05-19 08:49:09 -05:00
Rémi Bernon 9b4c09d8c4 winex11: Post internal WM_IME_NOTIFY wparam on composition updates. 2023-05-18 09:09:14 -05:00
Rémi Bernon 4e92c57221 winex11: Send an internal WM_IME_NOTIFY wparam to set open status. 2023-05-18 09:09:14 -05:00
Piotr Caban 7a15c777b1 include: Add ddk/winddi.h header. 2023-05-16 08:05:07 -05:00
Rémi Bernon bfa19f8c7e win32u: Introduce a new ImeToAsciiEx call through NtUserMessageCall. 2023-05-12 17:50:49 +02:00
Rémi Bernon c7dc10b192 win32u: Introduce a new ImeProcessKey call through NtUserMessageCall. 2023-05-12 17:50:49 +02:00
Alexandre Julliard 1d368b3789 server: Move the Wine-specific flags out of the image_flags field. 2023-05-12 17:50:48 +02:00
Alexandre Julliard 8f9c0c825d server: Add a separate request to create a memory view for a .so builtin. 2023-05-12 17:50:26 +02:00
Alexandre Julliard f83ec675bd win32u: Don't use floating point types in syscalls. 2023-05-12 11:39:10 +02:00
Rémi Bernon 56d0b870b6 win32u: Introduce new NtUserNotifyIMEStatus syscall. 2023-05-10 21:21:25 +02:00
Alexandre Julliard 4b8f3dd9a5 ntdll: Support extended address requirements in NtMapViewOfSectionEx(). 2023-05-10 17:08:48 +02:00
Brendan Shanks 820a9d0d6c include: Implement C_ASSERT() using the C11 _Static_assert() if available. 2023-05-09 14:52:06 +02:00
Rémi Bernon 39696138a6 winemac: Send IME key input from ImeProcessKey. 2023-05-09 14:50:42 +02:00
Alexandre Julliard 5b6e82f0f9 ntdll: Handle the extended memory attributes in NtAllocateVirtualMemoryEx(). 2023-05-09 14:28:04 +02:00
Alexandre Julliard f2623cca38 ntdll: Implement RtlIsEcCode(). 2023-05-09 14:28:04 +02:00
Alexandre Julliard c722353c87 ntdll: Support the ARM64EC code map. 2023-05-09 14:11:19 +02:00
Zebediah Figura 8fb562f7c2 ntdll: Fix the prototype of NtDuplicateToken().
The fourth parameter is a boolean flag. The impersonation level is specified
only through the SECURITY_QUALITY_OF_SERVICE structure.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54913
2023-05-08 20:02:26 +02:00
David Kahurani 49baaf133e shlwapi: Implement StrFormatByteSizeEx.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54733
Signed-off-by: David Kahurani <k.kahurani@gmail.com>
2023-05-08 10:56:01 +02:00
Georg Lehmann e32711dd2f winevulkan: Update to VK spec version 1.3.250. 2023-05-04 18:48:48 +02:00
Zebediah Figura c7d8a1b47a wined3d: Directly call wined3d_texture_create() to create swapchain textures.
Get rid of the create_swapchain_texture callback.
2023-05-04 18:44:48 +02:00
Ake Rehnman 5a3fd972f4 ntdll: Fix RtlValidSecurityDescriptor() return value.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-05-03 16:48:44 +02:00
Ake Rehnman f6e11d6566 ntdll: Fix return value of RtlInitializeSid().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-05-03 16:48:44 +02:00
Mohamad Al-Jaf 2b32ba593d include: Add hrtfapoapi.idl file. 2023-05-02 22:21:26 +02:00
Biswapriyo Nath 2b7ba08743 include: Add DXGI_DEBUG_D3D11 in d3d11sdklayers.idl.
Required for libplacebo.

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
2023-05-01 18:34:25 +02:00
Connor McAdams ba927e507b uiautomationcore: Add UiaNodeFromFocus stub.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-04-28 20:56:10 +02:00
Alexandre Julliard 4e72c0016b include: Add some new ProcThreadAttribute definitions. 2023-04-28 14:30:58 +02:00
Piotr Caban d317db91f2 gdi32: Store the printer info in a structure. 2023-04-27 18:34:09 +02:00
Shaun Ren 7f1df4b27d include: Add ISpTTSEngineSite and ISpTTSEngine interfaces. 2023-04-26 22:49:17 +02:00
Shaun Ren 5f977d2fa8 include: Add more sapi structs and enums. 2023-04-26 22:49:17 +02:00
Zebediah Figura 4413e94908 dxgi: Introduce IWineDXGIDeviceParent::register_swapchain_texture() and use it in IDXGIDevice::CreateSurface().
Instead of having d3d11 create the wined3d texture, create it in dxgi instead,
and let d3d11 create a d3d_texture2d object to wrap it.

This is a step towards getting rid of the create_swapchain_texture() callback,
which is mildly difficult to work with and conceptually complex.
2023-04-26 22:49:17 +02:00
Mohamad Al-Jaf c12ccd6f80 shell32: Implement SHBindToFolderIDListParent().
Called by IE11.

Signed-off-by: Mohamad Al-Jaf <mohamadaljaf@gmail.com>
2023-04-26 22:49:16 +02:00
Mohamad Al-Jaf 4ce24eb9be include: Add appnotify.h file. 2023-04-25 17:59:14 +02:00
Francois Gouget e6ac3499a5 wininet: Add constants for DetectAutoProxyUrl(). 2023-04-20 09:47:28 +02:00
Connor McAdams a97cdeaf20 uiautomationcore: Implement UiaGetRootNode.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-04-19 22:00:46 +02:00
Jinoh Kang 7c4eb574f0 ntdll: Implement RtlFreeActivationContextStack(). 2023-04-19 20:26:15 +02:00
Alexandre Julliard 36203f1b86 include: Update the PEB and TEB structures.
According to Geoff Chappell's information.
2023-04-19 16:44:54 +02:00
Alexandre Julliard b7f6620c01 include: Add the ARM64EC context structure. 2023-04-19 14:31:00 +02:00
Mohamad Al-Jaf 0b4dc016b9 include: Add windows.graphics.capture.interop.idl file.
Needed for PyWinRT.
2023-04-18 21:33:17 +02:00
Eric Pouech 812b4b1ca3 dbghelp: Use source file path as stored in debug info format.
Currently, dbghelp returns the source file either:
- in DOS format when native module option isn't enabled
- as stored in debug info format otherwise

This used to work for PE modules inside ELF shared libraries but is broken
since evolution to REAL modules. This generates several issues:
- winedbg does not always set the native module option when calling dbghelp
  for source file related functions, leading to heterogenous output to user
- some dbghelp function rely on matching source paths, hence leading to
  errors in winedbg when mixing the two formats for the same source file.

Introduce a new Wine only dbghelp option to return the source paths as they
are stored inside debug information format, and activate it unconditionaly
inside winedbg.

This fixes some failure cases of command 'break <NN>' in winedbg.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-04-18 18:17:44 +02:00
Alexandre Julliard 6e348640c5 include: Add some CHPE definitions. 2023-04-18 17:49:23 +02:00
Zebediah Figura 83518a6810 wined3d: Allow retrieving the frontbuffer from a wined3d swapchain.
For ddraw.
2023-04-18 16:48:17 +02:00
Martin Garton 0dda5753c5 msvcrt: Fix typo in #define. 2023-04-18 10:23:52 +02:00
Piotr Caban 8b48ee987f include: Add EMRTRANSPARENTBLT definition. 2023-04-13 21:56:58 +02:00
Rémi Bernon e164515549 include: Add INPUTCONTEXT fdwInit flags definitions. 2023-04-13 16:18:37 +02:00
Mohamad Al-Jaf a7569e3ee9 include: Add windows.ui.composition.interop.idl file.
Needed for mingw Firefox build.
2023-04-13 10:25:20 +02:00
Stefan Dösinger 64eed89a53 include: X86 msvc has _InterlockedExchangePointer and _InterlockedCompareExchangePointer.
I fixed this issue in ad05f33d67, but a40973f20 regressed this again. I
was carrying a patch for quite a while, feeling dejavu.

According to boost they are available since MSVC 2015. I don't have old
versions of msvc hanging around, and we don't put much value in keeping
old versions working, so just use them unconditionally.
2023-04-11 12:36:53 +02:00
Biswapriyo Nath 467604c661 include: Fix IDirectXVideoDecoderService declaration in dxva2api.idl.
This matches the declaration with official documentation and fixes
the following two compiler errors in apitrace project.

d3d9trace.cpp:28469:59: error: invalid conversion from 'const DXVA2_ConfigPictureDecode*' to 'DXVA2_ConfigPictureDecode*' [-fpermissive]
d3d9trace.cpp:28194:65: error: invalid conversion from 'void*' to 'IUnknown*' [-fpermissive]

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
2023-04-10 21:54:17 +02:00
Jactry Zeng eef4393fb7 include: Add FWF_NONE. 2023-04-10 14:18:00 +02:00
Francois Gouget 8d2146934c iphlpapi: Fix the GAA_FLAG_INCLUDE_GATEWAYS constant name. 2023-04-10 14:18:00 +02:00
Jacek Caban 0a56a4ada2 winevulkan: Add support for VK_KHR_map_memory2. 2023-04-07 20:36:44 +02:00
Rémi Bernon bc1b15211d winex11: Move IME UI proc to default IME implementation. 2023-04-07 18:00:14 +02:00
Paul Gofman c4073d5abf win32u: Set DEVPKEY_Device_RemovalPolicy for GPUs. 2023-04-06 17:02:18 +02:00
Mohamad Al-Jaf 048b0421ff include: Add Windows.UI.Composition.CompositionGraphicsDevice definition.
Needed for mingw Firefox build.
2023-04-06 14:32:33 +02:00
Mohamad Al-Jaf 191dbcc807 include: Add Windows.UI.Composition.CompositionDrawingSurface definition.
Needed by Windows.UI.Composition.CompositionGraphicsDevice.
2023-04-06 14:32:33 +02:00
Mohamad Al-Jaf 0d4b02a15f include: Add Windows.UI.Composition.CompositionObject definition.
Needed for mingw Firefox build.
2023-04-06 14:32:33 +02:00
Mohamad Al-Jaf 3de1dab657 include: Add Windows.UI.Composition.Compositor definition.
Needed for mingw Firefox build.
2023-04-06 14:32:33 +02:00
Mohamad Al-Jaf ee7ba9fb56 include: Add Windows.UI.Composition.CompositionCommitBatch definition.
Needed by Windows.UI.Composition.Compositor.
2023-04-06 14:32:33 +02:00
Mohamad Al-Jaf 62ac026286 include: Add Windows.UI.Composition.Vector4KeyFrameAnimation definition.
Needed by Windows.UI.Composition.Compositor.
2023-04-06 14:32:33 +02:00
Mohamad Al-Jaf 208971f181 include: Add Windows.UI.Composition.Vector3KeyFrameAnimation definition.
Needed by Windows.UI.Composition.Compositor.
2023-04-06 14:32:33 +02:00
Mohamad Al-Jaf 52478c3011 include: Add Windows.UI.Composition.Vector2KeyFrameAnimation definition.
Needed by Windows.UI.Composition.Compositor.
2023-04-06 14:32:33 +02:00
Mohamad Al-Jaf dfbe81f7c2 include: Add Windows.UI.Composition.CompositionTarget definition.
Needed by Windows.UI.Composition.Compositor.
2023-04-06 14:32:33 +02:00
Mohamad Al-Jaf d3ac460cdd include: Add Windows.UI.Composition.CompositionScopedBatch definition.
Needed by Windows.UI.Composition.Compositor.
2023-04-06 14:32:33 +02:00
Mohamad Al-Jaf b9878e0c2e include: Add Windows.UI.Composition.ScalarKeyFrameAnimation definition.
Needed by Windows.UI.Composition.Compositor.
2023-04-06 14:32:33 +02:00
Mohamad Al-Jaf ed5d87a565 include: Add Windows.UI.Composition.QuaternionKeyFrameAnimation definition.
Needed by Windows.UI.Composition.Compositor.
2023-04-06 14:32:33 +02:00
Mohamad Al-Jaf 76ffc7324f include: Add Windows.UI.Composition.CompositionPropertySet definition.
Needed for mingw Firefox build and Windows.UI.Composition.Compositor.
2023-04-06 14:32:33 +02:00
Mohamad Al-Jaf 438185ed21 include: Add Windows.UI.Composition.LinearEasingFunction definition.
Needed by Windows.UI.Composition.Compositor.
2023-04-06 14:32:33 +02:00
Mohamad Al-Jaf c5de4c4357 include: Add Windows.UI.Composition.InsetClip definition.
Needed by Windows.UI.Composition.Compositor.
2023-04-06 14:32:32 +02:00
Mohamad Al-Jaf 6b173e51e5 include: Add Windows.UI.Composition.ExpressionAnimation definition.
Needed by Windows.UI.Composition.Compositor.
2023-04-06 14:32:32 +02:00
Mohamad Al-Jaf 779d6b2d3c include: Add Windows.UI.Composition.CompositionEffectFactory definition.
Needed by Windows.UI.Composition.Compositor.
2023-04-06 14:32:32 +02:00
Mohamad Al-Jaf 0b5bc1ffd9 include: Add Windows.UI.Composition.CompositionEffectBrush definition.
Needed by Windows.UI.Composition.CompositionEffectFactory.
2023-04-06 14:32:32 +02:00
Mohamad Al-Jaf a2f13c76e6 include: Add Windows.UI.Composition.CubicBezierEasingFunction definition.
Needed for mingw Firefox build.
2023-04-06 14:32:32 +02:00
Mohamad Al-Jaf 69848689f1 include: Add Windows.UI.Composition.CompositionColorBrush definition.
Needed for mingw Firefox build.
2023-04-06 14:32:32 +02:00
Mohamad Al-Jaf 7dc5eee13c include: Add Windows.UI.Composition.ColorKeyFrameAnimation definition.
Needed for mingw Firefox build.
2023-04-06 14:32:32 +02:00
Mohamad Al-Jaf 00eff2447c include: Add Windows.UI.Composition.Visual definition.
Needed for mingw Firefox build.
2023-04-06 14:32:32 +02:00
Mohamad Al-Jaf 89c1dc71b5 include: Add Windows.UI.Composition.CompositionClip definition.
Needed for mingw Firefox build.
2023-04-06 14:32:32 +02:00
Mohamad Al-Jaf 0eaafd2dcf include: Add Windows.UI.Composition.SpriteVisual definition.
Needed for mingw Firefox build.
2023-04-06 14:32:32 +02:00
Mohamad Al-Jaf 7ba9a38456 include: Add Windows.UI.Composition.CompositionSurfaceBrush definition.
Needed for mingw Firefox build.
2023-04-06 14:32:32 +02:00
Mohamad Al-Jaf 9129c338b8 include: Add ICompositionSurface interface definition.
Needed for mingw Firefox build.
2023-04-06 14:32:32 +02:00
Mohamad Al-Jaf 06133eaf0c include: Add Windows.UI.Composition.CompositionBrush definition.
Needed for mingw Firefox build.
2023-04-06 14:32:32 +02:00
Mohamad Al-Jaf 6637e1d8fa include: Add windows.ui.composition.idl file.
Needed for mingw Firefox build.
2023-04-06 14:32:32 +02:00
Alexandros Frantzis df8b7e0473 win32u: Support setting the current mode using gdi_device_manager.
Update the gdi_device_manager API to enable drivers to set the current
mode (along with the registry mode if not already set) in
UpdateDisplayDevices.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
2023-04-04 21:57:33 +02:00
Alexandre Julliard 438553e923 libs: Import the math library from upstream musl 1.2.3. 2023-04-04 09:43:51 +02:00
Daniel Tang 9a49c0a655 wintypes: Declare exported functions in rometadataresolution.h. 2023-04-03 16:52:01 +02:00
Georg Lehmann 36f5da51d0 winevulkan: Update to VK spec version 1.3.246. 2023-03-31 19:10:38 +02:00
Mohamad Al-Jaf 98d7ac0c84 include: Add windows.ui.core.idl file.
Needed for mingw Firefox build.
2023-03-31 11:11:09 +02:00
Zebediah Figura cf4b4ff642 include: Include corecrt.h in vadefs.h.
For the __has_attribute() fallback.

Fixes: f4c3801495

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54666
2023-03-31 11:10:43 +02:00
Mohamad Al-Jaf 58e6c4d11c include: Add DirectXAlphaMode enum.
Needed for mingw Firefox build.
2023-03-30 20:34:28 +02:00
Alex Henrie 8fb04515cf wldap32: Implement setting LDAP_OPT_SERVER_CERTIFICATE and add tests.
ctxt_handle is moved to the top of struct tlsw_session so that it can be
easily retrieved via LDAP_OPT_X_TLS_SSL_CTX.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54727
2023-03-30 20:28:28 +02:00
Mohamad Al-Jaf 4fab9ff230 cfgmgr32: Implement CM_MapCrToWin32Err.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53781
2023-03-30 18:47:19 +02:00
Biswapriyo Nath 8a07ffd965 include: Add Windows.System.DispatcherQueue definition.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
2023-03-29 22:29:38 +02:00
Biswapriyo Nath 52b832c7e3 include/windows.system.idl: Update file to newer formatting.
I.e. get rid of nested namespaces and forward declares,
separate attributes with commas and right align pointer declarations.

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
2023-03-29 22:29:38 +02:00
Rémi Bernon 0ddad3564f imm32: Update existing input contexts on layout change. 2023-03-29 22:29:37 +02:00