Commit graph

16541 commits

Author SHA1 Message Date
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
Connor McAdams 41dd89a8e4 uiautomationcore: Implement UiaNodeFromHandle.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-09-20 09:27:29 +02:00
Nikolay Sivov 42e21bc5df include: Add windows.system.threading.idl.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-20 09:26:08 +02:00
Nikolay Sivov 1ceba3533e kernelbase: Add MapViewOfFileFromApp().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-19 20:11:37 +02:00
Nikolay Sivov 3ede82e2a8 kernelbase: Add CreateFileMappingFromApp().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-19 20:11:36 +02:00
Nikolay Sivov 40d0e55d4c kernelbase: Add OpenFileMappingFromApp().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-19 20:11:35 +02:00
Henri Verbeet 7d20333faf d3d11: Implement d3d11_input_layout_to_wined3d_declaration() on top of vkd3d_shader_parse_input_signature().
This was originally prompted by the fact that
wined3d_extract_shader_input_signature_from_dxbc() allocates elements with
HeapAlloc(), but d3d11_input_layout_to_wined3d_declaration() attempts to free
them with free(). That's a regression introduced by commit
b951c37b87. Since we're touching the code
though, we may as well use vkd3d_shader_parse_input_signature(), and get rid
of wined3d_extract_shader_input_signature_from_dxbc().
2022-09-15 22:33:10 +02:00
Mohamad Al-Jaf 437bdce96c include: Add winusb.h file.
Signed-off-by: Mohamad Al-Jaf <mohamadaljaf@gmail.com>
2022-09-15 17:45:26 +02:00
Georg Lehmann a37b4832bc winevulkan: Update to VK spec version 1.3.228. 2022-09-15 13:47:45 +02:00
Jinoh Kang d5f5834735 include: Define atomic read/write helpers for 32-bit integers.
Based on the corresponding functions from Windows SDK header files.

Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-09-15 13:47:45 +02:00
Gabriel Ivăncescu f9bda73b99 include: Add IDOMStorageEvent and DispDOMStorageEvent interfaces.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-14 22:38:35 +02:00
Julian Klemann 5bc764d9d5 include/windows.devices.enumeration: Define IDeviceInformationStatics2.
This includes any remaining dependencies.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53328
2022-09-14 22:38:34 +02:00
Julian Klemann 1f030a7534 include/windows.devices.enumeration: Update file to newer formatting.
Remove nested namespaces and forward declares, add comma to last entry
of enums.
2022-09-14 22:38:34 +02:00
Rémi Bernon bd8de2a882 win32u: Introduce a new internal WINE_DM_UNSUPPORTED display flag. 2022-09-13 22:07:22 +02:00
Hans Leidekker 6f5028dd03 bcrypt: Add full support for algorithm pseudo-handles. 2022-09-13 16:22:20 +02:00
Paul Gofman f527e4a694 advapi32: Add stub for PerfQueryCounterData(). 2022-09-13 12:54:54 +02:00
Paul Gofman 7e7580145d advapi32: Add stub for PerfAddCounters(). 2022-09-13 12:54:53 +02:00
Paul Gofman a5921e715c advapi32: Add stub for PerfOpenQueryHandle(). 2022-09-13 12:54:52 +02:00
Paul Gofman f83181587d advapi32: Add stub for PerfCloseQueryHandle(). 2022-09-13 12:54:51 +02:00
Gijs Vermeulen 4f90e88d0b dbghelp: Add SymSrvGetFileIndexInfo stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48600
2022-09-12 17:28:23 +02:00
Eric Pouech 26f2b48a47 winedump: Harden reading PDB string table stream.
Introduce struct PDB_STRING_TABLE to describe string table's header.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-12 17:28:23 +02:00
Santino Mazza 92b2329da9 ntdll: Create NtLoadKeyEx syscall stub.
Signed-off-by: Santino Mazza <smazza@codeweavers.com>
2022-09-09 23:21:58 +02:00
Chris Denton 5df4ff1341 bcrypt: Add basic support for pseudo-handles.
Support constant values for algorithm handles in `BCryptGenRandom` and make no attempt to dereference such handles.
2022-09-09 23:21:40 +02:00
Stefan Dösinger c7e57bc514 include/test.h: Don't use \e.
Msvc does not support it.
2022-09-07 20:07:19 +02:00
Stefan Dösinger 802016d0eb include/test.h: Don't use strcasecmp.
Fixes building tests in Visual Studio with msvc's own crt headers.
2022-09-07 20:07:19 +02:00
Rémi Bernon 1f9ece9e32 include: Add more WMV media subtypes to wmcodecdsp.idl. 2022-09-06 21:40:39 +02:00
Rémi Bernon 56d75c134c include: Add WMV encoder / decoder DMO class ids to wmcodecdsp.idl. 2022-09-06 21:40:39 +02:00
Rémi Bernon f4970d8e3b include: Remove unnecessary semicolons from wmcodecdsp.idl. 2022-09-06 21:40:39 +02:00
Rémi Bernon e74fd23832 include: Declare AudioResamplerMediaObject and MP3DecMediaObject class ids in mfidl.idl. 2022-09-06 21:40:39 +02:00
Francois Gouget f9b836b1c1 tests: Allow marking unreliable tests as flaky. 2022-09-06 21:40:39 +02:00
Eric Pouech f20b892ed9 include: Enable ANSI support in console for WINETEST_COLOR.
This lets WINETEST_COLOR works under Windows console (at least, on recent
versions where ANSI support is available).

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-05 13:38:52 +02:00
Rémi Bernon 12d0792f74 win32u: Move display placement logic out of graphics drivers. 2022-09-02 17:53:15 +02:00
Georg Lehmann 74e6ec1eab winevulkan: Update to VK spec version 1.3.226.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
2022-09-01 17:46:04 +02:00
Alexandre Julliard 3028136221 include: Always use the standard varargs macros. 2022-09-01 10:24:20 +02:00
Alexandre Julliard 65ad7fcdab include: Add a va_list version of the wine_dbg_log function. 2022-09-01 10:15:39 +02:00
Connor McAdams 1f86e2c6d9 uiautomationcore: Implement UiaHUiaNodeFromVariant.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-08-31 21:51:11 +02:00
Connor McAdams 0520531c52 uiautomationcore: Partially implement UiaGetRuntimeId.
Add RuntimeId support for HUIANODEs associated with an HWND.

Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-08-31 21:51:08 +02:00
Connor McAdams 3106380d58 include: Add IRawElementProviderHwndOverride definition.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-08-31 21:51:08 +02:00
Connor McAdams de6f778915 include: Add more definitions to uiautomationcoreapi.h.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-08-31 21:51:07 +02:00
Francois Gouget b886f6198b mscvpdb: Fix a spelling error in a comment. 2022-08-30 22:00:55 +02:00
Zebediah Figura 099f84c4f0 include: Add list_move_after() and list_move_before().
Cherry-picked from vkd3d commit a2996c2d59b140a0a92efc85d43c8f9b59540a12.
2022-08-30 21:38:39 +02:00
Henri Verbeet 57c9bc9056 include: Avoid _t-suffixes.
The _t-suffix is reserved by POSIX.

