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.

92 lines
1.6 KiB

  1. #ifndef __TSMISC_H__
  2. #define __TSMISC_H__
  3. /*++
  4. Copyright (C) Microsoft Corporation
  5. Module Name:
  6. tsmisc.h
  7. Abstract:
  8. header file for tsmain.cpp
  9. Author:
  10. Jason Cobb (jasonc) created
  11. Revision History:
  12. --*/
  13. //
  14. // Class that represents a single wizard page for the following problems:
  15. //
  16. // Enable device
  17. // Restart
  18. //
  19. class CTSEnableDeviceIntroPage : public CPropSheetPage
  20. {
  21. public:
  22. CTSEnableDeviceIntroPage() :
  23. m_pDevice(NULL),
  24. m_Problem(0),
  25. CPropSheetPage(g_hInstance, IDD_TS_ENABLEDEVICE_INTRO)
  26. {
  27. }
  28. virtual BOOL OnWizNext();
  29. virtual BOOL OnSetActive();
  30. HPROPSHEETPAGE Create(CDevice* pDevice);
  31. private:
  32. CDevice* m_pDevice;
  33. ULONG m_Problem;
  34. };
  35. class CTSEnableDeviceFinishPage : public CPropSheetPage
  36. {
  37. public:
  38. CTSEnableDeviceFinishPage() :
  39. m_pDevice(NULL),
  40. m_Problem(0),
  41. CPropSheetPage(g_hInstance, IDD_TS_ENABLEDEVICE_FINISH)
  42. {
  43. }
  44. virtual BOOL OnWizFinish();
  45. virtual BOOL OnSetActive();
  46. HPROPSHEETPAGE Create(CDevice* pDevice);
  47. private:
  48. CDevice* m_pDevice;
  49. ULONG m_Problem;
  50. };
  51. class CTSRestartComputerFinishPage : public CPropSheetPage
  52. {
  53. public:
  54. CTSRestartComputerFinishPage() :
  55. m_pDevice(NULL),
  56. m_Problem(0),
  57. CPropSheetPage(g_hInstance, IDD_TS_RESTARTCOMPUTER_FINISH)
  58. {
  59. }
  60. virtual BOOL OnWizFinish();
  61. virtual BOOL OnSetActive();
  62. HPROPSHEETPAGE Create(CDevice* pDevice);
  63. private:
  64. CDevice* m_pDevice;
  65. ULONG m_Problem;
  66. };
  67. #endif // __TSMISC__