Commit graph

16879 commits

Author SHA1 Message Date
Biswapriyo Nath
148ff982dc include: Add KnownFolders runtimeclass in windows.storage.idl. 2023-08-21 22:47:42 +02:00
Stefan Dösinger
215a32d643 wined3d: Make wined3d_swapchain_desc in wined3d_swapchain_create const. 2023-08-18 18:44:05 +02:00
Stefan Dösinger
eba2523ac1 dxgi: Read back the swapchain size assigned by wined3d. 2023-08-18 18:34:10 +02:00
Nikolay Sivov
42811d775b mf: Implement MFCreateSequencerSegmentOffset().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-08-17 23:26:13 +02:00
Alexandre Julliard
572cc841a6 ntdll/tests: Add some more tests for the contents of the WOW64INFO structure. 2023-08-17 23:26:13 +02:00
Mohamad Al-Jaf
bf1b0d5f10 include: Add IStorageFolder interface definition. 2023-08-17 10:40:37 +02:00
Mohamad Al-Jaf
dcc809627d include: Add windows.storage.search.idl file.
Needed by StorageFolder.
2023-08-17 10:40:37 +02:00
Mohamad Al-Jaf
ba392b4cef include: Add IStorageItem interface definition.
Needed by IStorageFolder.
2023-08-17 10:40:37 +02:00
Mohamad Al-Jaf
90cdfc5157 include: Add windows.storage.fileproperties.idl file.
Needed by IStorageItem.
2023-08-17 10:40:37 +02:00
Mohamad Al-Jaf
915db53124 include: Add IStorageFile interface definition.
Needed by IStorageFolder.
2023-08-17 10:40:37 +02:00
Mohamad Al-Jaf
711f9e1fc5 include: Add IRandomAccessStream interface definition.
Needed by IStorageFile.
2023-08-17 10:40:37 +02:00
Mohamad Al-Jaf
fe877fdf8a include: Add IPackageStatics interface definition. 2023-08-17 10:40:37 +02:00
Vitaly Lipatov
d173bc6a53 include: Add standalone LSA_OBJECT_ATTRIBUTES prototype if ntdef.h is not included. 2023-08-16 13:36:15 +02:00
Vitaly Lipatov
de354e8d45 include: Add initial activeds.h. 2023-08-16 13:36:15 +02:00
Vitaly Lipatov
7377b53681 include: Add missing PCWCHAR to winnt.h. 2023-08-16 13:36:15 +02:00
Vitaly Lipatov
aa4d0dd818 include: Include ncrypt.h in wincrypt.h. 2023-08-16 13:36:15 +02:00
Vitaly Lipatov
6bcdbbe573 include: Add specstrings_strict.h with some defines. 2023-08-16 13:36:15 +02:00
Vitaly Lipatov
caae33a853 include: Use compatible file guard name (_NTSECAPI_, _NTSECPKG_). 2023-08-16 09:07:39 +02:00
Vitaly Lipatov
de17a77b2f include: Add some missing defines. 2023-08-16 09:07:36 +02:00
Alex Henrie
9d509c0383 include: Add __WINE_ALLOC_SIZE to the definition of FNALLOC. 2023-08-16 08:51:58 +02:00
Alexandre Julliard
1f9c6e83bd include: Get rid of the NONAMELESS access macros in tests. 2023-08-15 18:56:45 +02:00
Alexandre Julliard
b5edd14814 configure: Use AC_CHECK_HEADER for headers that don't need to be in config.h. 2023-08-15 18:56:44 +02:00
David McFarland
4a4d352441 configure: Don't require pcsclite header for winscard.
The header is unused, and the header check fails with:

configure:7860: checking for PCSC/pcsclite.h
configure:7860: gcc -m32 -c -g -O2  conftest.c >&5
In file included from conftest.c:50:
[...]/include/PCSC/pcsclite.h:45:10:
fatal error: wintypes.h: No such file or directory
   45 | #include <wintypes.h>
         |          ^~~~~~~~~~~~

