https://bugs.winehq.org/show_bug.cgi?id=37804
Bug ID: 37804 Summary: ExitWindowsEx do not work Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: den.aria@gmail.com Distribution: ---
function ExitWindowsEx do not restart or shutdown dwFlags := EWX_FORCE or EWX_FORCEIFHUNG; case AFlag of 0: dwFlags := dwFlags or EWX_REBOOT; 1: dwFlags := dwFlags or EWX_POWEROFF; 2: dwFlags := dwFlags or EWX_LOGOFF; end; ExitWindowsEx(dwFlags, 0);