Commit graph

16541 commits

Author SHA1 Message Date
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
Rémi Bernon f0ac3b218d include: Add new kbd.h header with KBDTABLES definition. 2023-02-07 17:53:02 +01:00
Mohamad Al-Jaf f9631c3662 include: Add realtimeapiset.h file. 2023-02-07 17:46:42 +01:00
Zhiyi Zhang 2fbe1f3508 include: Add uiviewsettingsinterop.idl. 2023-02-02 18:08:39 +01:00
Kacper Michajłow 6e7a54f795 include: Add some DXGI_COLOR_SPACE_TYPE enumeration values.
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
2023-02-02 11:00:16 +01:00
Eric Pouech cda616d8ca winedump: Properly dump segment map information from PDB/DBI stream.
Changing field names to match better their content.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-02 10:58:21 +01:00
Eric Pouech cf71edaa4e winedump: Dump correctly ranges part of DBI stream.
The ranges describe for a PE image all the contributions
of each compilation unit towards the various sections.

Renaming offset_size into ranges_size which is closer to its actual content.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-02 10:58:07 +01:00
Eric Pouech 4fc2c3319e winedump: Correctly dump PDB_STREAM_INDEX.segment.
This stream actually contains PE IMAGE_SECTION_HEADER.  So reflect the
content by renaming segment into section, and use some helpers
from the PE side.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-02-02 10:57:46 +01:00
Brendan Shanks edc479eea9 kernelbase: Implement and add tests for QueryProcessCycleTime. 2023-02-02 10:56:43 +01:00
Brendan Shanks c0ffd587b5 ntdll: Add stub for NtQueryInformationProcess(ProcessCycleTime). 2023-02-02 10:56:42 +01:00
Gabriel Ivăncescu 3eaf3774ad include/mshtml: Add the other IHTMLEventObj* interfaces.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-02-01 22:29:39 +01:00
Eric Pouech 9a74d2b62f include: Use stream to denote MSF stream/file.
Try to apply consistent naming:
- file refers to (PDB) file
- stream refers to a stream/file inside the PDB stream at MSF level
(we were also using file for the later, which isn't very simple to
follow).

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-01-31 22:29:07 +01:00
Eric Pouech 26f89d84e2 include: Consistenly use _size to name the size of a sub-block.
We were using either _size or _len depending on which one.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-01-31 22:29:05 +01:00
Eric Pouech 27f3676cfc include: Update some fields in PDB headers.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-01-31 22:29:03 +01:00
Eric Pouech 71abef0906 include: Be consistent in naming regarding MSF's block.
No longer calling it sometimes 'page'.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-01-31 22:29:00 +01:00
Rémi Bernon 3cf7b6b41a include: Declare some NtUser pointer related syscalls.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53847
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51537
2023-01-31 21:05:37 +01:00
Paul Gofman 1b1f8d914e ntdll: Add stub for NtQueryInformationProcess( ProcessHandleTable ). 2023-01-31 16:54:52 +01:00
Zebediah Figura f954fb881c include: Add more definitions to difxapi.h. 2023-01-31 16:54:52 +01:00
Zebediah Figura 855bb76b73 include: Fix the definition of DIFXAPILOGCALLBACK_* functions.
These have cdecl convention, not stdcall.
2023-01-31 16:54:52 +01:00
Jinoh Kang b6a26817bc include/msvcrt: Add noreturn attribute to _assert.
This informs the compiler that no code following an assertion failure
will execute (unless NDEBUG is defined), which increases the accuracy of
compiler warnings and static analyses.

For assert.h, put DECLSPEC_NORETURN before the return type in the
function declaration to remain consistent with other MSVCRT function
declarations.
2023-01-30 18:55:57 +01:00
Jinoh Kang 36575a2e7a include: Add noreturn attribute to RtlRaiseStatus.
This informs the compiler that no code following a RtlRaiseStatus() call
will execute, which increases the accuracy of compiler warnings and
static analyses.
2023-01-30 18:55:57 +01:00
Alex Henrie 9716a1a97d include: Remove __WINE_MALLOC from functions that shouldn't have it.
According to the GCC documentation,[1] __attribute__((malloc)) may not
be used on functions that return memory that contains one or more valid
pointers.