Fixes: d405a688ba
2023-08-15 18:55:21 +02:00
Biswapriyo Nath
24e7055f1d include: Add windows.ui.xaml.hosting.desktopwindowxamlsource.idl file. 2023-08-14 17:53:17 +02:00
Biswapriyo Nath
624c5870e7 include: Add xamlom.idl file. 2023-08-14 17:53:17 +02:00
Biswapriyo Nath
a34267e87e include: Add IXAudio2Extension in xaudio2.idl.
Required for rpcs3 project.
2023-08-14 17:53:17 +02:00
Alex Henrie
6bd87223bf include: Annotate PALLOCATE_FUNCTION(_EX) with __WINE_ALLOC_SIZE. 2023-08-14 17:10:15 +02:00
Alex Henrie
6354cd9f56 include: Annotate PRTL_(AVL|GENERIC)_ALLOCATE_ROUTINE with __WINE_ALLOC_SIZE. 2023-08-14 17:10:15 +02:00
Alex Henrie
a4752dcf9f include: Annotate PFLT_CONTEXT_ALLOCATE_CALLBACK with __WINE_ALLOC_SIZE. 2023-08-14 17:10:15 +02:00
Alex Henrie
73883f918c include: Annotate PERF_MEM_ALLOC with __WINE_ALLOC_SIZE. 2023-08-14 17:10:01 +02:00
Alex Henrie
69a92659c0 include: Annotate PLSA_ALLOCATE_(LSA_HEAP|SHARED_MEMORY) with __WINE_ALLOC_SIZE. 2023-08-14 17:10:01 +02:00
Alex Henrie
cf1c69c085 include: Annotate CFP_(RE)ALLOCPROC with __WINE_ALLOC_SIZE. 2023-08-14 17:10:01 +02:00
Alex Henrie
8f60004995 include: Annotate PFNALLOC with __WINE_ALLOC_SIZE. 2023-08-14 17:10:00 +02:00
Mohamad Al-Jaf
ebb0a399a5 include: Add IDeviceInformationStatics interface definition. 2023-08-14 13:29:46 +02:00
Piotr Caban
9b92ee76a1 include: Add LEGACY_RSA*_BLOB definitions. 2023-08-10 10:01:07 +09:00
Alistair Leslie-Hughes
83b86d18dc d3dx11: Add D3DX11LoadTextureFromTexture stub. 2023-08-10 10:00:20 +09:00
Alistair Leslie-Hughes
9f375360d6 include: Added D3DX11_TEXTURE_LOAD_INFO struct. 2023-08-10 10:00:18 +09:00
Vitaly Lipatov
115403dc5b include: Update COMPRESSION_ defines and move it to ddk/ntifs.h. 2023-08-08 21:13:29 +09:00
Mohamad Al-Jaf
b14d9ae881 include: Add windows.security.isolation.idl file. 2023-08-08 21:11:30 +09:00
Biswapriyo Nath
26e72a7580 include: Add missing default value in IXAudio2.
This was removed in 14c44d0b0a commit.
2023-08-04 18:07:42 +09:00
Vitaly Lipatov
982f1983c4 include: Update SECURITY_LOGON_TYPE and SECURITY_LOGON_SESSION_DATA in ntsecapi.h.
Signed-off-by: Vitaly Lipatov <lav@etersoft.ru>
2023-08-04 09:51:41 +09:00
Dmitry Timoshkov
835d73379f secur32/tests: Add some tests for "Negotiate" LSA package.
Fixed test failures under some Windows versions.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2023-08-03 20:45:37 +09:00
Jacek Caban
61b80f6704 win32u: Remove no longer needed NtUserSendDriverMessage.
All messages are packed now anyway.
2023-08-02 20:03:51 +09:00
Jacek Caban
f693d66086 win32u: Remove no longer needed needs_unpack from win_proc_params. 2023-08-02 20:03:51 +09:00
Jacek Caban
c1a5b42cdc win32u: Remove no longer needed NtUserWinProcResult. 2023-08-02 20:03:51 +09:00
Paul Gofman
a72f91f5f5 nsi: Forward request to nsiproxy from NsiRequestChangeNotification(). 2023-08-01 21:51:13 +09:00
Jacek Caban
99f0d3d790 win32u: Move packed structures declaration from ntuser.h. 2023-08-01 21:50:34 +09:00
Georg Lehmann
08499d17e1 winevulkan: Update to VK spec version 1.3.260. 2023-07-31 18:23:40 +09:00
Paul Gofman
e06093cbae nsi: Add stub for NsiCancelChangeNotification. 2023-07-31 18:22:09 +09:00
Paul Gofman
671412d3bb nsi: Add stubs for NsiRequestChangeNotification[Ex]. 2023-07-31 18:22:08 +09:00
Gijs Vermeulen
f74c4af257 configure: Use PCSC.framework when pcsclite is not available on macOS. 2023-07-27 13:12:06 +09:00
Zebediah Figura
5323042f7a wined3d: Add helpers to retrieve shader constants from a wined3d_stateblock. 2023-07-27 11:54:21 +09:00
Paul Gofman
7b243afc63 nsiproxy.sys: Detect wireless interface type on Linux. 2023-07-27 11:54:03 +09:00
Georg Lehmann
b5e19a33c9 winevulkan: Update to VK spec version 1.3.259. 2023-07-24 22:52:22 +02:00
Zebediah Figura
0a33ac4a53 server: Move the implementation of IOCTL_AFD_GET_EVENTS to a dedicated server call. 2023-07-24 22:51:00 +02:00
Mohamad Al-Jaf
08d0512113 include: Add windows.devices.usb.idl file. 2023-07-24 11:53:01 +02:00
Mohamad Al-Jaf
4871777b78 include: Add support for IAsyncOperation parameterized type IBuffer.
Needed by windows.devices.usb.idl.
2023-07-24 11:52:59 +02:00
Mohamad Al-Jaf
36e3122329 include: Add support for IAsyncOperation UINT32.
Needed by windows.devices.usb.idl.
2023-07-24 11:52:58 +02:00
Maxim Karasev
9e09d0a762 include: Add more Kerberos cache info types. 2023-07-21 21:27:44 +02:00
Georg Lehmann
eb5be00eb0 winevulkan: Update to VK spec version 1.3.258.
This does not enable VK_NV_device_generated_commands_compute because
the extension will likely see an API breaking naming fix.
2023-07-21 21:27:44 +02:00
Shaun Ren
5f3dee9702 include: Fix ISpTTSEngineSite::GetActions return type. 2023-07-20 11:30:15 +02:00
Hans Leidekker
573e20e9de include: Add windows.applicationmodel.idl. 2023-07-19 12:01:38 +02:00
Hans Leidekker
3181c5a0df include: Add windows.storage.idl. 2023-07-19 12:01:38 +02:00
Hans Leidekker
6ca6fa15dc include: Add ProcessorArchitecture winrt enum. 2023-07-19 12:01:38 +02:00
Hans Leidekker
ac55e6eb9f include: Add Uri runtime class and related definitions. 2023-07-19 12:01:38 +02:00
Alex Henrie
16a2243ee9 include: Annotate SHAlloc with __WINE_(DEALLOC|MALLOC). 2023-07-18 15:26:13 +02:00
Alex Henrie
c79ffafcae include: Annotate IoAllocate functions with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC). 2023-07-18 15:26:13 +02:00
Alex Henrie
18daf628d5 include: Add WS_STRING_VALUE and WS_XML_STRING_VALUE. 2023-07-18 15:20:00 +02:00
Alex Henrie
9928202d7c webservices: Add missing const to url parameter of WsOpenListener. 2023-07-18 15:17:36 +02:00
Biswapriyo Nath
900dfca389 include: Add more CLSIDs in d2d1effects.idl. 2023-07-17 23:31:23 +02:00
Jacek Caban
36384097c7 win32u: Pass module name before packed lparam in win_hook_params. 2023-07-17 18:11:19 +02:00
Biswapriyo Nath
788a61222c include: Add ID2D1DeviceContext4 in d2d1_3.idl. 2023-07-14 20:31:43 +02:00
Biswapriyo Nath
a66504de8f include: Add ID2D1DeviceContext3 in d2d1_3.idl. 2023-07-14 20:31:42 +02:00
Biswapriyo Nath
de1d097d29 include: Add ID2D1SvgGlyphStyle in d2d1_3.idl. 2023-07-14 20:31:41 +02:00
Biswapriyo Nath
70eb577f3e include: Add ID2D1SpriteBatch in d2d1_3.idl. 2023-07-14 20:31:39 +02:00
Alexandre Julliard
2436da5cef include: Add some new information classes. 2023-07-13 18:41:13 +02:00
Maxim Karasev
cb33d402bb include: Add missing Kerberos related defines. 2023-07-12 21:54:56 +02:00
Maxim Karasev
cecd031308 include: Update _SECURITY_INTEGER.
In Windows it works that way.
2023-07-12 21:54:54 +02:00
Maxim Karasev
062cf6e2f1 include: Add UNICODE_NULL. 2023-07-12 21:54:49 +02:00
Paul Gofman
27fc318161 include: Add initial ioring definitions. 2023-07-11 20:23:08 +02:00
Alexandre Julliard
257221843f ntdll: Implement RtlWow64GetSharedInfoProcess(). 2023-07-11 18:34:17 +02:00
Jacek Caban
e0d62e8569 user32: Always use NtCallbackReturn in User32DrawText. 2023-07-10 20:27:35 +02:00
Jacek Caban
2d7465eb60 win32u: Remove no longer needed result pointer from win_proc_params.
We may always use NtCallbackReturn now.
2023-07-10 16:24:30 +02:00
Mohamad Al-Jaf
07b7fd09f7 include: Add windows.networking.idl file. 2023-07-07 12:18:20 +02:00
Mohamad Al-Jaf
ef5f397b7d include: Add windows.networking.connectivity.idl file.
Needed by Windows.Networking.HostName.
2023-07-07 12:18:17 +02:00
Mohamad Al-Jaf
296fc81340 include: Add support for BYTE IReference.
Needed by Windows.Networking.Connectivity.IPInformation.
2023-07-07 12:18:14 +02:00
Fabian Maurer
ad9f4291c2 include: Add windows.devices.geolocation.geolocator. 2023-07-06 22:58:49 +02:00
Fabian Maurer
1e659a1fff include/windows.foundation: Add double reference. 2023-07-06 22:58:46 +02:00
Alex Henrie
b87dcee5ea include: Add IsReparseTagNameSurrogate.
Based on a patch by Erich E. Hoover.
2023-07-06 21:04:45 +02:00
Alex Henrie
33b7e4806f include: Add REPARSE_(GUID_)DATA_BUFFER and related constants.
Based on a patch by Erich E. Hoover.
2023-07-06 21:04:39 +02:00
Jacek Caban
e68d6c1674 include: Don't force named VARIANT members when __STDC__ is defined. 2023-07-06 20:54:30 +02:00
Bernhard Kölbl
9f9f799ad9 include: Add VoiceCommandSet runtimeclass with its dependencies. 2023-07-05 21:05:12 +02:00
Bernhard Kölbl
4a020b2fb6 include: Add Windows.Phone.PhoneContract api contract. 2023-07-05 19:54:57 +02:00
Zebediah Figura
22b25dfc9c wined3d: Introduce wined3d_get_renderer(). 2023-07-05 17:03:31 +02:00
Alexandre Julliard
bb1266b276 include: Define LONG_PTR as int on llvm-mingw to avoid printf format warnings. 2023-07-05 17:03:31 +02:00
Alexandre Julliard
6366775e82 include: Disallow Win32 va_list in Unix libraries. 2023-07-05 17:03:30 +02:00
Alex Henrie
f4a8ad89d4 include: Introduce wine_dbgstr_hstring and debugstr_hstring. 2023-07-04 21:25:03 +02:00
Alex Henrie
7e366d46b2 include: Use correct header guard name in winstring.h. 2023-07-04 21:02:39 +02:00
Mohamad Al-Jaf
581ad52940 include: Add windows.devices.bluetooth.idl file. 2023-07-04 13:13:46 +02:00
Mohamad Al-Jaf
83cb93ee6d include: Add windows.devices.radios.idl file.
Needed by IBluetoothAdapter in windows.devices.bluetooth.idl.
2023-07-04 13:13:44 +02:00
Alexandre Julliard
641623ffe8 uiautomationcore: Fix some long/LONG mismatches. 2023-07-04 12:29:08 +02:00
Jacek Caban
6892434b22 winedump: Add support for dumping IMPORT_OBJECT_NAME_EXPORTAS symbols.
This is used by ARM64EC importlibs.
2023-07-03 22:15:43 +02:00
Andrey Gusev
5e2c9b1255 ntoskrnl.exe: Add PsSetLoadImageNotifyRoutineEx semi-stub.
BattlEye says it's missing.
2023-07-03 22:15:42 +02:00
Esme Povirk
45ac4ce9c9 win32u: Implement marshaling for CB_GETCOMBOBOXINFO. 2023-07-03 22:15:42 +02:00
Alexandre Julliard
959dea0c09 ntdll: Implement RtlIsCurrentProcess/Thread. 2023-07-03 22:15:42 +02:00
Alexandre Julliard
a5ff427acb ntdll: Implement NtQueryVirtualMemory(MemoryImageInformation). 2023-07-03 12:16:49 +02:00
Alexandre Julliard
9bdd08579e ntdll/tests: Add some tests for NtQueryVirtualMemory(MemoryImageInformation). 2023-06-29 21:06:49 +02:00
Zebediah Figura
221f110bbd wined3d: Remove no longer used arguments from wined3d_texture_update_desc().
Limit it to updating user memory and pitch.
2023-06-29 12:04:37 +02:00
Xin Xu
d291f40472 include: Fix spelling error in InterlockedDecrementSizeT(). 2023-06-28 18:56:28 +02:00
Mohamad Al-Jaf
98b73b5c32 twinapi.appcore: Add UnregisterAppConstrainedChangeNotification() stub. 2023-06-27 22:17:51 +02:00
Mohamad Al-Jaf
c12e8f6123 twinapi.appcore: Add RegisterAppConstrainedChangeNotification() stub.
Needed for Age of Wonders 4.
2023-06-27 22:17:30 +02:00
Joel Holdsworth
cc1d0e493d ntdll: Initial implementation of FileDispositionInformationEx.
This is required by Msys2 when running gpg-agent.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54996
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2023-06-27 22:14:15 +02:00
Joel Holdsworth
dedd130d9e include: Define FILE_DISPOSITION_INFORMATION_EX and friends.
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2023-06-27 12:05:05 +02:00
Hans Leidekker
11afc2da02 secur32: Add support for sending TLS alerts.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55086
2023-06-22 15:34:07 +02:00
Eric Pouech
20f6b54019 include/dbghelp.h: Added some missing definitions.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-06-20 20:29:45 +02:00
Alexandre Julliard
718068c42c include: Disallow fastcall functions in Unix libraries. 2023-06-19 16:28:54 +02:00
Andrey Gusev
a5ea2c57c9 include: Add flags in D3D11_RESOURCE_MISC_FLAG. 2023-06-19 13:17:13 +02:00
Rémi Bernon
8d2de5dbe1 win32u: Use a specific flag instead of shrinking the clip rect.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55047
2023-06-16 21:42:44 +02:00
Georg Lehmann
7eb75124e7 winevulkan: Update to VK spec version 1.3.254. 2023-06-16 17:55:39 +02:00
Alexandre Julliard
250efdf0c6 include: Don't support stdcall functions on non-i386. 2023-06-14 18:53:36 +02:00
Rémi Bernon
3afff1a690 win32u: Add a hwnd parameter to SetCursor driver entry points. 2023-06-13 22:10:56 +02:00
Rémi Bernon
25906eedd8 server: Introduce and send new WM_WINE_SETCURSOR hardware message. 2023-06-13 22:10:56 +02:00
Alexandre Julliard
11cd51139d ntdll: Support the lower memory limit in MEM_ADDRESS_REQUIREMENTS. 2023-06-13 22:10:56 +02:00
Alexandre Julliard
2705e6c319 server: Also enforce the size of varargs data structures. 2023-06-13 22:10:56 +02:00
Tatsuyuki Ishi
d24dcb1ec5 win32u: Cleanup naming and log messages for QueryDisplayConfig.
Signed-off-by: Tatsuyuki Ishi <ishitatsuyuki@gmail.com>
2023-06-12 21:21:42 +02:00
Tatsuyuki Ishi
c2c9112bf8 win32u: Move QueryDisplayConfig from user32.
Signed-off-by: Tatsuyuki Ishi <ishitatsuyuki@gmail.com>
2023-06-12 21:21:42 +02:00
Alexandre Julliard
912fd620db makefiles: Define WINE_UNIX_LIB for all files that are built for Unix. 2023-06-12 21:21:41 +02:00
Alexandre Julliard
93630ce14e include: Remove redundant __WINE_USE_MSVCRT checks. 2023-06-12 21:21:41 +02:00
Shaun Ren
b24c1abf62 include: Add sperror error code SPERR_UNSUPPORTED_FORMAT. 2023-06-09 10:34:44 +02:00
Shaun Ren
615852a97f sapi: Add GUIDs SPDFID_Text/WaveFormatEx. 2023-06-09 10:34:43 +02:00
Zebediah Figura
14c44d0b0a xaudio2: Use the preprocessor to modify definitions in xaudio2.idl and xaudio2fx.idl.
Instead of including the IDLs directly, define a local IDL that #includes them,
with XAUDIO2_VER defined, and include that generated header.