Cherry-picked from vkd3d commit 78c203b395b1fa4b5918cf881ebba8e9d47ae997.
2022-08-30 21:38:39 +02:00
Alexandre Julliard 96742389f6 include: Add va_list version of the debug printf functions. 2022-08-30 18:33:23 +02:00
Alexandre Julliard 4d0468e316 include: Simplify handling of va_list in debug printf functions. 2022-08-30 18:33:20 +02:00
Bernhard Kölbl 958b3da947 include/windows.media.speechsynthesis.idl: Add missing interfaces to SpeechSynthesizerOptions runtimeclass.
And their dependencies.
2022-08-29 20:04:17 +02:00
Jacek Caban 3ba583fde8 win32u: Introduce NtUserActivateOtherWindow.
And use it instead of WINPOS_ActivateOtherWindow.
2022-08-27 16:53:30 +02:00
Jacek Caban 803a5f0789 win32u: Move NtUserPerMonitorDPIPhysicalToLogicalPoint implementation from user32. 2022-08-27 16:53:28 +02:00
Jacek Caban 352e24dcdf win32u: Move NtUserLogicalToPerMonitorDPIPhysicalPoint implementation from user32. 2022-08-27 16:53:27 +02:00
Nikolay Sivov 43e70580f4 mfplat/tests: Add some tests for legacy media type conersion functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-27 16:53:09 +02:00
Martin Storsjö fcb553ffc2 bcrypt: Fix the non-PE build after ECDH_P384 was added.
This fixes non-PE builds after
5253c8d77e.

