Zhiyi Zhang
793e4640e4
win32u: Don't enumerate mirrored monitor clones for GetSystemMetrics(SM_CMONITORS).
...
Only one monitor in a mirrored monitor set contributes to the result of GetSystemMetrics(SM_CMONITORS).
Tested manually on Win7 and Win10.
2024-03-15 15:06:37 +01:00
Zhiyi Zhang
6505403e58
win32u: Fix a possible condition that makes EnumDisplayMonitors() not reporting any monitors.
...
When there are two monitors and they are mirrored, both of them are considered primary. When the
first primary monitor happens to be a clone, EnumDisplayMonitors() ends up not reporting any
monitors because should_enumerate_monitor() returns FALSE and we break out the loop to enumerate
primary monitors after that.
This is a regression from b59619d
and my review comments. My indent was to break out of the loop
after finding the *master* primary monitor, not cloned primary monitors, to avoid unnecessary
iterations. However, the primary monitor count is small and it's cleaner this way so let's break
when should_enumerate_monitor() returns TRUE.
2024-03-15 15:06:37 +01:00
Andrew Nguyen
1600f2e6bd
ddraw: Release only valid texture parents on ddraw_texture_init failure.
...
When ddraw_texture_init needs to clean up on failure, it will call the
wined3d_texture_get_sub_resource_parent function on draw_texture in
order to retrieve its parent for a IDirectDrawSurface release call.
However, if draw_texture is NULL, then the function call will crash
due to a null pointer dereference.
Therefore, on failure cleanup, the release operation on the texture
parent should only be performed if draw_texture is not NULL.
This fixes a crash in the Virtual Insanity game demo.
2024-03-15 15:06:37 +01:00
Alexandre Julliard
72fd6e9251
ntdll: Add mappings for more status codes.
2024-03-15 15:06:37 +01:00
Alexandre Julliard
08f46b8de0
include: Add some new status codes.
...
And sort everything consistently.
2024-03-15 15:06:37 +01:00
Alexandre Julliard
98b7095a21
include: Add some new error codes.
...
And sort everything consistently.
2024-03-15 15:06:37 +01:00
Jinoh Kang
ce41edab3f
ntdll: Implement NtMakePermanentObject.
2024-03-15 15:06:37 +01:00
Jinoh Kang
e368515eef
server: Generalize server request make_temporary to set_object_permanence.
...
Required for implementing NtMakePermanentObject().
2024-03-15 15:06:33 +01:00
Jinoh Kang
d282208ac3
ntdll/tests: Add tests for NtMakeTemporaryObject.
2024-03-15 08:37:42 +01:00
Jinoh Kang
a4ad64dda3
ntdll/tests: Add tests for OBJ_PERMANENT object attribute.
2024-03-15 08:37:39 +01:00
Rémi Bernon
65864f92f2
winevulkan: Get rid of the wine_vk_instance_free helper.
2024-03-14 20:52:33 +01:00
Rémi Bernon
c814cf0d35
winevulkan: Add handle mappings on creation success only.
2024-03-14 20:52:33 +01:00
Rémi Bernon
81ed2e5465
winevulkan: Simplify wine_vk_instance_free helper.
2024-03-14 20:52:33 +01:00
Rémi Bernon
04981ad759
winevulkan: Get rid of the wine_vk_device_free helper.
2024-03-14 20:52:33 +01:00
Rémi Bernon
aaeb221f52
winevulkan: Use a single allocation for instance and physical devices.
2024-03-14 20:52:33 +01:00
Rémi Bernon
bda48ed85e
winevulkan: Rename wine_vk_physical_device_alloc parameters and variables.
2024-03-14 20:52:33 +01:00
Rémi Bernon
3b39027655
winevulkan: Pass VkDeviceQueueCreateInfo to wine_vk_device_init_queues.
2024-03-14 20:52:33 +01:00
Rémi Bernon
5ef47e916a
winevulkan: Use a single allocation for device and queues.
2024-03-14 20:52:33 +01:00
Rémi Bernon
5bde3f4c97
winevulkan: Use an rb_tree and allocate entries for handle mappings.
2024-03-14 20:52:33 +01:00
Paul Gofman
8b3944e134
ntdll: Only allocate debug info in critical sections with RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO.
2024-03-14 20:52:33 +01:00
Paul Gofman
9115dc0aba
explorer: Force debug info in critical sections.
2024-03-14 20:52:33 +01:00
Paul Gofman
95b0e65b07
services: Force debug info in critical sections.
2024-03-14 20:52:33 +01:00
Paul Gofman
90ee219c44
qasf: Force debug info in critical sections.
2024-03-14 20:52:33 +01:00
Paul Gofman
c4ab638083
dsdmo: Force debug info in critical sections.
2024-03-14 20:52:33 +01:00
Paul Gofman
63ff75cf12
diasymreader: Force debug info in critical sections.
2024-03-14 20:52:33 +01:00
Paul Gofman
8d933bf187
cryptowinrt: Force debug info in critical sections.
2024-03-14 20:52:33 +01:00
Zhiyi Zhang
2f094cbfe6
win32u: Support HiDPI for the non-client close button in WS_EX_TOOLWINDOW windows.
2024-03-14 18:41:42 +01:00
Nikolay Sivov
a5a0bc10f9
d3d10_1/tests: Remove todo from now passing test.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-03-14 18:41:42 +01:00
Nikolay Sivov
e91243a94e
d3dx10/tests: Remove todo's from now passing tests.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-03-14 18:41:42 +01:00
Nikolay Sivov
866cb1ca63
wshom/network: Check pointer argument in get_UserName().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-03-14 18:41:42 +01:00
Nikolay Sivov
30e5111dd5
wshom/network: Implement ComputerName() property.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56434
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-03-14 18:41:42 +01:00
Nikolay Sivov
2c325f8bd3
wshom/network: Implement GetTypeInfo().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-03-14 18:41:42 +01:00
Nikolay Sivov
fcce392066
wshom/network: Use TRACE() for implemented method.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-03-14 18:41:42 +01:00
Dmitry Timoshkov
ee3b9be8e2
comctl32: Implement IImageList2::Initialize().
...
... by moving ImageList_Create() implementation.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-03-14 18:41:42 +01:00
Dmitry Timoshkov
fedcd4bb0e
comctl32/tests: Add more tests for IImageList2 interface.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-03-14 18:41:42 +01:00
Rémi Bernon
3944b36b98
win32u: Fix incorrect ascii key name in get_config_key.
...
Fixes 6b8b35f950
which incorrectly
replaced it with string literal, leading to the default setting being
used all the time.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56435
2024-03-14 18:41:42 +01:00
Noah Berner
898892d5f0
advapi32/tests: Add todo_wine to tests that are currently failing.
2024-03-14 18:41:42 +01:00
Rémi Bernon
14743b0ffb
mfreadwrite/reader: Handle MF_E_TRANSFORM_STREAM_CHANGE results.
2024-03-14 18:41:42 +01:00
Eric Pouech
7f10145a91
dbghelp: Simplify thread info generation in minidump.
...
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-03-14 18:41:42 +01:00
Eric Pouech
f799bf025b
dbghelp: Don't write minidump from running thread.
...
In case a minidump is written from current process, create
a dedicated thread to write the minidump (and hide that thread
from the minidump).
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-03-14 18:41:42 +01:00
Eric Pouech
56193155a0
dbghelp: Use an intermediate buffer in SymFunctionTableAccess (x86_64).
...
This mainly allows to release internal resources bound to image.
Also follow chained RUNTIME_FUNCTION entries (if any).
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-03-14 18:41:42 +01:00
Eric Pouech
da22ef6c0d
dbghelp/tests: Add tests for function table lookup.
...
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-03-14 18:41:42 +01:00
Rémi Bernon
b59619d2e4
win32u: Enumerate monitors from their device keys.
2024-03-14 18:41:42 +01:00
Rémi Bernon
b4e4921cb6
win32u: Get rid of the monitor flags.
2024-03-14 18:41:42 +01:00
Rémi Bernon
d77d36b1f4
win32u: Get rid of the adapter display_device.
2024-03-14 18:41:42 +01:00
Rémi Bernon
e6a8fc2448
win32u: Get rid of the monitor state_flags.
2024-03-14 18:41:42 +01:00
Rémi Bernon
caf9585c3c
win32u: Get rid of the monitor display_device.
2024-03-14 18:41:42 +01:00
Rémi Bernon
3bcd6f1aab
win32u: Split writing monitor to registry to a separate helper.
2024-03-14 18:41:42 +01:00
Rémi Bernon
737e9d7ffc
win32u: Add an adapter struct to the device manager context.
2024-03-14 18:41:42 +01:00
Alexandre Julliard
866907ee3d
kernelbase: Remove no longer needed DllMainCRTStartup function.
2024-03-14 18:41:42 +01:00