Nikolay Sivov
0666950b38
ddrawex/tests: Simplify refcount helper.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:17:31 +02:00
Nikolay Sivov
5a0f483641
ddrawex/tests: Build without -DWINE_NO_LONG_TYPES.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:17:27 +02:00
Nikolay Sivov
2df68bd4ff
ddrawex: Build without -DWINE_NO_LONG_TYPES.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:17:21 +02:00
Ziqing Hui
a23e07937d
d2d1/tests: Add tests for context unit mode.
...
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-13 18:17:13 +02:00
Zhiyi Zhang
9ec0f8a3d5
joy.cpl: Enable visual styles.
...
joy.cpl uses manifest at ID 124. According to tests, manifest at ID 124 is not loaded automatically
by rundll32.exe or Control_RunDLL().
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:15:48 +02:00
Zhiyi Zhang
0d093f8935
inetcpl.cpl: Enable visual styles.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:15:48 +02:00
Zhiyi Zhang
578f0a6f35
appwiz.cpl: Enable visual styles.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:15:48 +02:00
Zhiyi Zhang
d1d91288ff
rundll32: Activate context at ID 123 before calling library functions.
...
This is required to enable common control v6 for library functions called by rundll32.exe.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:15:48 +02:00
Zhiyi Zhang
765d4c1e77
shell32: Activate context at ID 123 before loading control panel applets.
...
This is required to enable common control v6 when running control panel applets using
"rundll32.exe shell32.dll,Control_RunDLL".
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:15:48 +02:00
Zhiyi Zhang
596b647391
kernel32/tests: Add more CreateActCtx() tests.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:15:48 +02:00
Jacek Caban
0953de5cab
user32: Get rid of __wine_set_pixel_format.
...
Use NtUserSetWindowPixelFormat in drivers instead.
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-13 18:13:42 +02:00
Jacek Caban
55f4cf8c85
winex11: Directly use win32u for user functions in window.c.
...
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-13 18:13:38 +02:00
Jacek Caban
523a6eba02
winex11: Remove no longer needed helpers.
...
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-13 18:13:34 +02:00
Jacek Caban
cfb6f9a1e8
win32u: Introduce inline helpers for NtUserCallHwndParam calls.
...
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-13 18:13:28 +02:00
Jacek Caban
31dbce9675
win32u: Introduce inline helpers for NtUserCallHwnd calls.
...
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-13 18:13:23 +02:00
Jacek Caban
dae11519da
win32u: Introduce inline helpers for NtUserCallTwoParam calls.
...
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-13 18:13:18 +02:00
Jacek Caban
322ee79383
win32u: Remove no longer needed NtUserCallOneParam exports.
...
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-13 18:13:12 +02:00
Jacek Caban
7f64eead50
win32u: Introduce inline helpers for NtUserCallOneParam calls.
...
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-13 18:13:06 +02:00
Jacek Caban
dcca04606e
win32u: Use NtUserCallHwndParam for MirrorRgn implementation.
...
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-13 18:12:59 +02:00
Jacek Caban
6f1e48f424
win32u: Introduce inline helpers for NtUserCallNoParam calls.
...
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-13 18:12:52 +02:00
Daniel Lehman
47ce525c2b
include: Add some math declarations.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 16:31:23 +02:00
Zebediah Figura
1e750b5b44
ntdll: Write a null terminator in NtQueryDirectoryObject.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 16:27:47 +02:00
Zebediah Figura
4b57ae1674
ntdll: Don't return STATUS_BUFFER_OVERFLOW if the buffer is too small to hold one entry.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 16:26:09 +02:00
Zebediah Figura
0c7dcd9088
ntdll: Return the required length from NtQueryDirectoryObject().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 16:25:44 +02:00
Alexandre Julliard
967ef0bf41
ntdll: Support overriding the codepage from the manifest.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52223
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 16:08:30 +02:00
Alexandre Julliard
1326687feb
ntdll: Add support for 2019 and 2020 WindowsSettings namespaces.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 16:08:30 +02:00
Alexandre Julliard
e81327358a
kernelbase: Move codepage initialization to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 16:08:30 +02:00
Alexandre Julliard
d53bc38d34
ntdll: Initialize the system locale on the Unix side.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 16:03:14 +02:00
Alexandre Julliard
83a3a5c75b
msvcrt: Fix mbcs initialization for UTF-8 codepage.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 16:03:14 +02:00
Rémi Bernon
29fe143544
kernel32/tests: Add some HeapWalk tests for the LFH frontend.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 11:09:04 +02:00
Rémi Bernon
98066b5a8e
kernel32/tests: Cleanup and add Heap(Query|Set)Information tests.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 11:08:59 +02:00
Rémi Bernon
0237d1702f
kernel32/tests: Add some HeapWalk tests.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 11:07:34 +02:00
Rémi Bernon
13a4da538c
kernel32/tests: Add some GetProcessHeaps tests.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 11:07:25 +02:00
Rémi Bernon
93d5aba89c
kernel32/tests: Add invalid pointer heap validation tests.
...
Adding commented-out crashing tests to make it obvious that they were
tested and that HeapFree or HeapReAlloc don't validate pointers.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 11:05:24 +02:00
Paul Gofman
8c931c7129
ntdll: Remove unused PTHREAD_STACK_MIN definition.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 11:00:38 +02:00
Paul Gofman
dfd5f109fb
ntdll: Increase kernel stack size.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 11:00:33 +02:00
Rafał Harabień
66a639e96d
user32/tests: Remove duplicated SS_*RECT static control tests.
...
Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 11:00:10 +02:00
Rafał Harabień
9be3f2cf11
user32: Use SWP_NOACTIVATE flag when resizing etched static control.
...
Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 11:00:07 +02:00
Eric Pouech
be0be41fca
d3dx10: Fix long type warnings.
...
Missing from 74adbac296
.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 10:47:30 +02:00
Zebediah Figura
351fa352f6
kernelbase: Set user_lcid to the user locale, not the system locale.
...
Fixes: fffbe3fcae
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 10:42:59 +02:00
Eric Pouech
ae9266992a
d3dxof: Don't cast ptrdiff_t to ULONG in traces, use %I instead.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 22:13:49 +02:00
Nikolay Sivov
74adbac296
d3dx10: Build without -DWINE_NO_LONG_TYPES.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 22:13:44 +02:00
Nikolay Sivov
08c6560e74
d3dxof: Build without -DWINE_NO_LONG_TYPES.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 22:13:34 +02:00
Zebediah Figura
2d147ce985
server: Return STATUS_BUFFER_TOO_SMALL instead of STATUS_BUFFER_OVERFLOW from get_directory_entry.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 22:13:05 +02:00
Zebediah Figura
ccf706b456
ntdll: Do not write the "ret_size" parameter of NtQueryDirectoryObject on failure.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 22:13:05 +02:00
Zebediah Figura
07d93d9f68
ntdll: Do not write the "context" parameter of NtQueryDirectoryObject on failure.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 22:13:05 +02:00
Zebediah Figura
7a5c26f7f2
ntdll/tests: Add some tests for NtQueryDirectoryObject().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 22:13:05 +02:00
Eric Pouech
c25bd520ac
windowscodecs/tests: Simplify printf for 64 bit integers.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 22:13:05 +02:00
Gabriel Ivăncescu
4fd955ae07
jscript: Treat NULL disps as actual null values in html mode.
...
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-04-12 22:13:05 +02:00
Gabriel Ivăncescu
3485f162e9
mshtml/tests: Add initial tests for NULL Dispatch objects in scripts.
...
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-04-12 21:39:42 +02:00