Signed-off-by: Martin Storsjö <martin@martin.st>
2022-08-24 09:04:56 -05:00
Hans Leidekker 5253c8d77e bcrypt: Support ECDH_P384 key import/export. 2022-08-23 09:40:56 -05:00
Jacek Caban 577fbb0ff1 user32: Move dialog proc getting implementation from win32u. 2022-08-18 21:42:26 +02:00
Piotr Caban 74dded1154 include: Update ddk/compstui.h header. 2022-08-17 19:21:08 +02:00
Matteo Bruni 1f8431658e wined3d: Introduce WINED3DUSAGE_MANAGED.
We would like to use two different textures for the CPU and GPU parts of managed
textures, which means that wined3d_resource_access_is_managed() as such will no
longer be useful.
2022-08-16 22:27:53 +02:00
Jacek Caban 6d8b1887a5 wow64win: Implement more user callbacks. 2022-08-16 22:27:53 +02:00
Jacek Caban caad167278 win32u: Use a client copy of windows hook lparam when calling hook procs.
Instead of leaking kernel pointers.
2022-08-16 22:27:53 +02:00
Jacek Caban 439cdf4901 win32u: Move more logic from dispatch_win_proc_params. 2022-08-15 18:15:19 +02:00
Nikolay Sivov 73d6ca6e1e mfsrcsnk: Add a stub dll.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-15 18:14:01 +02:00
Jacek Caban 40dbc84913 win32u: Use NtUserCallMessage for passing packed winproc result. 2022-08-12 22:12:32 +02:00
Nikolay Sivov 8aca379966 mf: Add archive sink creation exported functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-11 16:51:06 +02:00
Jacek Caban 701932a6ce wow64win: Add initial user callbacks support. 2022-08-11 16:50:55 +02:00
Jacek Caban 2f0c2684b2 include: Use RtlSetLastWin32Error in server.h. 2022-08-10 19:24:12 +02:00
Zhiyi Zhang bc712170a5 include: Add IMediaParams definitions.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-08-10 11:35:29 +02:00
Nikolay Sivov da581d383d mfplat: Add some attributes related to transcoding.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-09 21:07:47 +02:00
Jacek Caban 2c75490c3e win32u: Use NtUserMessageCall for NtUserSpyGetMsgName.
Instead of leaking a kernel pointer.
2022-08-09 15:55:44 +02:00
Jacek Caban 8bb71922a5 win32u: Store thread info in 64-bit TEB on wow64. 2022-08-09 15:55:44 +02:00
Jacek Caban 1e9390e558 win32u: Use platform-independent layout for ntuser_thread_info. 2022-08-09 15:55:43 +02:00
Jacek Caban 2b6647cdd5 win32u: Use platform-independent layout for DC_ATTR. 2022-08-09 15:55:43 +02:00
Nikolay Sivov 6ed5d85121 include: Fix ID2D1CommandSink::DrawImage() prototype.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-09 15:53:25 +02:00
Eric Pouech 1cbbbd9d73 test.h: WINETEST_COLOR=auto only outputs colors to a TTY.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-08-08 18:49:28 +02:00
Jacek Caban 1e640b5e7f user32: Don't include ntuser_private.h. 2022-08-08 18:47:45 +02:00
Jacek Caban eb317d9d8c win32u: Store receive_flags in ntuser_thread_info. 2022-08-08 18:47:45 +02:00
Jacek Caban ca903a4a16 win32u: Move msg_source and recursion_count to ntuser_thread_info. 2022-08-08 18:47:45 +02:00
Jacek Caban da2c400edc win32u: Store wmchar_data in ntuser_thread_info. 2022-08-08 18:47:44 +02:00
Jacek Caban f390b5b884 win32u: Store DPI awareness in ntuser_thread_info. 2022-08-08 18:47:44 +02:00
Jacek Caban ed693f5b32 win32u: Move builtin classes registration from user32. 2022-08-08 18:47:44 +02:00
Rémi Bernon 82a77607da win32u: Split EnumDisplaySettingsEx into CurrentDisplaySettings entry. 2022-08-08 18:47:31 +02:00
Alistair Leslie-Hughes 6a09b45a01 include: Add coclass SpMMAudioEnum.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
2022-08-05 20:14:41 +02:00
Shaun Ren dfd6cb9768 webservices: Detect when a message contains a fault in read_envelope_start.
Signed-off-by: Shaun Ren <sren@codeweavers.com>
2022-08-05 20:14:41 +02:00
Jacek Caban 929694c66d user32: Remove USER_CheckNotLock.
It's no longer interesting. Its remaining callers are not used by locked code, which is restricted to win32u.
2022-08-05 20:13:33 +02:00
Jacek Caban 421fb1c804 win32u: Introduce NtUserGetChildRect.
And use it in CalcChildScroll.
2022-08-05 20:13:33 +02:00
Jacek Caban c0b62eb5ae user32: Use win32u to get and set MDI client info. 2022-08-05 20:13:33 +02:00
Jacek Caban 224a8fc24e win32u: Introduce NtUserGetWindowSysSubMenu.
And use it for MDI client implementation.
2022-08-05 20:13:33 +02:00
Nikolay Sivov bb83067bd7 include: Add newer D2D command sink interface definitions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-04 19:00:00 +02:00
Georg Lehmann d493fab3e8 winevulkan: Update to VK spec version 1.3.224.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
2022-08-04 18:59:54 +02:00
Connor McAdams 3079c6beba include: Add UI Automation COM client interface definitions.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-08-03 17:54:39 +02:00
Connor McAdams c97933fe95 include: Add UI Automation Event ID definitions.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-08-03 17:54:39 +02:00
Santino Mazza 4a395899ea bcrypt/tests: Test for BCryptEncrypt with RSA keys.
Signed-off-by: Santino Mazza <mazzasantino1206@gmail.com>
2022-08-03 15:09:02 +02:00
Shaun Ren ac90bc1e16 webservices: Support faults in error.
Signed-off-by: Shaun Ren <sren@codeweavers.com>
2022-08-03 15:09:02 +02:00
Shaun Ren da77cc8cfd webservices: Implement error strings.
Signed-off-by: Shaun Ren <sren@codeweavers.com>
2022-08-03 15:08:00 +02:00
Nikolay Sivov f01852756d include: Fix ID2D1CommandSink definition.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-03 15:07:27 +02:00
Zebediah Figura 5b1bb09bbd include: Print "test succeeded" messages in colour. 2022-08-02 21:49:55 +02:00
Zebediah Figura 2bf75f9106 include: Print "test skipped" messages in colour. 2022-08-02 21:49:55 +02:00
Zebediah Figura 90cdc49d26 include: Print "test marked todo" messages in colour. 2022-08-02 21:49:54 +02:00
Zebediah Figura 05386fd0ac include: Print "succeeded inside todo block" messages in colour. 2022-08-02 21:49:54 +02:00
Rafał Harabień 549969a6fb include: Allow printing test failure messages in bright red.
Colours are disabled by default, and can be enabled using WINETEST_COLOR=1.
2022-08-02 21:49:54 +02:00
Zebediah Figura 0ee74e9f81 d3d9: Cache the output mode list.
Garou: Mark of the Wolves calls IDirect3D9::GetAdapterModeCount() on every
frame. This results in calling EnumDisplaySettingsExW() once per available mode,
which is a very slow operation, both on Windows and Wine.

Manual testing shows that Windows caches the mode list (as well as the adapter
list, which is already cached in Wine) in Direct3D 9 and lower. Calls to
GetAdapterModeCount() and EnumAdapterDisplayModes() are fast, and they also do
not change if monitors are added or removed.

DXGI behaves differently, however. The list of outputs attached to an adapter is
cached—that is, calls to IDXGIAdapter::EnumOutputs() are fast, and return stale
data. However, at least some other calls are slow and do not seem to be cached,
including IDXGIOutput::GetDisplayModeList() and IDXGIOutput::GetDesc().

ddraw is also slow and uncached. Since all testing was done on Windows 10 (for
lack of available older hardware to test with) it is not unlikely that ddraw was
reimplemented over dxgi on newer Windows, and that older Windows versions would
be fast and cached, but this is speculation. In any case I have not included
patches to cache ddraw modes.