Get rid of compat.c, and use XAUDIO2_VER to modify the code in the other source
files.

Build the tests for both xaudio2_7 and xaudio2_8 using PARENTSRC, and use
XAUDIO2_VER to select between them. This mirrors the approach taken for
d3dcompiler, and makes it easier to test more xaudio2 versions in the future.
2023-06-07 22:48:27 +02:00
Rémi Bernon
b7570b798e win32u: Add a reset parameter to WM_WINE_CLIPCURSOR and driver ClipCursor. 2023-06-07 22:48:27 +02:00
Alexandre Julliard
6b5561b601 server: Send the APC call data as vararg in the select request. 2023-06-06 21:51:43 +02:00
Alexandre Julliard
e3049f11fa server: Send the APC call data as vararg in the queue_apc request.
To make it possible to support a larger structure.
2023-06-06 21:51:37 +02:00
Alexandre Julliard
b337c5b1a1 ntdll: Use the default ABI for all functions on the Unix side. 2023-06-02 09:50:50 +02:00
Alexandre Julliard
48537f4e1e ntdll: Use the sysv ABI for setjmp/longjmp on the Unix side. 2023-06-02 09:35:10 +02:00
Alex Henrie
870a9fcb4c iphlpapi: Add GetPerTcpConnectionEStats stub.
Based on a patch by Austin English.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52868
2023-06-02 09:29:24 +02:00
Alexandre Julliard
7d279bcd3b include: Only declare __wine_unix_call() on the PE side. 2023-06-01 20:57:32 +02:00
Alexandre Julliard
231f1854f5 ntdll: Don't use WINAPI for KeUserModeCallback(). 2023-06-01 15:56:13 +02:00
Alex Henrie
4050ceb22f iphlpapi: Add GetCurrentThreadCompartmentId stub and a test.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54599
2023-05-31 22:50:10 +02:00
Alexandre Julliard
a315420d31 win32u: Don't use WINAPI for the font enumeration function. 2023-05-31 13:35:53 +02:00
Jacek Caban
8c5dd2214e win32u: Don't use CDECL for gdi_dc_funcs entries. 2023-05-31 12:48:52 +02:00
Jacek Caban
7aa109501c wineps: Don't include gdi_driver.h from PE module. 2023-05-31 12:48:51 +02:00
Alexandre Julliard
56cfbf6b86 include: Only enable the non-inline NtCurrentTeb() on the Unix side. 2023-05-31 12:32:11 +02:00
Martin Storsjö
0fac6bcfa4 include: Fix the use of __getReg for aarch64/msvc mode.
Clang requires the __getReg function to be declared in addition to
be declared as an intrinsic with the pragma.

