Recent versions of Native Instruments Kontakt 7 introduced some additional HiDPI features. To do this, Kontakt calls 2 functions in `user32.dll` that Wine hasn't implemented yet: `GetWindowDpiHostingBehavior` and `SetThreadDpiHostingBehavior`. This patch adds stubs for these 2 functions and apparently that's enough for Kontakt.
This is my first contribution to Wine, I'm not 100% sure if everything is like it should be.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/4373
On Sun Nov 12 12:31:21 2023 +0000, Fabian Maurer wrote:
> Any news on this?
This obviously has problems. Just from looking at it, I see a couple of possible leaks. It also changes behaviour regarding error set on insufficient buffer size.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/4045#note_52068
I'm aware that winecfg allows unlinking of symlinked folders, but this is very annoying when regularly recreating WINEPREFIXES. This change makes it easy to isolate those folders from the start.
--
v5: ntdll: Add environment variable to prevent symlinking dosdevices/z:
shell32: Add environment variable to prevent symlinking home folders
https://gitlab.winehq.org/wine/wine/-/merge_requests/3259