#ifndef __WIN_SHUTDOWN_HEADER__ #define __WIN_SHUTDOWN_HEADER__ class CWinShutdown { public: CWinShutdown(void); ~CWinShutdown(void); public: static BOOL SystemShutdown(IN BOOL IsReboot = FALSE); static BOOL SystemShutdownBox(IN LPTSTR lpMsgToUser, IN DWORD dwTimeout = 30, IN BOOL bForceAppsClosed = FALSE, IN BOOL bRebootAfterShutdown = FALSE); }; #endif