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.

46 lines
719 B

  1. #pragma once
  2. class CWelcomePage : public CPropertyPageImpl<CWelcomePage>
  3. {
  4. typedef CPropertyPageImpl<CWelcomePage> BaseClass;
  5. public:
  6. enum{ IDD = IDD_WP_WELCOME };
  7. BEGIN_MSG_MAP(CWelcomePage)
  8. MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
  9. CHAIN_MSG_MAP(BaseClass)
  10. END_MSG_MAP()
  11. CWelcomePage( CWizardSheet* pTheSheet ) :
  12. m_pTheSheet( pTheSheet ),
  13. BaseClass( IDS_APPTITLE )
  14. {
  15. m_psp.dwFlags |= PSP_HIDEHEADER;
  16. }
  17. LRESULT OnInitDialog( UINT, WPARAM, LPARAM, BOOL& );
  18. BOOL OnSetActive();
  19. private:
  20. bool CanRun();
  21. bool IsAdmin();
  22. bool IsIISRunning();
  23. private:
  24. CWizardSheet* m_pTheSheet;
  25. };