[1] https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html
2023-01-30 16:49:55 +01:00
Alexandre Julliard 42b13eff24 include: Add some C99 floating point comparison macros. 2023-01-30 16:49:55 +01:00
Mohamad Al-Jaf e8ebab396d include: Add windows.system.profile.systemmanufacturers.idl file. 2023-01-27 13:39:06 +01:00
Alistair Leslie-Hughes 84d38ef306 include: Add D3DKMT_ENUMADAPTERS2 structure. 2023-01-27 13:39:06 +01:00
Brendan Shanks 21c4260792 include/msvcrt: Add __WINE_(ALLOC_SIZE|DEALLOC) attributes to _recalloc. 2023-01-26 22:05:13 +01:00
Brendan Shanks d36cbc4a57 include/msvcrt: Add __WINE_(ALLOC_SIZE|DEALLOC|MALLOC) attributes to _aligned_malloc functions. 2023-01-26 22:05:13 +01:00
Brendan Shanks 3a688e81a6 include/msvcrt: Add __WINE_(DEALLOC|MALLOC) attributes to _strdup and _wcsdup. 2023-01-26 22:05:13 +01:00
Nikolay Sivov 3a1146d8e6 propsys: Add InitPropVariantFromStringVector(). 2023-01-26 22:05:13 +01:00
Nikolay Sivov 5267fccae6 ktmw32: Use syscall interface for transaction objects stubs.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-01-26 22:05:13 +01:00
Georg Lehmann 83199991ed winevulkan: Update to VK spec version 1.3.240. 2023-01-26 22:05:13 +01:00
Rémi Bernon c5c9108d8c include: Add Windows.Foundation.IAsyncOperationWithProgress<TResult, TProgress> definition. 2023-01-25 18:31:03 +01:00
Rémi Bernon f0f83180c6 include: Add Windows.Foundation.IAsyncActionWithProgress<TProgress> definition. 2023-01-25 18:31:03 +01:00
Rémi Bernon fe11aa6ad1 include: Add Windows.Foundation.Collections.IObservableVector<T> definition. 2023-01-25 18:31:03 +01:00
Rémi Bernon 5050ae668d include: Add Windows.Foundation.Collections.IPropertySet definition. 2023-01-25 18:31:03 +01:00
Rémi Bernon 1aadd3fc6d include: Add Windows.Foundation.Collections.IObservableMap<K, V> definition. 2023-01-25 18:31:03 +01:00
Rémi Bernon 44906b6051 include: Add Windows.Foundation.Collections.IMap<K, V> definition. 2023-01-25 18:31:03 +01:00
Rémi Bernon 634b163407 include: Add Windows.Foundation.Collections.MapChangedEventHandler<K, V> definition. 2023-01-25 18:31:03 +01:00
Rémi Bernon f122309f35 include: Add Windows.Foundation.Collections.IMapChangedEventArgs<T> definition. 2023-01-25 18:31:03 +01:00
Rémi Bernon a483e9928b include: Add Windows.Foundation.Collections.IVectorChangedEventArgs definition. 2023-01-25 18:31:03 +01:00
Alex Henrie 88d6f8ac6c include: Add localtime_s.
Needed to compile Tera Term.
2023-01-25 13:10:05 +01:00
Alex Henrie 9844a69411 include: Add ctime_s.
Needed to compile Tera Term.
2023-01-25 13:10:03 +01:00
Alexandre Julliard 9f0ae8c992 tools: Move signal masking to the common make_temp_file() helper. 2023-01-25 11:47:51 +01:00
Alistair Leslie-Hughes d05ce2e72d include: Add _XHR enum values. 2023-01-25 10:16:31 +01:00
Fabian Maurer ae84e423c5 d3dx10core: Don't redefine ID3D10Device1 (gcc 4.3).
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
2023-01-25 10:01:38 +01:00
Fabian Maurer 0de8f53b3b d2d1_1: Don't redefine D2D1_PROPERTY_BINDING (gcc 4.3).
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
2023-01-25 10:01:36 +01:00
Alexandre Julliard 6e43f873c3 krnl386: Make MapLS argument non-const to avoid some compiler warnings. 2023-01-24 22:24:39 +01:00
Joshua Ashton 90416a48af winevulkan: Enable VK_EXT_hdr_metadata.
This works fine with the new struct conversions, and is needed
for HDR with native Vulkan games such as Doom Eternal and games using
HDR with DXVK and VKD3D-Proton.
2023-01-24 20:14:52 +01:00
Nikolay Sivov c38aa80ed4 windows.globalization: Implement ILanguage::get_LanguageTag(). 2023-01-24 18:26:57 +01:00
Eric Pouech a89975f731 dbghelp: Expose the real path to the module in SymGetModuleInfo*().
Expose the real path of a loaded module (potentially read from
WINEDLLDIR or WINEBUILDDIR or overriden load order or ...).  This
improves gdb integration by passing the real path to the loaded
modules (instead of the paths in c:\windows\ system subdirectories).
Introduce new Wine only dbghelp's extended option to enable the
feature.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54250
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-01-24 18:25:58 +01:00
Nikolay Sivov cab673f8b3 include: Add recent DirectWrite API changes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-01-24 18:22:05 +01:00
Alex Henrie 7ada8b96fb include: Add RTL_CONSTANT_STRING. 2023-01-24 18:21:34 +01:00
Evan Tang 8b0868c176 mshtml: Implement IHTMLRect2 for HTMLRect. 2023-01-24 18:14:11 +01:00
Hans Leidekker 1318f8aa0a ntdll: Fix a test failure on Windows 11. 2023-01-12 16:24:31 +01:00
Jacek Caban 4d8091cccc include: Add stdarg.h header.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54263
2023-01-10 09:20:54 +01:00
Jacek Caban 4c7e7ccac9 include: Add vadefs.h header.
Based on mingw-w64.
2023-01-10 09:20:51 +01:00
Zhiyi Zhang d81cf4ed55 win32u: Introduce a get_display_depth() helper to retrieve emulated display depth.
Using EnumDisplaySettings() directly to query display depth has a high overhead when using the
XRandR 1.0 display device handler on some NVIDIA setups.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51420
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53382
2023-01-09 16:44:08 +01:00
Alexandre Julliard 1c83f47893 Update copyright info for 2023. 2023-01-08 12:12:25 +01:00
Alistair Leslie-Hughes 51a27f3124 include: Add missing enum XHR_PROP_ values. 2023-01-06 13:39:45 +01:00
Biswapriyo Nath d059dd1cd0 include: Add missing constants in d3d11.idl. 2022-12-22 20:51:24 +01:00
Eric Pouech 495711c251 ntdll: Fix export and calling convention of RtlUlonglongByteSwap().
The RtlU*ByteSwap() family:
- has FASTCALL calling convention
- is only exported from ntdll and ntoskrnl.exe in 32bit mode
  (didn't check ARM though)

Wine's support for RtlUlonglongByteSwap() doesn't follow these constraints.
Note: in __fastcall, 64bit paramaters are passed on the stack, to
RtlUlonglongByteSwap() calling convention acts as __stdcall.

So:
- fix ntdll.spec (resp. ntoskrnl.exe.spec) to only export
  (resp. forward) RtlUlonglongByteSwap for i386
- always provide an inline implementation in winternl.h
- reimplement ntdll.RtlUlonglongByteSwap() for i386 with
  __fastcall calling convention.
- fix ntdll/tests/rtl.c to use correct calling convention.
- add test in ntdll/tests/rtl.c for inlined version.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53536
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-16 18:48:30 +01:00
Zebediah Figura 760788557c include: Add CONFIGFLAG_* definitions. 2022-12-13 12:44:51 +01:00
Alex Henrie 3ffc420440 include: Add _recalloc. 2022-12-13 12:08:29 +01:00
Eric Pouech cbde184047 wined3d: Reduce usage of long integral types in stateblock.c. 2022-12-09 17:52:25 +01:00
Eric Pouech e213d17d4c wined3d: Let sampler_states and texture_states be 2D arrays of uint32_t.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-09 17:52:25 +01:00
Jacek Caban 7fc68b7ac5 win32u: Move GetTaskmanWindow implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban 7d53e27cff win32u: Move SetTaskmanWindow implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban 592abf3379 win32u: Move GetProgmanWindow implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban 62852dc503 win32u: Move SetProgmanWindow implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban c8f1d41183 win32u: Move NtUserSetShellWindowEx implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban 67c3fff7cd win32u: Move GetShellWindow implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban ae7effbd78 win32u: Move NtUserWaitMessage implementation from user32. 2022-12-09 17:52:25 +01:00
Eric Pouech 901c9b5997 wined3d: Get/set texture's level_count and lod as unsigned int.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-08 21:07:30 +01:00
Georg Lehmann 07761336d6 winevulkan: Update to VK spec version 1.3.237. 2022-12-08 20:32:10 +01:00
Hans Leidekker fa533f11e1 wofutil: Stub WofShouldCompressBinaries(). 2022-12-08 18:41:25 +01:00
Jacek Caban f5c8275329 win32u: Move NtUserGetInternalWindowPos implementation from user32. 2022-12-08 18:41:24 +01:00
Jacek Caban 026700027e win32u: Move NtUserRealChildWindowFromPoint implementation from user32. 2022-12-08 18:41:24 +01:00
Alex Henrie 926433faa3 include: Add corecrt_malloc.h. 2022-12-08 18:12:51 +01:00
Eric Pouech d73c71098e wined3d: Reduce usage of long integral types in surface.c. 2022-12-07 23:20:39 +01:00
Eric Pouech 68811881e6 wined3d: Reduce usage of long integral types in include/wined3d.h.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-07 23:20:39 +01:00
Alex Henrie 1a7efafbab include: Annotate ILC* functions with __WINE_(DEALLOC|MALLOC). 2022-12-07 23:20:39 +01:00
Alex Henrie dfb025c39e include: Annotate GdipAlloc with __WINE_(DEALLOC|MALLOC). 2022-12-07 23:20:23 +01:00
Alex Henrie 5e943f6e1a include: Annotate (Alloc|Realloc)ADs* with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC). 2022-12-07 20:27:26 +01:00
Alex Henrie b90f54b4b4 include: Annotate MFHeapAlloc with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC). 2022-12-07 20:27:26 +01:00
Alex Henrie 803c616f7e include: Annotate WSDAllocateLinkedMemory with __WINE_(ALLOC_SIZE|MALLOC). 2022-12-07 20:27:25 +01:00
Sven Baars f8a0716111 win32u: Pass the client instance to NtUserCreateWindowEx.
On 16-bit the module instance and client instance are different.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53568
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53646
2022-12-07 17:10:37 +01:00
Alexandre Julliard 7eef69e1fc include: Use proper dllimports for winsock functions. 2022-12-07 14:25:18 +01:00
Alexandre Julliard 55fc5c8ae8 include: Use proper dllimports for shell32 functions. 2022-12-07 14:16:10 +01:00
Alexandre Julliard 9be166e251 include: Use proper dllimports for wininet functions. 2022-12-07 14:16:10 +01:00
Alexandre Julliard 19b4814fd3 include: Use proper dllimports for winhttp functions. 2022-12-07 13:51:37 +01:00
Alexandre Julliard 83a378f1d1 include: Use proper dllimports for comdlg32 functions. 2022-12-07 13:51:37 +01:00
Alexandre Julliard c63f485379 include: Use proper dllimports for comctl32 functions. 2022-12-07 13:51:37 +01:00
Alexandre Julliard f9ee565c23 include: Use proper dllimports for crypt32 functions. 2022-12-07 13:51:37 +01:00
Alexandre Julliard 3de15569fe include: Use proper dllimports for OLE functions. 2022-12-07 13:51:37 +01:00
Alexandre Julliard 9fc9c91bf4 include: Use proper dllimports for rpcrt4 functions. 2022-12-07 13:51:37 +01:00
Alexandre Julliard 48aec00477 include: Use proper dllimports for shlwapi functions. 2022-12-07 13:51:37 +01:00
Alexandre Julliard d92b59717d include: Use proper dllimports for user32 functions. 2022-12-07 13:51:37 +01:00
Alexandre Julliard 402d50d5f9 include: Use proper dllimports for gdi32 functions. 2022-12-07 13:51:37 +01:00
Alexandre Julliard a1f0d535e0 include: Use proper dllimports for version functions. 2022-12-07 13:51:37 +01:00
Alexandre Julliard e5ac04db5c include: Use proper dllimports for lz32 functions. 2022-12-07 13:51:37 +01:00
Alexandre Julliard fcf5e8c45b include: Use proper dllimports for advapi32 functions. 2022-12-07 13:51:37 +01:00
Eric Pouech 0030023710 wined3d: Reduce usage of long integral types in palette.c.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-06 20:54:23 +01:00
Eric Pouech 286261f69e wined3d: Reduce usage of long integral types in vertexdeclaration.c.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-06 20:54:23 +01:00
Hans Leidekker 96692a2c21 bcrypt: Add support for PSS padding.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53972
2022-12-06 17:12:31 +01:00
Jacek Caban ecf31ba4c7 opengl32: Use default calling convention for WGL driver entry points. 2022-12-06 17:11:21 +01:00
Alex Henrie 1172e66e5b setupapi: Move prototypes not in Windows's setupapi.h to setupapi_private.h.
And delete the ones we don't need.
2022-12-06 17:04:50 +01:00
Alex Henrie 5d73304453 include: Annotate CreateThreadpool* with __WINE_(DEALLOC|MALLOC). 2022-12-06 17:04:50 +01:00
Hans Leidekker 6d01d01455 ncrypt: Implement NCryptSignHash().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53968
2022-12-06 17:04:50 +01:00
Hans Leidekker 07f9952a24 ncrypt: Implement NCryptExportKey().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53966
2022-12-06 17:04:50 +01:00
Alexandre Julliard 288da7c8db opengl32: Fix GLdouble type alignment on the Unix side. 2022-12-06 13:44:34 +01:00
Alex Henrie a6218a8145 include: Move wdbgexts.h from dbghelp to include.
This file is a public header in the Windows SDK.
2022-12-05 20:04:54 +01:00
Alexandre Julliard bef0969722 ntdll: Move the .so module initialization to winecrt0.
Use new ELF tag ids to avoid breaking backwards compatibility.
2022-12-04 22:00:43 +01:00
Alex Henrie c9dc3e1d4e include: Annotate SnmpUtilMem(Re)Alloc with __WINE_(DEALLOC|MALLOC). 2022-12-03 00:05:16 +01:00
Alex Henrie 68852827a1 include: Annotate ber_(alloc_t|bvdup|init) with __WINE_(DEALLOC|MALLOC). 2022-12-03 00:05:16 +01:00
Alexandre Julliard 92520c6a1a configure: Remove obsolete AL/al.h check. 2022-12-02 11:04:46 +01:00
Brendan Shanks 9207927d95 configure: Remove SystemConfiguration header check (always present on macOS). 2022-12-02 11:04:46 +01:00
Brendan Shanks c39e229163 configure: Remove Security.framework check (always present on macOS). 2022-12-02 11:04:46 +01:00
Brendan Shanks 6706784c33 configure: Remove Metal.framework check (present in all supported macOS SDKs). 2022-12-02 11:04:46 +01:00
Brendan Shanks 9645beb5c0 configure: Remove check for IOKit (always present on macOS). 2022-12-02 11:04:46 +01:00
Brendan Shanks ab8103e0e3 configure: Remove check for the HID Manager (always present on macOS). 2022-12-02 11:04:45 +01:00
Brendan Shanks c8f9ee0bf0 configure: Remove DiskArbitration.framework check (always present on macOS). 2022-12-02 11:04:45 +01:00
Brendan Shanks 8b415f8bb5 configure: Remove CoreAudio.h check (always present on macOS). 2022-12-02 11:04:45 +01:00
Brendan Shanks 40baab6444 configure: Remove Carbon.framework check (always present on macOS). 2022-12-02 11:04:45 +01:00
Brendan Shanks 650b6a9fc4 configure: Remove ApplicationServices.framework check (always present on macOS). 2022-12-02 11:04:45 +01:00
Eric Pouech 29c2bb54e2 wined3d: Set resource's priority field's type as unsigned int.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-02 11:04:45 +01:00
Eric Pouech 40179643c1 wined3d: Change wined3d_resource.usage field to uint32_t.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-02 11:04:45 +01:00
Alex Henrie ce7375725a include: Define __stat64.
Needed to compile Tera Term.
2022-12-01 20:36:04 +01:00
Alexandre Julliard 90adeb125f ntdll: Export the Unix call dispatcher function pointer. 2022-12-01 11:38:23 +01:00
Alex Henrie 57ce3b9190 include: Annotate WlanAllocateMemory with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC). 2022-12-01 10:24:15 +01:00
Gabriel Ivăncescu 4376a8c709 include/mshtmhst: Add CGID_ScriptSite and CMDIDs for it.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-30 20:48:20 +01:00
Connor McAdams c0360db561 uiautomationcore: Add UiaAddEvent stub.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-11-30 20:38:27 +01:00
Connor McAdams 41736eb554 uiautomationcore: Add UiaEventRemoveWindow stub.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-11-30 20:38:27 +01:00
Connor McAdams 9ea53ec2f6 uiautomationcore: Add UiaEventAddWindow stub.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-11-30 20:38:27 +01:00
Connor McAdams 922706bd1e uiautomationcore: Add UiaRemoveEvent stub.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-11-30 20:38:27 +01:00
Alex Henrie 41b4d9b301 include: Annotate I_RpcAllocate with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC). 2022-11-30 10:54:31 +01:00
Brendan Shanks a0a4c2fb3f include: Add __WINE_(DEALLOC|MALLOC) attributes to wine_get_(dos|unix)_file_name. 2022-11-29 21:33:58 +01:00
Alex Henrie 93a2fb604f include: Annotate StrDup[AW] with __WINE_MALLOC and __WINE_DEALLOC. 2022-11-29 21:33:58 +01:00
Alex Henrie 3d8a412a90 include: Add shobjidl_core.idl.
Needed to compile Tera Term.
2022-11-29 21:33:58 +01:00
Jacek Caban 6b2da0bab9 win32u: Move NtUserPrintWindow implementation from user32. 2022-11-29 12:50:22 +01:00
Jacek Caban ae984f630b win32u: Move NtUserValidateRect implementation from user32. 2022-11-29 12:50:20 +01:00
Jacek Caban 8bdfe2be19 win32u: Move NtUserGetWindowDC implementation from user32. 2022-11-29 12:50:19 +01:00
Jacek Caban be6f5ed95a win32u: Move NtUserGetDC implementation from user32. 2022-11-29 12:50:16 +01:00
Gabriel Ivăncescu 60279d0d5a include/mshtml: Add IHTMLXDomainRequest and factory interfaces and classes.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-28 21:01:55 +01:00
Eric Pouech a71526bb07 wined3d: Set flag types to uint32_t (external definitions).
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-28 11:33:01 +01:00
Alexandre Julliard 7c0b3a408c winecrt0: Call __wine_unix_call through an explicit pointer in the helper macro. 2022-11-25 10:31:00 +01:00
Alexandre Julliard 1d036c0493 winecrt0: Add a helper function and macro to simplify Unix library usage. 2022-11-24 10:25:52 +01:00
Anton Baskanov ef127f1243 wined3d: Factor out and expose functions to map/unmap wined3d_streaming_buffer. 2022-11-24 09:19:52 +01:00
Jacek Caban c2a43defec win32u: Don't use CDECL for __wine_get_wgl_driver. 2022-11-23 18:04:28 +01:00
Anton Baskanov 5a80ace060 include: Add MFSampleExtension_Discontinuity to mfapi.h. 2022-11-23 11:00:43 +01:00
Georg Lehmann 8ef4a31116 winevulkan: Update to VK spec version 1.3.235. 2022-11-22 21:51:25 +01:00
Biswapriyo Nath 0d294ad265 include: Add Stg functions declaration in propvarutil.h. 2022-11-22 18:27:31 +01:00
Piotr Caban 1cf1412a12 gdi32: Get printer output file name in StartDoc. 2022-11-22 18:27:30 +01:00
Santino Mazza f51c752c43 kernelbase: Create GetGeoInfoEx stub. 2022-11-22 18:27:30 +01:00
Alexandre Julliard 74a5851ef4 ntdll: Use int instead of long types in a few places.
To avoid typecasts in debug traces.
2022-11-21 18:03:53 +01:00
Nikolay Sivov ce91ef6426 kernelbase: Add SetProcessInformation().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53954
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-21 13:09:41 +01:00
Mohamad Al-Jaf efcaa605f7 include/windowscontracts: Bump contractversion to 14. 2022-11-21 12:59:49 +01:00
Akihiro Sagawa 6521c09d3a include: Fix typo in IN4ADDR_LOOPBACK_INIT. 2022-11-18 17:33:49 +01:00
Etaash Mathamsetty 38577522ea ntoskrnl.exe: Implement KeQueryMaximumProcessorCount/Ex. 2022-11-18 14:00:04 +01:00
Bernhard Kölbl d95885ba0b include: Add GUIDs for video decoder profiles. 2022-11-16 21:24:19 +01:00
Alexandre Julliard a1c8232b33 include: Remove custom/undocumented language identifiers.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-11-16 21:24:18 +01:00
Hans Leidekker d08d6f5104 wldap32: Use the bundled liblber and libldap. 2022-11-15 21:21:27 +01:00
Alex Henrie 6cf63877c5 include: Add wspiapi.h.
Needed to compile Tera Term.
2022-11-14 17:38:42 +01:00
Erich E. Hoover 71afae901f ntdll: Add support for FreeBSD style extended attributes.
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2022-11-14 13:17:31 +01:00
Alex Henrie 7c2af26a62 include: Include limits.h in stdlib.h.
Needed to compile Tera Term.
2022-11-14 13:17:31 +01:00
Alex Henrie a17f55f287 ws2_32: Add in[46]addr_* constants to import library.
Needed to compile Tera Term.
2022-11-14 13:13:02 +01:00
Alex Henrie dc7f972896 include: Add IN6ADDR_*_INIT to ws2ipdef.h. 2022-11-14 13:13:02 +01:00
Alex Henrie debc5c4961 include: Add IN4ADDR_*_INIT to mstcpip.h. 2022-11-14 13:13:02 +01:00
Anton Baskanov c7f6dc641d wined3d: Introduce a new flag to indicate that indirect draws won't be used. 2022-11-14 13:13:01 +01:00
Connor McAdams af0c9d0b7c uiautomationcore: Add UiaFind stub.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-11-14 13:13:01 +01:00
Mohamad Al-Jaf 7e60043fa2 mscoree: Add StrongNameTokenFromAssembly stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53296
2022-11-14 13:13:01 +01:00
Alexandre Julliard 81cba2af81 include: Disable some inline kernelbase functions when building Unix libraries. 2022-11-14 13:13:01 +01:00
Paul Gofman 17328f4f5c ntdll: Support specified alignment in NtAllocateVirtualMemoryEx(). 2022-11-11 17:21:18 +01:00
Alexandre Julliard a72c7bbc0c ntdll: Add a Wine-specific process info class for the LDT copy. 2022-11-11 11:56:45 +01:00
Georg Lehmann 0a2bffa74a winevulkan: Fix handling bitmasks in needs_alignment. 2022-11-11 11:14:35 +01:00
Paul Gofman 7e8bb68f95 ntdll: Support HighestEndingAddress in NtAllocateVirtualMemoryEx(). 2022-11-10 22:00:35 +01:00
Jacek Caban 8463c4f123 winevulkan: Fix handling unions in needs_alignment(). 2022-11-10 22:00:34 +01:00
Etaash Mathamsetty c212987dc5 ntoskrnl.exe: Implement KeInitializeGuardedMutex. 2022-11-10 09:49:31 +01:00
Alexandre Julliard 45eca854c4 openal32: Remove dll.
It's not part of Windows, so applications have to ship the native
version anyway.
2022-11-09 21:23:41 +01:00
Alexandre Julliard 988d9ddbf5 ntdll: Don't inline NtCurrentTeb() in Unix libraries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-11-09 21:10:29 +01:00
Alex Henrie f7e1bb9f36 include: Define PROPSHEETPAGE[AW]_V[1-4].
Needed to compile Tera Term.
2022-11-09 10:41:51 +01:00
Gabriel Ivăncescu 4bd8339de9 include: Add CLSID_XHTMLDocument and CLSID_SVGDocument.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-08 20:09:13 +01:00
Gabriel Ivăncescu 2a5d096f2c include: Add IDOMParser interface, dispinterface, and coclass.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-08 20:09:13 +01:00
Brendan Shanks d3416d9081 ntdll: Add a Wine-specific THREADINFOCLASS to set just the native thread name. 2022-11-07 21:13:32 +01:00
Alex Henrie bae772695e include: Add sdkddkver.h.
Needed to compile Tera Term.
2022-11-07 21:13:31 +01:00
Martin Storsjö f760976803 ntdll: Add ARM EHABI unwind instructions in assembly functions.
On most ELF platforms on ARM, ARM EHABI is the unwind info
format normally used, instead of DWARF like on most other platforms.

