https://bugs.winehq.org/show_bug.cgi?id=58052
Bug ID: 58052 Summary: Unimplemented function USER32.dll.IsTopLevelWindow Product: Wine Version: 10.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: rev.hikari@gmail.com Distribution: ---
The function has been used in the TipTap launcher for the Chinese game OverField.
https://github.com/wine-mirror/wine/blob/908f9eb20ff7511fe7f717d1a72d0e2e891...
https://bugs.winehq.org/show_bug.cgi?id=58052
rev.hikari@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rev.hikari@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=58052
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 78307 --> https://bugs.winehq.org/attachment.cgi?id=78307 patch
Confirming
After adding a stub, crashes into more undocumented functions like ntdll.SbSelectProcedure and user32.IsThreadDesktopComposited follow which is weird.
Turns out there's a dwmapi.dll in the program's directory, which is picked up. The attached patch makes the application start.
https://bugs.winehq.org/show_bug.cgi?id=58052
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 URL| |https://www.nekotan7.com/ Keywords| |download
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- I sent a patch here https://gitlab.winehq.org/wine/wine/-/merge_requests/7720
+ add some info
https://bugs.winehq.org/show_bug.cgi?id=58052
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |8e2aea6290e823d2f5023e2bff5 | |c2fec0880a65d Component|user32 |dwmapi Status|NEW |RESOLVED Resolution|--- |FIXED Summary|Unimplemented function |TipTap launcher for |USER32.dll.IsTopLevelWindow |OverField crashes: Call to | |unimplemented function | |USER32.dll.IsTopLevelWindow
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- The crash is fixed with 8e2aea6290e823d2f5023e2bff5c2fec0880a65d