This fixes the following error:

../wine/include/winnt.h:2412:27: error: call to undeclared library function '__getReg' with type 'unsigned long long (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    return (struct _TEB *)__getReg(18);
                          ^
../wine/include/winnt.h:2412:27: note: include the header <intrin.h> or explicitly provide a declaration for '__getReg'
1 error generated.

Signed-off-by: Martin Storsjö <martin@martin.st>
2023-05-31 10:08:02 +02:00
Rémi Bernon
f7d45533d1 explorer: Call user driver through a new CreateDesktop callback. 2023-05-30 13:45:43 +02:00
Rémi Bernon
15dfe2ed2d win32u: Rename user driver CreateDesktopWindow entry to SetDesktopWindow.
This doesn't create anything, but instead notifies the user driver of
the current desktop window, either when it is created, or when a thread
calling NtUserGetDesktopWindow receives the current desktop window.
2023-05-30 13:45:33 +02:00
Georg Lehmann
8190aa25a0 winevulkan: Update to VK spec version 1.3.251. 2023-05-30 12:25:25 +02:00
Rémi Bernon
61dbfea452 server: Assume the internal clip message to be WM_WINE_CLIPCURSOR. 2023-05-30 12:25:25 +02:00
Alistair Leslie-Hughes
d476a4cad7 include: Use STDMETHOD when returning HRESULT. 2023-05-30 12:24:21 +02:00
Alistair Leslie-Hughes
cd8c46f9e4 xactengine: Correct interfaces for IXACT3Cue. 2023-05-30 12:24:02 +02:00
Paul Gofman
fce615a2c3 ntdll: Support MEM_PRESERVE_PLACEHOLDER in NtUnmapViewOfSectionEx(). 2023-05-30 12:12:09 +02:00
Paul Gofman
4806b1c226 kernelbase/tests: Add tests for MEM_PRESERVE_PLACEHOLDER with UnmapViewOfFile2(). 2023-05-30 12:12:09 +02:00
Alexandre Julliard
7f088b0b13 ntdll: Use x18 for the TEB on ARM64. 2023-05-30 12:12:09 +02:00
Alexandre Julliard
62173699c3 include: Don't align the stack for PE builds. 2023-05-30 12:12:09 +02:00
Jacek Caban
b601e3fa97 win32u: Use syscall interface for all exports. 2023-05-29 11:37:09 +02:00
Jacek Caban
da4663d640 win32u: Don't return full OUTLINETEXTMETRICW from __wine_get_file_outline_text_metric. 2023-05-29 11:37:08 +02:00
Jacek Caban
ab88c7cbb1 win32u: Implement NtGdiIcmBrushInfo and use it instead of __wine_get_brush_bitmap_info. 2023-05-29 11:37:07 +02:00
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
Zebediah Figura
5a37d94bea wined3d: Pass parent ops to wined3d_rendertarget_view_set_parent(). 2023-03-29 22:29:37 +02:00
Stefan Dösinger
723cd0a4ae wined3d: Make video memory accounting a per-resource flag.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54701
2023-03-28 11:43:38 +02:00
Mohamad Al-Jaf
4eb5616e8d include: Add windows.graphics.capture.idl file. 2023-03-27 11:04:13 +02:00
Biswapriyo Nath
787c3f73f8 include: Fix c++ compiler error with msxml2.idl.
This moves ISAXXMLFilter declaration after its base class ISAXXMLReader.
Otherwise the following error is shown in C++ mode