Tests were done on Windows 10 21H2, both on real hardware with NVidia drivers
and on software drivers via qemu/KVM. In the latter case only speed could be
tested, but this was consistent with the results from the NVidia machine.
2022-08-02 21:49:54 +02:00
Zebediah Figura 95352c096f wined3d: Build a list of wined3d_display_mode structures in wined3d_output_get_mode[_count](). 2022-08-02 21:49:54 +02:00
Gabriel Ivăncescu 434f9f1404 include: Add DOMDocumentType dispinterface and coclass.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-07-29 18:56:04 +02:00
Gabriel Ivăncescu fbefdd6753 include: Add IHTMLDOMNode3 to the HTMLDOMNode dispinterfaces.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-07-29 18:56:03 +02:00
Rémi Bernon 1587e9db88 win32u: Implement NtUserGetRegisteredRawInputDevices on the client side. 2022-07-28 20:08:58 +02:00
Alexandre Julliard 872dc83e81 makefiles: List all headers in the makefile.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-28 17:46:50 +02:00
Jacek Caban fa7aaca9f1 win32u: Remove no longer needed exports. 2022-07-28 17:34:03 +02:00
Jacek Caban 3dc3709f4c win32u: Introduce NtUserGetDialogProc.
And use it in user32 instead of DEFDLG_GetDlgProc.
2022-07-28 17:34:03 +02:00
Jacek Caban 1cd5702d9f win32u: Introduce NtUserGetDialogInfo and NtUserSetDialogInfo.
And use it instead of accessing window object from user32.
2022-07-28 17:34:03 +02:00
Jacek Caban 11657aab27 user32: Avoid using WIN_GetPtr for window handle validation.
We will eventually want to make GetWindowThreadProcessId fast (probably based on shared handle table) instead of calling win32u.
2022-07-28 17:34:03 +02:00
Jacek Caban 68bb2f62e9 winevulkan: Remove __wine_get_vulkan_driver PE entry point. 2022-07-27 23:07:07 +02:00
Rémi Bernon 20414797ed win32u: Introduce new add_mode device manager callback.
And use it to enumerate display modes in winex11 and wineandroid.
2022-07-27 23:07:06 +02:00
Claire Girka f7f109d9d3 setupapi: Add support for SPDRP_BASE_CONTAINERID. 2022-07-25 11:22:27 +02:00
Francois Gouget 04c7ff2c2f include: Add some SPI_ constants.
They pop up in some failure messages.

Signed-off-by: Francois Gouget <fgouget@free.fr>
2022-07-25 09:38:26 +02:00
Jacek Caban 88462d9127 win32u: Get rid of no longer needed NtUserSetCallbacks. 2022-07-21 23:03:29 +02:00
Jacek Caban 2ef6a6eee6 win32u: Remove no longer needed NtUserDispatchMessageA. 2022-07-21 23:03:29 +02:00
Jacek Caban 26a4fb74ee user32: Avoid using NtUserDispatchMessage in DispatchMessage.
When possible, call window proc on PE side to allow unwinding exceptions through DispatchMessageW call.
2022-07-21 23:03:29 +02:00
Connor McAdams 93d6b5a4ff include: Add CUIAutomationRegistrar definition.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-07-21 20:22:21 +02:00
Zhiyi Zhang 4e23e412ea include: Add IMediaParamInfo definition.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-07-20 22:33:44 +02:00
Connor McAdams bc584afad9 uiautomationcore: Implement UiaNodeRelease.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-07-19 11:06:17 +02:00
Connor McAdams ab4a0017e6 uiautomationcore: Implement UiaNodeFromProvider.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-07-19 11:06:16 +02:00
Connor McAdams 7840615361 uiautomationcore: Add stub UiaGetPropertyValue implementation.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-07-19 11:06:15 +02:00
Connor McAdams 4d12d83d47 include: Define UI Automation Property GUIDs.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-07-19 11:06:12 +02:00
Francois Gouget 3ff91992d4 include: Fix the spelling of some comments.
Signed-off-by: Francois Gouget <fgouget@free.fr>
2022-07-18 19:44:12 +02:00
Paul Gofman 0f337f3d8e ntdll: Fixup ICMP packet id if SOCK_DGRAM fallback is used.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
2022-07-18 10:39:41 +02:00
Zhiyi Zhang f6206bccde include: Add SHOpenFolderAndSelectItems() declaration and flags.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-07-15 20:01:05 +02:00
Dmitry Timoshkov f81c82d49e winspool.drv: Implement OpenPrinter2.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-15 17:42:53 +02:00
Georg Lehmann fa8c7a6e04 winevulkan: Update to VK spec version 1.3.221.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
2022-07-14 19:01:35 +02:00
Jinoh Kang fa005a6c90 include: Add definition for NtSetInformationVirtualMemory.
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-07-13 16:10:05 +02:00
Jinoh Kang 67e4807ba5 include: Move WIN32_MEMORY_RANGE_ENTRY from winnt.h to winbase.h.
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-07-13 16:10:04 +02:00
Alexandre Julliard 348eebae87 include: Remove wine/unicode.h. 2022-07-13 12:50:07 +02:00
Zebediah Figura 55223e2573 wined3d: Introduce a wined3d_streaming_buffer helper. 2022-07-12 22:51:29 +02:00
Hans Leidekker 19d18bbbc3 include: Fix a typo. 2022-07-12 22:51:29 +02:00
Jacek Caban d3c57dec71 win32u: Use KeUserModeCallback interface for DDE message callbacks. 2022-07-12 22:51:29 +02:00
Jacek Caban 0826fbbb74 win32u: Use KeUserModeCallback for ImmProcessKey and ImmTranslateMessage calls. 2022-07-12 22:51:29 +02:00
Jacek Caban 047d74c4b1 win32u: Move default IME window management from imm32. 2022-07-12 22:51:29 +02:00
Jacek Caban f5b3283e24 win32u: Move window input context handling from imm32. 2022-07-12 22:51:29 +02:00
Jacek Caban 3e8a4b671d imm32: Store message spy pointer in TEB. 2022-07-12 22:51:29 +02:00
Eric Pouech 437e73883b mscvpdb.h: Use bitfield for defrange's variable flag.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-07-12 22:51:29 +02:00
Jacek Caban 7babf75789 imm32: Move default IMM window proc implementation from user32. 2022-07-11 18:56:17 +02:00
Jacek Caban d9fc5b3f96 win32u: Implement input context object. 2022-07-11 18:56:16 +02:00
Paul Gofman 5f3cd85361 crypt32: Support MICROSOFT_ROOT_CERT_CHAIN_POLICY_CHECK_APPLICATION_ROOT_FLAG.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
2022-07-11 18:55:11 +02:00
Dmitry Timoshkov 82c30480c9 include: Fix a typo in _InterlockedXor64() intrinsic declaration.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-07 19:10:02 +02:00
Rémi Bernon 360f12d307 win32u: Move default UpdateDisplayDevices implementation out of nulldrv.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-06 16:53:27 +02:00
Alexandre Julliard 68a69b51bb server: Return the standard status code when the key exists in NtCreateKey.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-05 14:19:00 +02:00
Jacek Caban c9c69dff7e win32u: Support undocumented SIF_RETURNPREV flag in set_scroll_info. 2022-07-05 12:34:03 +02:00
Jacek Caban 79910bcf83 user32: Pass scroll enable flags to ScrollBarDraw. 2022-07-04 20:14:02 +02:00
Jacek Caban 419893519c win32u: Move scroll tracking implementation from user32. 2022-07-04 20:14:02 +02:00
Jacek Caban 22cab055e4 win32u: Partially move ScrollBarWndProc implementation from user32. 2022-07-04 20:14:02 +02:00
Jacek Caban b4ba6de6e1 win32u: Move NtUserShowScrollBar implementation from user32. 2022-07-04 20:14:02 +02:00
Piotr Caban 9c2f037b3f d3dx10: Add D3DX10CreateThreadPump stub.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-07-04 17:48:00 +02:00
Georg Lehmann fda62d4b19 winevulkan: Update to VK spec version 1.3.219.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
2022-06-30 19:03:01 +02:00
Zebediah Figura 0a93089019 win32u: Move raw input device list management from user32. 2022-06-30 10:54:17 +02:00
Zebediah Figura cbbab65571 win32u: Move NtUserGetRegisteredRawInputDevices from user32. 2022-06-30 10:54:16 +02:00
Zebediah Figura 0ce4ed675f win32u: Move NtUserRegisterRawInputDevices from user32. 2022-06-30 10:54:12 +02:00
Alexandre Julliard e2d96342df makefiles: Use the defined external lib variables also when building the libs themselves.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-29 23:23:41 +02:00
Eric Pouech eb14fad72a mscvpdb.h: Redefine property with bitfields.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-06-28 20:30:05 +02:00
Eric Pouech b7c231c78f dbghelp: Rely on first/last type index from type header.
Code now follows these guidelines:
- define PDB & Codeview internals in cvconst.h and mscvinfo.h (instead
  of having definitions in .c files, some of them being duplicate of .h
  content, and their "duplicate" values eventually diverged over time)
