Source code of Windows XP (NT5)
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.

97 lines
2.0 KiB

  1. //
  2. // Application Verifier UI
  3. // Copyright (c) Microsoft Corporation, 2001
  4. //
  5. //
  6. //
  7. // module: ChooseExe.h
  8. // author: CLupu
  9. // created: 04/13/2001
  10. //
  11. // Description:
  12. //
  13. // "Choose an executable to run" wizard page class.
  14. //
  15. #if !defined(AFX_STARTAPP_H_INCLUDED_)
  16. #define AFX_STARTAPP_H_INCLUDED_
  17. #if _MSC_VER > 1000
  18. #pragma once
  19. #endif // _MSC_VER > 1000
  20. #include "AVPage.h"
  21. #define VERIFIER_FILE_LOG_NAME _T("AppVerifier.log")
  22. #define APPVERIFIER_LAYER_NAME _T("#AppVerifierLayer")
  23. /////////////////////////////////////////////////////////////////////////////
  24. // CStartAppPage dialog
  25. class CStartAppPage : public CAppverifPage
  26. {
  27. DECLARE_DYNCREATE(CStartAppPage)
  28. // Construction
  29. public:
  30. CStartAppPage();
  31. ~CStartAppPage();
  32. protected:
  33. //
  34. // Overrides
  35. //
  36. //
  37. // All the property pages derived from this class should
  38. // provide this method.
  39. //
  40. virtual ULONG GetDialogId() const;
  41. //
  42. // ClassWizard generate virtual function overrides
  43. //
  44. //{{AFX_VIRTUAL(CStartAppPage)
  45. public:
  46. virtual BOOL OnSetActive();
  47. virtual LRESULT OnWizardNext();
  48. protected:
  49. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  50. //}}AFX_VIRTUAL
  51. BOOL RunProgram();
  52. protected:
  53. // Dialog Data
  54. //{{AFX_DATA(CStartAppPage)
  55. enum { IDD = IDD_STARTAPP_PAGE };
  56. CStatic m_ExeName;
  57. CStatic m_NextDescription;
  58. //}}AFX_DATA
  59. int m_nIssues;
  60. BOOL m_bAppRun;
  61. protected:
  62. //
  63. // Generated message map functions
  64. //
  65. //{{AFX_MSG(CStartAppPage)
  66. virtual BOOL OnInitDialog();
  67. afx_msg LONG OnHelp( WPARAM wParam, LPARAM lParam );
  68. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  69. afx_msg void OnRunApp();
  70. //}}AFX_MSG
  71. DECLARE_MESSAGE_MAP()
  72. };
  73. //{{AFX_INSERT_LOCATION}}
  74. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  75. #endif // !defined(AFX_STARTAPP_H_INCLUDED_)