$ wineg++ test-msxml2.cpp
In file included from test-msxml2.cpp:1:
/usr/include/wine/windows/msxml2.h:16199:24: error: invalid use of incomplete type ‘struct ISAXXMLReader’
16199 | ISAXXMLFilter : public ISAXXMLReader
|                        ^~~~~~~~~~~~~
/usr/include/wine/windows/msxml2.h:644:19: note: forward declaration of ‘struct ISAXXMLReader’
644 | typedef interface ISAXXMLReader ISAXXMLReader;
|                   ^~~~~~~~~~~~~
winegcc: /usr/bin/g++ failed

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
2023-03-27 11:03:27 +02:00
Mohamad Al-Jaf
58a2532a37 include: Add windows.graphics.effects.idl file.
Needed for mingw Firefox build.
2023-03-24 16:06:08 +01:00
Alistair Leslie-Hughes
dc32c192c3 include: Add Missing IUISettings interfaces. 2023-03-24 16:06:08 +01:00
Alexandre Julliard
75ab843114 vkd3d: Import upstream release 1.7. 2023-03-24 13:02:45 +01:00
Zebediah Figura
d8d8774568 include: Add D3D10CalcSubresource(). 2023-03-23 16:44:34 +01:00
Zebediah Figura
fae48444af include: Use hexadecimal constants for XAudio flags. 2023-03-23 16:44:34 +01:00
Alex Henrie
44e1e9438c include: Allow multiple definitions on GCC with DECLSPEC_SELECTANY.
Needed to compile Tera Term.