- index of first type comes from PDB type header (instead of always being
  hardcoded as FIRST_DEFINABLE_TYPE)
- use index of last typex from type header (instead of guessing the right
  value while parsing types, which also allows a single allocation
  instead of enlarging buffer while parsing).

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-06-28 20:30:05 +02:00
Eric Pouech ba12b5ae88 winedump: Explore a bit more TPI hash elements.
Rename a couple of fields in PDB structures for clarity.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-06-28 20:24:18 +02:00
Nikolay Sivov 1fb6f27144 ntdll: Implement NtRenameKey().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-28 15:54:15 +02:00
Nikolay Sivov 440d37172d advapi32/tests: Add some tests for RegRenameKey().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-28 15:39:55 +02:00
Jacek Caban e411b98155 win32u: Move NtUserGetSystemMenu implementation from user32. 2022-06-27 22:58:21 +02:00
Jacek Caban 2bd0c87278 win32u: Move GetMenuDefaultItem implementation from user32. 2022-06-27 22:58:21 +02:00
Nikolay Sivov bf0c621cbd d2d1/effect: Initial implementation of property access methods.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-27 11:23:32 +02:00
Jacek Caban 313f75a0af user32: Use NtUserThunkedMenuItemInfo for GetSubMenu implementation. 2022-06-24 22:38:47 +02:00
Jacek Caban d7dba1ed74 win32u: Move CheckMenuRadioItem implementation from user32. 2022-06-24 22:38:47 +02:00
Alexandre Julliard a40973f204 include: Add a number of 64-bit interlocked functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-23 10:55:06 +02:00
Zhiyi Zhang 71bef6c985 uxtheme: Support parsing more window parts and states.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-23 10:54:06 +02:00
Zhiyi Zhang 84c83af00b uxtheme: Support parsing more tooltip parts and states.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-23 10:54:06 +02:00
Zhiyi Zhang f6f07e0c6d uxtheme: Support parsing more toolbar parts and states.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-23 10:54:06 +02:00
Zhiyi Zhang 4d42d20e42 uxtheme: Support parsing taskdialog class.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53066
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-23 10:54:06 +02:00
Biswapriyo Nath 827839a616 include: Add IDXGIDebug1 declaration in dxgidebug.idl.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
2022-06-22 22:35:24 +02:00
Biswapriyo Nath 21df12f1ac include: Add IDXGIInfoQueue declaration in dxgidebug.idl.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
2022-06-22 22:35:24 +02:00
Zhiyi Zhang 461c49ec84 uxtheme: Support parsing more scrollbar parts and states.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-22 17:33:04 +02:00
Jacek Caban 9f267c2258 win32u: Move GetMenuItemID implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-21 18:53:18 +02:00
Jacek Caban 7099c8d7e8 win32u: Move get_menu_item_info implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-21 18:53:18 +02:00
Hans Leidekker 4ce39cd09b include: Move SECPKG_ATTR defines to a new header and add missing definitions. 2022-06-21 18:53:18 +02:00
Zhiyi Zhang bfb49ad04c comctl32/toolbar: Add support for TBCDRF_NOBACKGROUND.
Tested manually on XP, Win 7 and Win 10.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53049
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-21 18:40:25 +02:00
Zhiyi Zhang b334d89d5d uxtheme: Support parsing more combobox parts and states.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-21 18:40:25 +02:00
Zhiyi Zhang f1aa061d8f uxtheme: Support parsing more clock states.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-21 18:40:25 +02:00
Zhiyi Zhang 22adfc67b4 uxtheme: Support parsing more button parts and states.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-21 18:40:25 +02:00
Jacek Caban 3ec9c2990b win32u: Move WM_APPCOMMAND implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-20 20:54:41 +02:00
Jactry Zeng 0395988052 include: Add definition of ScriptPlaceOpenType().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
2022-06-20 10:53:06 +02:00
Daniel Lehman c695ec59b1 include: Add _tcsto[u]ll declarations.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
2022-06-20 10:37:56 +02:00
Zebediah Figura 591fd06b6c win32u: Move NtUserGetRawInputBuffer from user32. 2022-06-17 20:37:56 +02:00
Zebediah Figura db43005cd8 win32u: Move NtUserGetRawInputData from user32. 2022-06-17 20:37:54 +02:00
Stefan Dösinger 9618f5ab8f include: Emit CFI directives when building on Mac with gcc.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53157
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
2022-06-17 18:08:08 +02:00
Jacek Caban 86f9c8b1f6 win32u: Move NtUserGetTitleBarInfo implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-17 18:06:53 +02:00
Jacek Caban 67e39efb75 win32u: Move NtUserDrawCaptionTemp implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-17 18:06:53 +02:00
Jacek Caban b9d8a842f0 win32u: Move menu tracking implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-16 19:29:10 +02:00
Andrew Eikum 712c547e08 include: Remove duplicate ICodecAPI::GetParameterValues function.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-15 22:21:34 +02:00
Connor McAdams ad8c61d897 include: Import IAccessible2 headers.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-15 21:48:08 +02:00
Piotr Caban 04b6412c18 d3dx10: Add D3DX10CreateAsyncTextureProcessor stub.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-15 21:45:02 +02:00
Nikolay Sivov 184ff3bfbb dxgi: Create DXGI resource object, optionally supporting surface interfaces.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-15 21:44:47 +02:00
Jacek Caban 76a0108c59 win32u: Use NtUserCallHwnd for NtUserSetForegroundWindow.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-15 18:32:19 +02:00
Jacek Caban 07f2cc9dda win32u: Move process default layout handling from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-15 18:32:18 +02:00
Jacek Caban 6f3ed5fd64 win32u: Move NtUserInvalidateRect and NtUserInvalidateRgn implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-15 18:32:16 +02:00
Jacek Caban 95b76f5101 win32u: Move NtUserMenuItemFromPoint implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-15 18:32:16 +02:00
Bernhard Kölbl faf8ed367c include/windows.media.speechsynthesis.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: Bernhard Kölbl <besentv@gmail.com>
2022-06-14 22:04:55 +02:00
Bernhard Kölbl 6e26dc6b59 include/windows.media.idl: Move IMediaMarker collections from speechsynthesis.
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2022-06-14 22:04:55 +02:00
Bernhard Kölbl aab9ec78d6 include/windows.media.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: Bernhard Kölbl <besentv@gmail.com>
2022-06-14 22:04:55 +02:00
Jacek Caban d4b8ca7853 win32u: Move PopupMenuWndProc implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-14 11:29:13 +02:00
Jacek Caban af00521e29 win32u: Move NtUserDrawMenuBarTemp implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-14 11:29:12 +02:00
Jacek Caban d65f2492ed win32u: Move GetDialogBaseUnits implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-13 16:37:03 +02:00
Jacek Caban 9f03d8f3e1 win32u: Move WM_NCPAINT handling from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-13 16:37:03 +02:00
Jacek Caban 952affeaeb win32u: Allow passing simple LOGFONTW to NtGdiHfontCreate.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-13 16:37:03 +02:00
Connor McAdams 1989d144c8 include: Add ILegacyIAccessibleProvider interface definition.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-10 18:24:23 +02:00
Zebediah Figura b68d2aad19 hidclass.sys: Expose an ioctl to retrieve the raw input handle.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-09 20:55:27 +02:00
Georg Lehmann 86d893f931 winevulkan: Update to VK spec version 1.3.217.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-09 20:55:20 +02:00
Jacek Caban 61ad0b844d win32u: Move SC_SIZE and SC_MOVE handling from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-09 20:55:20 +02:00
Jacek Caban 6e2ea185c2 win32u: Move NtUserInternalGetWindowIcon implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-09 20:55:20 +02:00
Jacek Caban a8ed1c94b3 win32u: Move NtUserDragDetect implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-09 20:55:20 +02:00
Jacek Caban 540dc761fc win32u: Move SetWindowContextHelpId implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-09 20:55:20 +02:00
Jacek Caban b2db69efcf win32u: Move NtUserScrollWindowEx implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-09 20:55:20 +02:00
Jacek Caban ff66d8ee0f win32u: Remove no longer used __wine_set_user_driver PE entry point.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-09 20:55:20 +02:00
Connor McAdams 84141b5acd include: Add UI Automation Control Type ID definitions.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-08 18:54:25 +02:00
Rémi Bernon e8b06de490 include: Add Windows.Gaming.Input.IGamepad2 interface declaration.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-08 15:04:56 +02:00
Jacek Caban 2a3b4c9bd7 win32u: Move NtUserLockWindowUpdate implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-08 10:50:14 +02:00
Alexandre Julliard 1e52895ef7 kernelbase: Implement IsNLSDefinedString().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-07 16:57:26 +02:00
Nikolay Sivov 03fde5c002 kernelbase: Implement VirtualAlloc2FromApp().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-06 12:16:33 +02:00
Julian Klemann d1f5765e4c ws2_32: Add WSAConnectByName() functions.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50941
Signed-off-by: Julian Klemann <jklemann@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-03 21:51:57 +02:00
Jacek Caban b49dd456fa include: Provide iswspace, wcstol and wcstoul in unixlib.h.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-02 17:24:29 +02:00
Piotr Caban 1c66d05a9c d3dx10: Add D3DX10CreateAsyncTextureInfoProcessor stub.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-01 20:51:58 +02:00
Rémi Bernon 834ade753e include: Add touch and pointer input related winuser.h declarations.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-01 20:49:36 +02:00
Jacek Caban 806d85529f win32u: Introduce NtUserClipboardWindowProc.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-05-31 22:52:45 +02:00
Jinoh Kang 253a2e2edb include: Define fast fail codes and the __fastfail() intrinsic.
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-05-31 11:43:28 +02:00
Jinoh Kang 93dcb93573 include: Mark IPersistFolder3::InitializeEx's optional parameters as [unique].
The Windows SDK headers makes it clear that the IBindCtx and ppfti
parameters of InitializeEx are optional.  Bring Wine's definition in
sync with those.

Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-05-30 22:07:43 +02:00
Jinoh Kang 6efdef2290 include: Mark IShellItem::BindToHandler's pbc parameter as [unique].
The Windows SDK headers makes it clear that the IBindCtx parameter of
BindToHandler is optional.  Bring Wine's definition in sync with those.

Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-05-30 22:07:43 +02:00
Nikolay Sivov 0c7f4ad916 include: Add some more process information class constants.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-25 18:25:43 +02:00
Hans Leidekker 0a8adeba92 secur32: Add support for SCH_CREDENTIALS.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-25 18:25:43 +02:00
Alistair Leslie-Hughes 1e7c6d73c8 include: Add THREAD_POWER_THROTTLING_STATE type.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
2022-05-25 18:25:43 +02:00
Gabriel Ivăncescu efe39dc5d6 include: Add IDOMProgressEvent interface and dispinterface.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-24 18:26:56 +02:00
Georg Lehmann d617eecc0f winevulkan: Update to VK spec version 1.3.215.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
2022-05-24 18:23:42 +02:00
Zhiyi Zhang fd6e137dfe dxgi: Implement adapter video memory budget change notification.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51665
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-23 20:50:01 +02:00
Rémi Bernon 085d3be56e include: Add missing __WINE_DEALLOC attribute to RtlReAllocateHeap.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-05-23 18:58:23 +02:00
Rémi Bernon 42ccb842d5 include: Add missing __WINE_DEALLOC(HeapFree) attribute size index.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-05-23 18:58:23 +02:00
Nikolay Sivov 15aa8c6fb8 kernelbase: Add SetThreadInformation().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52956
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-20 14:36:44 +02:00
Nikolay Sivov 30f1777e87 kernelbase/tests: Add some VirtualAlloc2() tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-20 11:37:24 +02:00
Zhiyi Zhang 0f7c7cd7a0 dxgi: Implement dxgi_adapter_QueryVideoMemoryInfo() with D3DKMTQueryVideoMemoryInfo().
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-20 10:22:59 +02:00
Jacek Caban dfeb2d2474 win32u: Introduce DesktopWindowProc driver entry point.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 20:53:35 +02:00
Jacek Caban 336f033273 win32u: Move desktop window proc implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 20:53:35 +02:00
Jacek Caban a15df248e5 win32u: Export NtUserGetWindowPlacement.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 20:53:34 +02:00
Jacek Caban 9abd2ae8d1 win32u: Move NtUserSetInternalWindowPos implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 20:53:33 +02:00
Jacek Caban 96b2b4c078 win32u: Move NtUserSetWindowPlacement implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 20:53:31 +02:00
Nikolay Sivov f2ee6b7c31 winedump: Add support for dumping UnloadedModuleListStream.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 18:28:25 +02:00
Eric Pouech 4a1f1082e4 include: Use Mingw64's __uuidof when present.
otherwise Wine's and Mingw64's __uuidof() conflict (C++)

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 16:17:08 +02:00
Brendan Shanks eb55f64d52 include: Add __WINE_DEALLOC attribute and use it for allocation functions.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:36:10 +02:00
Brendan Shanks fd1b9afc1d include: Add __WINE_MALLOC attribute and use it for allocation functions.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:36:10 +02:00
Nikolay Sivov d50f7b02a9 winedump: Add support for ThreadInfoListStream stream.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 08:53:57 +02:00
Nikolay Sivov 0d89f67ea2 winedump: Add support for dumping handle data stream from minidumps.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 08:53:53 +02:00
Nikolay Sivov 61f31d149c include: Move minidump types to a separate header.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 08:53:42 +02:00
Philip Allison 26637de7cb uiautomationcore: Fix header compatibility with C++.
Rename arguments to UiaRaiseAutomationPropertyChangedEvent to avoid
conflicts with reserved words when included from C++ applications.

