Signed-off-by: Fan WenJie <fanwj(a)mail.ustc.edu.cn>
Hook mmap and munmap seem to be the only solution for drivers such as OpenGL to allocate over 32-bit address. For example, Fairy and Sword 4 has some render problems on master branch of wine. The patch can solve the problems.
--
v2: ntdll:setting limit with checking
server:setting range64 with checking
https://gitlab.winehq.org/wine/wine/-/merge_requests/3460
Themed Delphi applications use "explorer::listview" and "explorer::treeview":
https://gitlab.com/freepascal.org/lazarus/lazarus/-/blob/main/lcl/interface…
--
v5: uxtheme: If the application class is already set then OpenThemeData() should fail.
uxtheme: Move fall back to default class to MSSTYLES_OpenThemeClass().
uxtheme/tests: Add a test for SetWindowTheme/OpenThemeData sequence.
uxtheme: Parse app/class name in OpenThemeData().
uxtheme/tests: Add a test for OpenThemeData("explorer::treeview").
uxtheme/tests: Move the IsThemePartDefined() test before hTheme handle is closed.
https://gitlab.winehq.org/wine/wine/-/merge_requests/4140