As far as I can tell, GCC has always supported __attribute__((weak)).
2023-03-22 20:03:52 +01:00
Biswapriyo Nath
8204a0b864 include: Add missing TS_STATUS constants in textstor.idl.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
2023-03-22 20:03:52 +01:00
Zebediah Figura
a18bc5f9d7 wined3d: Pass parent ops to wined3d_resource_set_parent().
So that we can "detach" a wined3d surface from ddraw after creating it, in turn
so that we can recreate the backing wined3d texture for a surface, namely for
SetSurfaceDesc().
2023-03-22 20:03:51 +01:00
Zebediah Figura
4f8635bd78 wined3d: Pass parent ops to wined3d_texture_set_sub_resource_parent().
So that we can allow setting the sub resource and parent ops not from the
texture_sub_resource_created() callback, and also that we can "detach" a wined3d
surface from ddraw after creating it, so that we can recreate the backing
wined3d texture, viz. in SetSurfaceDesc().
2023-03-22 20:03:51 +01:00
Alexandre Julliard
687068e7d6 include: Declare some missing ntdll functions, and fix the sorting. 2023-03-22 20:03:51 +01:00
Alex Henrie
1512112841 include: Annotate ldap_(*_attribute|get_dn)* with __WINE_(DEALLOC|MALLOC). 2023-03-22 20:03:51 +01:00
Biswapriyo Nath
26eb50e494 include: Add IDirectManipulationInteractionEventHandler declaration in directmanipulation.idl.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
2023-03-21 15:33:45 +01:00
Alex Henrie
fd99bd4e24 include: Annotate LDAP allocation functions with __WINE_(DEALLOC|MALLOC). 2023-03-20 21:27:44 +01:00
Rémi Bernon
7ecb144656 win32u: Stub NtUserBuildHimcList syscall. 2023-03-20 17:10:45 +01:00
Mohamad Al-Jaf
0f01852333 include: Add IHolographicSpaceStatics3 interface definition. 2023-03-17 11:55:46 +01:00
Mohamad Al-Jaf
83e8ff0b15 include: Add IHolographicSpaceStatics2 interface definition. 2023-03-17 11:55:38 +01:00
Mohamad Al-Jaf
e98c7a0fcd include: Add windows.graphics.holographic.idl file. 2023-03-17 11:55:38 +01:00
Mohamad Al-Jaf
923a1b4e5c include: Add Windows.Foundation.Deferral definition.
Needed by windows.graphics.holographic.idl.
2023-03-17 11:55:36 +01:00
Mohamad Al-Jaf
3d3076b2ab include: Add windows.graphics.directx.direct3d11.idl file.
Needed by windows.graphics.holographic.idl.
2023-03-17 11:55:34 +01:00
Rémi Bernon
cefe42dfeb include: Add some dinput.h action semantics definitions. 2023-03-16 17:36:58 +01:00
Alexandros Frantzis
50c1b1974f winewayland.drv: Perform basic per-process Wayland initialization.
Try to connect to the Wayland compositor, and fail driver initialization
if we are unable to do so.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
2023-03-16 12:52:37 +01:00
Alexandre Julliard
5a1d431b4b ntdll: Implement NtWow64IsProcessorFeaturePresent(). 2023-03-15 11:48:57 +01:00
Alexandre Julliard
c44e58c88b ntdll: Implement the SystemProcessorFeaturesInformation query. 2023-03-14 17:38:51 +01:00
Alexandre Julliard
37628a7732 wow64: Implement Wow64RaiseException(). 2023-03-09 17:31:26 +01:00
Alexandre Julliard
3e3af62be9 wow64: Create the WOW64INFO structure. 2023-03-09 17:31:26 +01:00
Zebediah Figura
c2018ff466 win32u: Allow separately storing the internal pixel format set by WGL_WINE_pixel_format_passthrough. 2023-03-09 15:02:45 +01:00
Zebediah Figura
463a11379b win32u: Introduce a win32u_get_window_pixel_format() helper. 2023-03-09 15:02:42 +01:00
Zebediah Figura
b545ca0f9b win32u: Make NtUserSetWindowPixelFormat() into a proper export.
This is simpler in general, given that this function is no longer used
from user-space. In this particular case, the secondary purpose is to
allow easily adding arguments to the function.
2023-03-09 15:02:38 +01:00
Brendan Shanks
d7d94ed0df kernelbase: Implement DiscardVirtualMemory(). 2023-03-08 17:49:00 +01:00
Alexandre Julliard
fa47ea7400 server: Determine the native thread context flags on the client side. 2023-03-08 12:43:20 +01:00
Mohamad Al-Jaf
79a7c7ca40 include: Add windows.perception.spatial.surfaces.idl file. 2023-03-07 18:36:26 +01:00
Mohamad Al-Jaf
16b3b79105 include: Add windows.graphics.directx.idl file.
Needed by windows.perception.spatial.surfaces.idl.
2023-03-07 18:36:25 +01:00
Mohamad Al-Jaf
9065c6637e include: Add windows.perception.spatial.idl file.
Needed by windows.perception.spatial.surfaces.idl.
2023-03-07 18:36:23 +01:00
Alexandre Julliard
63a781de1d wow64: Declare exported functions in winternl.h. 2023-03-07 17:25:08 +01:00
Alexandre Julliard
c244fe3d27 wow64: Keep track of APC stack frames, similarly to user callback frames.
And use the appropriate frame to restore the context in NtContinue.
2023-03-07 17:25:08 +01:00
Georg Lehmann
1eed39fffe winevulkan: Update to VK spec version 1.3.242. 2023-03-06 11:10:34 +01:00
Brendan Shanks
ac031bff9e kernel32: Implement GetFirmwareType(). 2023-03-06 11:09:03 +01:00
Mohamad Al-Jaf
c78cd3f554 include: Add more Windows.Foundation.Numerics structs. 2023-03-03 11:16:22 +01:00
Henry Goffin
0e85ac17a4 win32u: Invalidate all cached keys after input.
This patch addresses an issue in Second Life and potentially other
multi-threaded applications which process WM_KEYDOWN in one thread
and then verify that the key is "still down" with GetAsyncKeyState
from another thread. Wine uses a per-thread key cache, resulting
in inconsistent views of key status. Caches are now invalidated
when an input event is injected by the driver or via SendInput.
2023-03-02 10:20:01 +01:00
Alex Henrie
b9627b996f ntoskrnl: Add ExGetPreviousMode and test.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54378
2023-03-01 21:39:30 +01:00
Alexandre Julliard
d5468b9cac ntdll: Implement RtlAddProcessTrustLabelAce(). 2023-03-01 21:39:30 +01:00
Rémi Bernon
ad5cb8305f winex11: Assume that Xkb extension is available. 2023-02-28 20:55:45 +01:00
Alexandre Julliard
aa3e772abf ntdll: Mark the Wow64 TLS slots as reserved. 2023-02-24 22:23:12 +01:00
Alistair Leslie-Hughes
7582ebcd1a include: Add DBCOLUMNFLAGS_ enums values. 2023-02-24 22:23:12 +01:00
Rémi Bernon
653321a2b4 include: Allow overriding LANGID in module VERSIONINFO. 2023-02-24 10:28:37 +01:00
Mohamad Al-Jaf
80dc6df8fd include: Add windows.security.credentials.idl file. 2023-02-23 17:30:17 +01:00
Hans Leidekker
210596600c include: Add missing smart card defines. 2023-02-22 21:14:20 +01:00
Paul Gofman
a97fd9f29e win32u: Expose and use ProcessEvents from drivers instead of MsgWaitForMultipleObjectsEx. 2023-02-22 18:25:29 +01:00
Alex Henrie
8f2df17e84 include: Annotate CommandLineToArgvW with __WINE_DEALLOC. 2023-02-22 18:06:08 +01:00
Mohamad Al-Jaf
079ff28fce include: Fix BluetoothRegisterForAuthentication prototype.
The first parameter is defined as const BLUETOOTH_DEVICE_INFO in MSDN and bluetoothapis.h.
2023-02-22 18:05:55 +01:00
Connor McAdams
21e6fd5076 uiautomationcore: Implement UiaLookupId for AutomationIdentifierType_ControlType GUIDs.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-22 18:05:40 +01:00
Alexandros Frantzis
aa72d7d42d gdi32: Track ticks since draw start per window_surface.
Track ticks since draw start per window_surface, instead of per DC as is
currently the case. This change helps reduce visual glitches caused by
badly timed flushes when drawing to the same window_surface from
multiple DCs (e.g., for child windows).

