REBOOT/SHUTDOWN
To reboot Windows use this line : ExitWindowsEx(EWX_REBOOT+EWX_FORCE,0);