1 使用EWX_SHUTDOWN標誌調用ExitWindowsEx API函數。 您可以在這裏找到一個樣本:How to Shut Down the System 來源 2010-11-12 14:39:59