This approach is a better fit for the current heuristic for forcing
flushing, which consults the shared window_surface bounds to decide
whether this is the start of a draw in order to reset the (currently per
DC) draw start time.

The problem in the current implementation occurs when a drawing to a DC
begins with an already damaged window_surface, e.g., due to draws from
other DCs targeting that window_surface. In such a case, the DC draw
start time is not reset and refers to the start of some previous draw
sequence using this DC, thus increasing the chances that the 50ms time
flush limit will be eventually exceeded in the middle of the current
draw sequence. In other words, the state of the (shared) window_surface
damage is not a reliable indicator of the beginning (or not) of a draw
to a DC.

An example, assuming DC1 and DC2 target the same window_surface:

DC1.start_ticks = 0
DC2.start_ticks = 0
FLUSH_PERIOD = 50

0 flush
1 draw to DC1 -> DC1.start_ticks = 1
... [no flush] ...
2 draw to DC2 -> DC2.start_ticks remains 0 since surface is damaged
...
50 flush
51 draw to DC1 -> DC1.start_ticks = 51
... [no flush] ...
52 draw to DC2 -> DC2.start_ticks remains 0 since surface is damaged,
                  current - DC2.start_ticks > FLUSH_PERIOD so we are
                  forced to flush in the middle of the drawing
                  sequence => potential glitch

