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