On Wed Jul 2 01:37:27 2025 +0000, Alexandre Julliard wrote:
What's the best way of resuing `__wine_syscall_dispatcher_return` for
user mode callbacks? I think I need some guidance. That doesn't seem necessary, you can simply restore the needed registers from the parent frame. Copying them to the current frame just so you can call `__wine_syscall_dispatcher_return` is not going to simplify anything.
I think @gofman's suggestion is to restore all registers? (I hope I didn't misunderstand him). And that would be easier to do with `__wine_syscall_dispatcher_return`