Commit graph

16637 commits

Author SHA1 Message Date
Alex Henrie
38a7e68af1 include: Move RTL functions that belong in winnt.h from winternl.h to winnt.h. 2023-09-19 14:27:17 +02:00
Connor McAdams
80a9c0efa8 include: Add missing WinEvent definitions.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-09-18 20:35:58 +02:00
Connor McAdams
12b2d34976 uiautomationcore: Add UiaHasServerSideProvider stub.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-09-18 11:01:22 +02:00
Zhiyi Zhang
109d15ab35 user32: Map WM_CHAR wparam in ASCII to Unicode in IsDialogMessageA() for CJK locales.
Fix displaying Chinese characters as "??" in some applications with Chinese locale.
2023-09-14 11:18:48 +02:00
Alexandre Julliard
d08723fbf7 include: Add DECLSPEC_NOINLINE macro. 2023-09-13 22:05:46 +02:00
Zebediah Figura
b6d3e2ba0e include: Do not import strmif.idl in mediaobj.idl.
This means that mfobjects.idl no longer pulls in mediaobj.idl. Since it still
needs AM_MEDIA_TYPE to be declared (though not defined), add a typedef.

Reorder includes in a couple files to avoid multiple-definition errors.
strmiids and mfplat were getting strmif.h through mfobjects.h, and dsdmo was
getting it through dmo.h.
2023-09-13 20:24:17 +02:00
Biswapriyo Nath
844efaeec5 include: Add IEnumTfPropertyValue definition in msctf.idl. 2023-09-13 11:11:54 +02:00
Biswapriyo Nath
8f3cd46687 include: Add missing error codes in msctf.idl. 2023-09-12 20:11:31 +02:00
Mohamad Al-Jaf
0eb9e72336 include: Add Windows.Management.Deployment.IPackageManager2 interface definition. 2023-09-11 20:41:35 +02:00
Biswapriyo Nath
e08435a891 include: Add IPackage2 definition in windows.applicationmodel.idl.
Required for GNOME/glib project.
2023-09-08 11:29:36 +02:00
Helix Graziani
6dae924d55 wldp: Add WldpQueryWindowsLockdownMode stub. 2023-09-08 11:06:19 +02:00
Rémi Bernon
23b61b0dc8 include: Use IReferenceClock interface from strmif.idl in dmusicc.h. 2023-09-06 22:29:26 +02:00
Etaash Mathamsetty
51f16a2f80 include: Update definition of KDPC. 2023-09-06 12:05:49 +02:00
Rémi Bernon
bb9e54808c include: Fix incorrect IDirectMusicPortDownload_Unload macro. 2023-09-05 23:10:27 +02:00
Mohamad Al-Jaf
04c26b455f windows.applicationmodel: Add stub DLL. 2023-09-05 12:00:11 +02:00
Biswapriyo Nath
9ae771bac8 include: Add AudioEffectsManager runtimeclass in windows.media.effects.idl. 2023-09-05 11:36:58 +02:00
Biswapriyo Nath
d53e989b5a include: Add AudioRenderEffectsManager runtimeclass in windows.media.effects.idl. 2023-09-05 11:36:58 +02:00
Biswapriyo Nath
cc1692bb0a include: Add AudioCaptureEffectsManager runtimeclass in windows.media.effects.idl. 2023-09-05 11:36:58 +02:00
Paul Gofman
9cf5505632 include: Define up to date exception flags. 2023-09-05 11:36:40 +02:00
Billy Laws
23736e69ce include: Add CHPEV2 CPU area definitions. 2023-09-04 20:41:54 +02:00
Alex Henrie
16e4b086f2 wldap32: Implement setting LDAP_OPT_CLIENT_CERTIFICATE.
Since most LDAP servers do not require mTLS, for now the callback
function is saved but not called.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55507
2023-09-04 11:38:51 +02:00
Louis Lenders
b71a0e33ac wldp: Add WldpGetLockdownPolicy stub. 2023-09-01 19:48:46 +02:00
Alexandre Julliard
f078d5b4f9 gdi32: Fix buffer size parameter in GetFontFileData for 64-bit. 2023-09-01 18:06:02 +02:00
Biswapriyo Nath
5d8e135c12 include: Add Windows.Media.Effects.AudioEffect runtimeclass.
This is required for chromium and fixes the following compiler error.

In file included from media/audio/win/audio_low_latency_input_win.cc:5:
./media/audio/win/audio_low_latency_input_win.h:64:10: fatal error:
windows.media.effects.h: No such file or directory
   64 | #include <windows.media.effects.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
