Actually restart rather than just logging off (#20469)
Follow-up #20441
Summary of the issue:
The changes in #20441 only log the user off, and do not actually restart the system.
Description of user facing changes:
The restart button shown by the installer will actually restart the system.
Description of developer facing changes:
Added the winBindings.user32.EWX.REBOOT enum variant.
Description of development approach:
Turns out the EWX_RESTARTAPPS flag only indicates that apps should be restarted; it doesn't actually cause the system to restart. In order to restart the system and restart apps, it has to be used in conjunction with the EWX_REBOOT flag.
I'm not sure how I missed this while testing the original PR, as I'm pretty sure it worked then.