Tracking the draw start per window_surface ameliorates the problem
because the beginning of a draw on a DC targeting an undamaged
window_surface resets the start time for all DCs targeting that
window_surface:

...
50 flush
51 draw to DC1 -> surface.draw_ticks = 51
... [no flush] ...
52 draw to DC2 -> surface.draw_ticks remains 51 since surface is damaged,
                  but current - surface.draw_ticks < FLUSH_PERIOD, so we
                  do not flush

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
2023-02-21 11:22:45 +01:00
Mohamad Al-Jaf
5d2051eb64 include: Add BluetoothRegisterForAuthenticationEx prototype. 2023-02-21 11:22:34 +01:00
Alexandre Julliard
1b9db99417 ntdll: Return the correct IOSB information when creating a named pipe. 2023-02-21 11:17:17 +01:00
Alexandre Julliard
d74b084e45 ntdll: Pass the NtCreateNamedPipeFile disposition to the server. 2023-02-21 10:48:16 +01:00
Eric Pouech
417d2c0235 include: Ensure that SymRefreshModuleList() is properly defined.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-20 23:00:33 +01:00
Zhiyi Zhang
9833695855 include: Add dcomp.idl.
Note that overloaded C++ methods are renamed to avoid conflicts.
2023-02-20 23:00:33 +01:00
Zhiyi Zhang
c10568fc31 include: Add dcompanimation.idl. 2023-02-20 23:00:33 +01:00
Zhiyi Zhang
74e6345712 include: Add dcomptypes.idl. 2023-02-20 23:00:33 +01:00
Zhiyi Zhang
58427faace include: Add DirectComposition error codes. 2023-02-20 23:00:33 +01:00
Alexandre Julliard
f4c3801495 include: Move __builtin_ms_va_list definitions to vadefs.h. 2023-02-20 08:41:45 +01:00
Connor McAdams
88a1e94971 uiautomationcore: Register all UI Automation typelibs.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-20 08:37:21 +01:00
Eric Pouech
89d42d64d7 ntdll: Implement RtlAddressInSectionTable.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54432
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-17 18:59:29 +01:00
Paul Gofman
6bc1eea718 win32u: Remove monitor name from gdi driver monitor info. 2023-02-17 11:20:00 +01:00
Brendan Shanks
1362b0c04f include: Add __ASM_LOCAL_LABEL macro. 2023-02-16 10:38:02 +01:00
Alistair Leslie-Hughes
96e18688e9 include: Add missing SQL prototype. 2023-02-16 10:31:56 +01:00
Rémi Bernon
333ab2b4d6 include: Add Imm(Get|Set)HotKey declarations. 2023-02-15 21:48:33 +01:00
Rémi Bernon
f371309f6d include: Fix ImeToAsciiEx declaration. 2023-02-15 21:48:33 +01:00
Rémi Bernon
2fdfe16c2d include: Fix ImeInquire declaration. 2023-02-15 21:48:33 +01:00
Rémi Bernon
68ff9a942e include: Move ddk/imm.h to immdev.h. 2023-02-15 21:48:33 +01:00
Connor McAdams
23c10c928b uiautomationcore: Add UiaRaiseChangesEvent stub.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-14 20:57:09 +01:00
Connor McAdams
e84b95ef6f uiautomationcore: Add UiaRaiseNotificationEvent stub.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-14 20:57:09 +01:00
Connor McAdams
5e7356c8db uiautomationcore: Add UiaRaiseTextEditTextChangedEvent stub.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-14 20:57:09 +01:00
Connor McAdams
c928ae56e4 uiautomationcore: Add UiaRaiseAsyncContentLoadedEvent stub.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-14 20:57:09 +01:00
Connor McAdams
8f70e20fbd uiautomationcore: Add UiaRaiseStructureChangedEvent stub.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-14 20:57:09 +01:00
Zebediah Figura
302996efae wined3d: Introduce wined3d_texture_get_swapchain(). 2023-02-14 20:57:09 +01:00
Eric Pouech
20e7eb5eba include: Add manifest constants for EnumProcessModulesEx.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-13 17:08:46 +01:00
Connor McAdams
abc1f7dadb uiautomationcore: Implement UiaLookupId for AutomationIdentifierType_Pattern GUIDs.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-13 15:53:37 +01:00
Connor McAdams
51aa53161a include: Define UI Automation pattern provider interfaces.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-13 15:53:37 +01:00
Connor McAdams
01fb2a26d2 uiautomationcore: Implement UiaLookupId for AutomationIdentifierType_Event GUIDs.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-13 15:53:36 +01:00
Connor McAdams
f02ee34d3a include: Fully define uiautomationclient interfaces.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-02-13 15:53:34 +01:00
Mohamad Al-Jaf
5fc131ef81 include: Add windows.ui.viewmanagement.idl file. 2023-02-10 19:10:44 +01:00
Mohamad Al-Jaf
83625459c8 include: Add DirectX 12 Agility SDK definitions. 2023-02-10 19:09:16 +01:00
Alexandre Julliard
cd7e86599e winedump: Initial support for dumping PE dynamic relocations. 2023-02-08 12:10:13 +01:00
Eric Pouech
cb3388f76a winedump: Dump some more bits out of public stream.
Especially thunk related information.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-07 18:42:01 +01:00
Alexandre Julliard
51adaa33e3 winedump: Print more information from the PE Load Config directory. 2023-02-07 18:37:00 +01:00
Rémi Bernon
c04f351db2 include: Add VK_TO_WCHARS constants definitions to kbd.h. 2023-02-07 17:58:52 +01:00
Rémi Bernon
48c71b31f5 include: Add VSC_VK constants definitions to kbd.h. 2023-02-07 17:53:03 +01:00