Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
693 B

  1. // Copyright (c) 1997-1999 Microsoft Corporation
  2. #ifndef __REBOOTPAGE__
  3. #define __REBOOTPAGE__
  4. #pragma once
  5. #include "..\Common\WbemPageHelper.h"
  6. //-----------------------------------------------------------------------------
  7. class RebootPage : public WBEMPageHelper
  8. {
  9. private:
  10. void Init(HWND hDlg);
  11. bool Doit(HWND hDlg);
  12. CWbemClassObject m_OS;
  13. public:
  14. RebootPage(WbemServiceThread *serviceThread);
  15. ~RebootPage();
  16. INT_PTR DoModal(HWND hDlg);
  17. INT_PTR CALLBACK DlgProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam);
  18. };
  19. INT_PTR CALLBACK StaticRebootDlgProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam);
  20. #endif __REBOOTPAGE__