Random progress.
~ Prevent Client from Closing ~
Disregarding, that I have no idea where to begin, I need some information on the desired behavior.
In-game - Exit to Windows Assume that should remain as it always was, quit to windows.
Char Select - Cancel Used to return to the login window, but since there is not any, it quits.
Char Select - Connection Reset Used to return to the login window, but since there is not any, it quits.
Login - Error Used to return to the login window, but since there is not any, it quits.
Login - Connection Reset Used to return to the login window, but since there is not any, it quits.
... Anything I missed?
The situation, of course, changes when restore login window is in effect (not quite sure whether there is still enough code to restore the window in 2012 clients).
~ Rain ~
It turned out, that just mapping all functions will not work, as most of the structures grew in the mean time and there's also the compiler change to VC9.