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.

72 lines
1.9 KiB

  1. /*******************************************************************************
  2. *
  3. * (C) COPYRIGHT MICROSOFT CORP., 2000
  4. *
  5. * TITLE: Wizpage.h
  6. *
  7. * VERSION: 1.0
  8. *
  9. * AUTHOR: KeisukeT
  10. *
  11. * DATE: 27 Mar, 2000
  12. *
  13. * DESCRIPTION:
  14. * Generic wizard page class header file.
  15. *
  16. *******************************************************************************/
  17. #ifndef _WIZPAGE_H_
  18. #define _WIZPAGE_H_
  19. //
  20. // Include
  21. //
  22. #include "sti_ci.h"
  23. #include "device.h"
  24. //
  25. // Class
  26. //
  27. class CInstallWizardPage
  28. {
  29. static
  30. INT_PTR
  31. CALLBACK
  32. PageProc(
  33. HWND hwndPage,
  34. UINT uiMessage,
  35. WPARAM wParam,
  36. LPARAM lParam
  37. );
  38. PROPSHEETPAGE m_PropSheetPage; // This property sheet page
  39. HPROPSHEETPAGE m_hPropSheetPage; // Handle to this prop sheet page
  40. protected:
  41. UINT m_uPreviousPage; // Resource ID of previous page
  42. UINT m_uNextPage; // Resource ID of next page
  43. HWND m_hwnd; // Window handle to this page
  44. HWND m_hwndWizard; // Window handle to wizard
  45. CDevice *m_pCDevice; // Device class object.
  46. BOOL m_bNextButtonPushed; // Indicates how page was moved.
  47. public:
  48. CInstallWizardPage(PINSTALLER_CONTEXT pInstallerContext,
  49. UINT uTemplate
  50. );
  51. ~CInstallWizardPage();
  52. HPROPSHEETPAGE Handle() { return m_hPropSheetPage; }
  53. virtual BOOL OnInit(){ return TRUE; }
  54. virtual BOOL OnNotify( LPNMHDR lpnmh ) { return FALSE; }
  55. virtual BOOL OnCommand(WORD wItem, WORD wNotifyCode, HWND hwndItem){ return FALSE; }
  56. };
  57. #endif // !_WIZPAGE_H_