https://bugs.winehq.org/show_bug.cgi?id=37804
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- (In reply to den123 from comment #6)
ok. I understand.
PS But agree with me, if software call ExitWindowsEx it's want to restart/shutdown the computer but not the virtual machine.
Every time you cold start application with Wine you can think about it as a computer powerup/boot from application point of view. So to "reboot" just terminate an application and start it again.
If you want this for your own software then you have to implement it on your own, Wine shouldn't be able to shutdown a machine.
Quote Wine (originally an acronym for "Wine Is Not an Emulator") is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, Mac OSX, & BSD. Instead of simulating internal Windows logic like a virtual machine or emulator, Wine translates Windows API calls into POSIX calls on-the-fly
Not sure if it's supposed to prove anything.