Currently, when unwinding through ELF objects with libunwind, the
libraries don't have any .eh_frame section mapped at runtime (since
DWARF isn't used for unwinding). Instead, what happens is that
libunwind ends up loading .debug_frame from the libraries on disk
instead.

Therefore, currently, ELF unwinding relies on the .so files not being
stripped.

This patch adds the necessary EHABI unwinding instructions in the
assembly functions that currently have DWARF CFI instructions.

EHABI isn't signaled via any specific preprocessor macro, but
is signaled by the absence of other unwind mechanisms (such
as __ARM_DWARF_EH__ and __SEH__, or maybe SjLj).

Mark the asm functions in the preloaders as .cantunwind, to avoid
undefined references to __aeabi_unwind_cpp_pr* functions.

Also mark other assembly functions as .cantunwind; for
signal_exit_thread this is essential if the function is marked
with .fnstart/.fnend - otherwise exiting threads does hang.
(pthread_exit internally calls _Unwind_ForcedUnwind, which would
hang if signal_exit_thread had .fnstart without any matching unwind
info).

This would, in principle, allow unwinding through these functions with
libunwind, for versions of libunwind that can parse the EHABI unwind
info - see e.g.
4d779f55c0.
(This commit isn't yet in any current release AFAIK). Unwinding with
EHABI via libunwind would require a few tweaks to the libunwind interface
usage in unix/signal_arm.c though, since e.g. the unw_get_proc_info call
fails if there's no .eh_frame or .debug_frame available.

Signed-off-by: Martin Storsjö <martin@martin.st>
2022-11-07 10:28:18 +01:00
Paul Gofman 0aacfd6861 include: Add windows.gaming.ui.idl. 2022-11-04 19:23:56 +01:00
Zhiyi Zhang c196d2462d user32: Hook drawing menu buttons. 2022-11-04 19:23:55 +01:00
Rémi Bernon dec91f0631 opengl32: Introduce a new NtUserCallOpenGLDebugMessageCallback callback. 2022-11-04 19:23:55 +01:00
Paul Gofman d656cb2024 ws2_32: Track SO_EXCLUSIVEADDRUSE option value. 2022-11-04 19:23:54 +01:00
Georg Lehmann c3769732f8 winevulkan: VkDeviceAddress needs alignment. 2022-11-03 18:33:09 +01:00
Georg Lehmann b04d09158f winevulkan: Update to VK spec version 1.3.233. 2022-11-03 18:33:09 +01:00
Alex Henrie 5f46d556fe include: Add wcsncat_s.
Needed to compile Tera Term.
2022-11-03 18:33:09 +01:00
Alex Henrie d24cbd1165 include: Add freopen_s.
Needed to compile Tera Term.
2022-11-03 18:33:09 +01:00
Alex Henrie 01777127cf include: Add _splitpath_s.
Needed to compile Tera Term.
2022-11-03 18:33:09 +01:00
Alex Henrie abf03748af include: Include minidumpapiset.h in imagehlp.h.
Needed to compile Tera Term.
2022-11-02 17:20:20 +01:00
Rémi Bernon 2fec6dd3e3 win32u: Add is_primary parameter to GetCurrentDisplaySettings. 2022-11-01 20:46:23 +01:00
Rémi Bernon 6aeaeed9fb win32u: Add primary adapter name parameter to ChangeDisplaySettings. 2022-11-01 20:46:22 +01:00
Connor McAdams 4ed9f4c2c5 uiautomationcore: Add UiaNavigate stub.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-11-01 17:50:59 +01:00
Bartosz Kosiorek 7984319248 msvcrt: Add _mbcjmstojis_l implementation. 2022-10-31 20:41:45 +01:00
Nikolay Sivov 645326214f user32: Add DragObject() stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53768
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-10-31 20:41:45 +01:00
Nikolay Sivov 9cd5bc0d86 kernelbase: Add QueryVirtualMemoryInformation().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-10-31 20:41:44 +01:00
Nikolay Sivov fc5cb9b577 ntdll: Partially implement MemoryRegionInformation query.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-10-31 20:41:44 +01:00
Paul Gofman 162101bcb3 win32u: Move NtUserDisplayConfigGetDeviceInfo implementation from user32. 2022-10-31 12:12:15 +01:00
Piotr Caban f590f72eed compstui: Add CPSFUNC_ADD_PROPSHEETPAGE support. 2022-10-31 12:11:55 +01:00
Nikolay Sivov f054d2ab58 kernelbase: Make sure to provide a message for missing information classes in GetFileInformationByHandleEx().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-10-31 12:11:55 +01:00
Bartosz Kosiorek 2f26b02fd2 gdiplus: Add GdipGetPenCompoundArray implementation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52196
2022-10-31 12:11:55 +01:00
Connor McAdams 2de6b5719e uiautomationcore: Add UiaGetUpdatedCache stub.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-10-25 21:33:56 +02:00
Nikolay Sivov 853d9024b7 ntdll: Add some already implemented security descriptor exports.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-10-25 11:01:42 +02:00
Mihail Ivanchev 10e7c824e0 include: Add prototype for ReOpenFile().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53821
2022-10-24 11:13:06 +02:00
Alex Henrie 7d85693750 include: Add _putenv_s.
Needed to compile Tera Term.
2022-10-20 18:30:14 +02:00
Alex Henrie 5235526b16 include: Move strto[iu]max(_l) from stdlib.h to inttypes.h.
Needed to compile PuTTY.
2022-10-19 18:48:54 +02:00
Alex Henrie e9ff761d51 include: Add WSANO_ADDRESS to winsock2.h.
Needed to compile Tera Term.
2022-10-18 17:57:28 +02:00
Alex Henrie fc636b7f45 include: Add TOOLINFO[AW].
Needed to compile Tera Term.
2022-10-17 11:23:34 +02:00
Daniel Lehman 0a02b6a86a ntdll: Implement NtCancelSynchronousIoFile.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
2022-10-17 11:22:41 +02:00
Daniel Lehman 05d00d5e78 ntdll: Add NtCancelSynchronousIoFile stub.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
2022-10-17 11:22:26 +02:00
Huw Davies fad925d582 nsi: Update struct nsi_tcp_conn_dynamic for Windows 11. 2022-10-14 21:52:55 +02:00
Alex Henrie 8aef70a997 include: Add LV_COLUMN[AW].
Needed to compile Tera Term.
2022-10-14 18:00:59 +02:00
Huw Davies 673da9cdec nsi: Use the correct members for the error and discard counts.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=53234
2022-10-13 15:20:27 +02:00
Paul Gofman 51e1c70695 include/windows.devices.enumeration: Define DeviceAccessInformation class. 2022-10-13 10:37:40 +02:00
Connor McAdams 890faf87dd uiautomationcore: Implement UiaDisconnectProvider.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-10-12 15:46:57 +02:00
Alistair Leslie-Hughes 64c930ab3e include: Add missing SP defines.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49775
2022-10-11 12:00:14 +02:00
Paul Gofman 71f58158c1 wintrust: Load secondary signatures in SoftpubLoadSignature(). 2022-10-11 11:42:41 +02:00
Erich E. Hoover 1cd1a28670 ntdll: Implement retrieving DOS attributes in [fd_]get_file_info().
Co-authored-by: Joel Holdsworth <joel@airwebreathe.org.uk>
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2022-10-10 12:23:14 +02:00
Hugh McMaster 627f2b3557 kernelbase: Return full title length from GetConsoleTitle(). 2022-10-10 11:19:44 +02:00
Alex Henrie 7d223c5326 include: Fix typos in NIN_BALLOON*.
Needed to compile Tera Term.
2022-10-10 11:16:20 +02:00
Alex Henrie 9d2b879d17 include: Fix typo in LR_VGACOLOR.
Needed to compile Tera Term.
2022-10-10 11:15:52 +02:00
Nikolay Sivov c083b2edcf include: Add IActiveDesktop definition.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-10-10 11:11:43 +02:00
Nikolay Sivov 8957d74b99 include: Change include guard for wininet.h.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-10-10 11:11:43 +02:00
Gabriel Ivăncescu 797030483e include/mshtml: Move some forward interface declarations to match Windows SDK.
Currently, these forward declarations make widl add IHTMLDocument2's `URL`
symbol before the other, lowercased, `url` symbols to the type library
(from IHTMLMetaElement, IDOMStorageEvent, etc). Since the typelib symbols
are case insensitive, `URL` ends up stored instead of `url`, which doesn't
match native.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-29 17:59:17 +02:00
Georg Lehmann 98f91b30ed winevulkan: Update to VK spec version 1.3.230. 2022-09-29 12:36:05 +02:00
Francois Gouget 8bfb1ecf25 tests: Print unhandled exception messages in colour.
Note that quite often the unhandled exception messages actually come
from Windows or Wine and these cannot be colorized.
2022-09-28 21:43:44 +02:00
Eric Pouech a014f19bdd winedump: Dump PDB public symbols' stream.
Add relevant structures to include/mscvpdb.h.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-27 18:29:34 +02:00
Eric Pouech 805ffc8adb winedump: Dump global hash table out of PDB symbols' stream.
Introduce relevant structures in include/wine/msvcpdb.h.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-27 18:29:27 +02:00
Alexandre Julliard c19f88646a tests: Do not report flaky tests as failures by default. 2022-09-26 21:49:53 +02:00
Francois Gouget e28d24621d tests: Make sure only one thread prints traces at a time.
Some Wine tests are multi-threaded or start child processes which can
result in traces and failure messages being garbled which prevents them
from being recognized by continuous integration tools.
So printing the test messages is now serialized. Note that if a process
crashes while holding the mutex, that mutex will be abandoned and not
cause a deadlock.
2022-09-26 21:49:47 +02:00
Rémi Bernon 981d59264f win32u: Move enumeration of available modes out of graphics drivers. 2022-09-23 15:16:48 +02:00
Santino Mazza 8230742016 include: Define REG_APP_HIVE and REG_PROCESS_PRIVATE. 2022-09-22 17:58:12 +02:00
Jacek Caban 4467589a4a win32u: Introduce NtUserSendDriverMessage.
And use it in display drivers.
2022-09-20 20:52:56 +02:00
Nikolay Sivov 307eae20a6 include: Add windows.security.cryptography.idl.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-20 09:28:35 +02:00