Signed-off-by: Philip Allison <mangobrain@googlemail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 22:22:15 +02:00
Georg Lehmann af8b466f71 winevulkan: Update to VK spec version 1.3.214.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 20:45:14 +02:00
Zhiyi Zhang 8bc0c8d646 gdi32: Implement D3DKMTQueryVideoMemoryInfo().
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 17:50:43 +02:00
Zhiyi Zhang 4a98b07c4b winex11.drv: Open a Vulkan device for D3DKMTOpenAdapterFromLuid().
The Vulkan device is used for querying video memory information for implementing
D3DKMTQueryVideoMemoryInfo().

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 17:50:36 +02:00
Zhiyi Zhang 4cf797d4d8 include: Add D3DKMTQueryVideoMemoryInfo() definition.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 17:50:24 +02:00
James McDonnell 0b288df3e9 include: Add ID2D1PathGeometry1 definition.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 10:40:51 +02:00
Zebediah Figura ab34fb78f8 include: Constify the RAWINPUTDEVICE pointer parameter to RegisterRawInputDevices().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 10:40:03 +02:00
Chip Davis 2264663c74 nsiproxy.sys: Implement IPv6 ipstats get_all_parameters on Mac OS and BSD.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-13 22:11:41 +02:00
Chip Davis 84e9696078 nsiproxy.sys: Implement IPv6 icmpstats get_all_parameters on Mac OS and BSD.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-13 22:11:41 +02:00
Chip Davis 0a70e1ac63 configure: Check for struct icmpstat.
NetBSD no longer has statistics structures. Instead, it stores them as
arrays of integer counters. It's backwards compatible with the old
statistics structures, but the struct definitions are missing. This has
likely been broken on NetBSD for quite some time as a result.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-13 22:11:41 +02:00
Alistair Leslie-Hughes 5d5b2acf98 include: Add TF_TMF/TMAW defines.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-12 22:19:02 +02:00
Ziqing Hui 950c2da65b include: Add defines for D2D1_PROPERTY_BINDING.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-12 19:37:44 +02:00
Jactry Zeng 3f7c08096a include: Add MIL/DWM HRESULT codes.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-12 12:50:18 +02:00
Brendan Shanks 7e973421d1 include: Add WINE_ALLOC_SIZE attribute to MmAllocate functions.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-12 12:50:18 +02:00
Brendan Shanks 09704a155e include: Add WINE_ALLOC_SIZE attribute to ExAllocatePool functions.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-12 12:50:18 +02:00
Brendan Shanks 26297e7a2f include: Add WINE_ALLOC_SIZE attribute to RtlReAllocateHeap().
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-12 12:50:18 +02:00
Brendan Shanks c392ac8678 include: Add WINE_ALLOC_SIZE attribute to CoTaskMemRealloc().
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-12 12:50:18 +02:00
Anton Baskanov ce4c1987a1 include: Add IMpegAudioDecoder definition.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-11 19:33:23 +02:00
Georg Lehmann d20d5d0737 winevulkan: Update to VK spec version 1.3.213.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-11 19:33:22 +02:00
Rémi Bernon 922cf81c91 windows.gaming.input: Register Windows.Gaming.Input.ForceFeedback classes.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-11 11:40:41 +02:00
Jacek Caban 497f37cf99 include: Don't use DECLSPEC_HIDDEN for WINGDIAPI and WINUSERAPI in unuxlibs.
Allows win32u.so to expose such functions using unixlib interface.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-06 19:18:18 +02:00
Nikolay Sivov 1e2bc2f50e kernel32: Implement UnmapViewOfFileEx().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-06 19:17:01 +02:00
Nikolay Sivov 757f9e9751 kernelbase: Implement UnmapViewOfFile2().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-05 18:35:38 +02:00
Nikolay Sivov d63db81295 ntdll: Partially implement NtUnmapViewOfSectionEx().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-05 18:35:28 +02:00
Jacek Caban d8c807ba98 win32u: Use KeUserModeCallback interface for CopyImage.
Its implementation doesn't seem to be exposed from win32u and it
generally fits well in user space. It will be also useful for drivers.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-05 18:35:12 +02:00
Jacek Caban 70d3e41d64 win32u: Move NtUserCallMsgFilter implementation from user32.
A/W conversion is not used in those cases anyway, so just use a single implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-05 18:35:08 +02:00
Jacek Caban 040d1f9bbd winex11: Introduce x11drv_client_call.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-05 18:35:07 +02:00
Brendan Shanks 1c4131ba78 include: Add WINE_ALLOC_SIZE attribute to heap_calloc().
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-04 22:10:55 +02:00
Paul Gofman 0c35a851cd crypt32: Support CERT_NAME_SEARCH_ALL_NAMES_FLAG in CertGetNameStringW().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-04 21:27:25 +02:00
Nikolay Sivov 9c40a80100 kernelbase: Implement MapViewOfFile3().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-04 21:27:25 +02:00
Nikolay Sivov dc5d76b3af ntdll: Add a partial implementation of NtMapViewOfSectionEx().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-04 21:27:25 +02:00
Jacek Caban ac9b635800 win32u: Use NT interface for MsgWaitForMultipleObjectsEx user driver entry point.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 19:01:13 +02:00
Eric Pouech 69ab9568b2 include/msvcrt: Redefine towlower* & towupper* with wint_t types.
It conflicts in C++ compilation with MINGW builtin definitions.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 18:58:28 +02:00
Nikolay Sivov f2403bf783 xmllite/reader: Implement CreateXmlReaderInputWithEncodingCodePage().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52953
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 18:55:52 +02:00
Jacek Caban 4604c45540 win32u: Move NtUserGetSystemMenu implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-02 22:43:53 +02:00
Jacek Caban 189da79a18 win32u: Move NtUserDeleteMenu implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-02 22:43:53 +02:00
Jacek Caban bad82953db win32u: Move GetMenuItemCount implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-02 22:43:53 +02:00
Jacek Caban 1899cd2a9e win32u: Move GetMenuState implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-02 22:43:53 +02:00
Jacek Caban 77ab51019f win32u: Move menu item info management from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-02 22:43:53 +02:00
Connor McAdams 583cbd2383 uiautomationcore: Implement UiaProviderFromIAccessible.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-02 11:37:31 +02:00
Biswapriyo Nath 842115bbb8 include: Add Windows.Storage.Streams.Buffer runtimeclass declaration.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-28 16:14:21 +02:00
Rémi Bernon 007e51719b include: Use nested namespaces in windows.storage.streams.idl.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-28 16:14:17 +02:00
Nikolay Sivov 2b4b10be9a include: Add IParentAndItem definition.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-28 11:35:31 +02:00
Rémi Bernon 2e9a72759c include: Add Windows.Gaming.Input.ForceFeedback.RampForce runtimeclass declaration.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-27 22:40:33 +02:00
Rémi Bernon 7c99bdfe3c include: Add Windows.Gaming.Input.ForceFeedback.ConstantForce runtimeclass declaration.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-27 22:40:27 +02:00
Rémi Bernon 4793ce744c include: Add Windows.Gaming.Input.ForceFeedback.ConditionForceEffect runtimeclass declaration.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-27 22:40:21 +02:00
Rémi Bernon cc6358b37a include: Add Windows.Gaming.Input.ForceFeedback.PeriodicForceEffect runtimeclass declaration.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-27 22:40:14 +02:00
Rémi Bernon a99d46b5e3 include: Add Windows.Foundation.Numerics.Vector3 struct declaration.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-27 22:40:06 +02:00
Ziqing Hui 932731233f include: Add defines for ID2D1EffectImpl.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-27 21:45:03 +02:00
Ziqing Hui c6bf391030 include: Add defines for ID2D1EffectContext.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-27 21:44:59 +02:00
Ziqing Hui 6b77ceee87 include: Add defines for ID2D1Transform.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-27 21:44:54 +02:00
Jacek Caban a37cae58d9 win32u: Use user mode callback for registering builtin classes.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-26 22:21:04 +02:00
Jacek Caban 286471a307 win32u: Introduce data-only mode in NtUserGetClipboardData.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-26 22:21:04 +02:00
Zebediah Figura b8732c80b1 win32u: Move caret APIs from user32.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-26 22:21:04 +02:00