Value <br><br>EWX_POWEROFF Shuts down the system and turns off the power. The system must support the power-off feature.<br>EWX_REBOOT Shuts down the system and then restarts the system. <br>EWX_LOGOFF Shuts down all processes running in the security context of the process that called the ExitWindowsEx function. Then it logs the user off.<br><br> ExitWindowsEx(EWX_LOGOFF, 0);『 注销』<br> ExitWindowsEx(EWX_REBOOT, 0);重起<br> ExitWindowsEx(EWX_POWEROFF, 0);关机<br><br><br>