2023-09-01 11:28:38 +02:00
Dmitry Timoshkov
a52cf805d2 ntdll: Implement NtCreateToken().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2023-08-31 19:53:16 +02:00
Rémi Bernon
e3b2cfed9e include: Avoid using strcmp directly in wine/test.h.
It's not available in kernel driver code.
2023-08-31 19:53:16 +02:00
Rémi Bernon
add4d6ef8d include: Introduce winetest wrappers for vprintf and GetTickCount. 2023-08-31 19:53:16 +02:00
Rémi Bernon
9bab243d90 include: Pass a temporary buffer to winetest_elapsed.
Using wine_dbg_sprintf pulls various things that are not available
in the driver tests.
2023-08-31 19:53:16 +02:00
Rémi Bernon
e199e02176 include: Rename winetest_printf to winetest_print_location. 2023-08-31 19:53:16 +02:00
Rémi Bernon
8f12e2a2db include: Initialize winetest global counters to 0.
Fixes: ef3e97dbc2
2023-08-31 19:53:16 +02:00
Biswapriyo Nath
64dd6d2883 include: Add Windows.Media.Render.AudioRenderCategory enumeration.
Required for Windows.Media.Effects.IAudioEffectsManagerStatics interface.
2023-08-31 11:29:46 +02:00
Rémi Bernon
ef3e97dbc2 include: Make general winetest helpers static inline. 2023-08-30 11:19:18 +02:00
Rémi Bernon
4b9507d600 include: Prefix winetest color constants with winetest_. 2023-08-30 11:19:18 +02:00
Rémi Bernon
615ceb3be3 include: Rename winetest thread data struct and getter. 2023-08-30 11:19:17 +02:00
Rémi Bernon
58ec77757c include: Prefix winetest global counters with winetest_. 2023-08-30 11:19:17 +02:00
Biswapriyo Nath
a0b28edabe include: Add Windows.Media.Capture.MediaCategory enumeration.
Required for Windows.Media.Effects.IAudioEffectsManagerStatics interface.
2023-08-30 11:14:55 +02:00
Biswapriyo Nath
9b4ae4129a include: Add AudioProcessing enum in windows.media.idl.
Required for Windows.Media.Effects.IAudioEffectsManagerStatics interface.
2023-08-29 12:38:03 +02:00
Mohamad Al-Jaf
3c4c935f64 include: Add dxcore.h file. 2023-08-28 21:56:25 +02:00
Mohamad Al-Jaf
ef79bf9111 include: Add dxcore_interface.h file. 2023-08-28 21:56:25 +02:00
Alexandre Julliard
0b0dbf6acc wow64: Implement Wow64ProcessPendingCrossProcessItems(). 2023-08-28 13:49:16 +02:00
Alexandre Julliard
b521507591 ntdll: Implement RtlOpenCrossProcessEmulatorWorkConnection(). 2023-08-28 11:39:42 +02:00
Alexandre Julliard
049fb065c4 ntdll: Implement the cross-process work list functions. 2023-08-28 11:32:18 +02:00
Biswapriyo Nath
096377be42 uiautomationcore: Fix typo with TreeScope_Subtree name. 2023-08-28 11:19:30 +02:00
Alexandre Julliard
7ee9c19687 ntdll: Also store syscall id and names following the syscall dispatcher pointer. 2023-08-25 22:52:45 +02:00
Rémi Bernon
e2aee50aa6 include: Add MF_BYTESTREAM_EFFECTIVE_URL GUID declaration. 2023-08-23 17:38:51 +02:00
Eric Pouech
82b0bb3c24 server: Separate console and new group flag (CreateProcess).
We were using bit 1 of RTL_USER_PROCESS_PARAMETERS for two different cases:
- rightfully, as a sign to block ctrl-c events from being processed by
  handlers (and by default, terminating the process)
- But this was also used to request for the creation of a new process group.

This patch properly separates the two use cases, by using the
ProcessGroupId field in RTL_USER_PROCESS_PARAMETERS (checked that Win10
behaves as this patch in RtlCreateUserProcess wrt.
RTL_USER_PROCESS_PARAMETERS ProcessGroupId usage input/output).

Introduce process_group_id in startup_info_t and use it to pass it to
server. ProcessGroupId field in RTL_USER_PROCESS_PARAMETERS is now properly
set.

Note: this will change some external behavior.
- before this patch, a child process created with Ctrl-C disabled
  (ConsoleFlags set), couldn't turn it on as the process was detached
  from unix console.
- now, SIGINT handling is moved to kernelbase (and can be turned on/off at
  application will),
- when creating a new windows group id, the child will be detached from
  unix console, so will no longer receives the SIGINT from ctrl-c in unix
  console (if parent was attached to this unix console).

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-08-23 17:38:51 +02:00
Daniel Lehman
8fb70648d1 include: Add [_w]getenv_s. 2023-08-23 17:33:47 +02:00
Rémi Bernon
9c661ff3f1 include: Add Windows.ApplicationModel.IPackage3 interface definition. 2023-08-22 21:00:56 +02:00
Rémi Bernon
4752e1d86a include: Add Windows.ApplicationModel.Core.AppListEntry runtimeclass definition. 2023-08-22 21:00:56 +02:00
Rémi Bernon
3395ce23ee include: Add Windows.ApplicationModel.PackageStatus runtimeclass definition. 2023-08-22 21:00:56 +02:00