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.

78 lines
2.1 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation 1996-2001.
  5. //
  6. // File: aservice.h
  7. //
  8. // Contents: definition of CAnalysisService
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_ATTRSERVICE_H__44850C1C_350B_11D1_AB4F_00C04FB6C6FA__INCLUDED_)
  12. #define AFX_ATTRSERVICE_H__44850C1C_350B_11D1_AB4F_00C04FB6C6FA__INCLUDED_
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CAnalysisService dialog
  18. class CAnalysisService : public CAttribute
  19. {
  20. // Construction
  21. public:
  22. void Initialize(CResult *pResult);
  23. CAnalysisService(); // standard constructor
  24. virtual ~CAnalysisService();
  25. // Dialog Data
  26. //{{AFX_DATA(CAnalysisService)
  27. enum { IDD = IDD_ANALYSIS_SERVICE };
  28. int m_nStartupRadio;
  29. CButton m_bPermission;
  30. CString m_CurrentStr;
  31. //}}AFX_DATA
  32. // Overrides
  33. // ClassWizard generated virtual function overrides
  34. //{{AFX_VIRTUAL(CAnalysisService)
  35. protected:
  36. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. protected:
  40. // Generated message map functions
  41. //{{AFX_MSG(CAnalysisService)
  42. virtual BOOL OnApply();
  43. virtual void OnCancel();
  44. virtual BOOL OnQueryCancel();
  45. virtual BOOL OnInitDialog();
  46. afx_msg void OnConfigure();
  47. afx_msg void OnChangeSecurity();
  48. afx_msg void OnShowSecurity();
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. public:
  52. private:
  53. PSECURITY_DESCRIPTOR m_pNewSD;
  54. SECURITY_INFORMATION m_NewSeInfo;
  55. PSECURITY_DESCRIPTOR m_pAnalSD;
  56. HWND m_hwndShow;
  57. HWND m_hwndChange;
  58. SECURITY_INFORMATION m_SecInfo;
  59. CModelessSceEditor *m_pEditSec;
  60. CModelessSceEditor *m_pShowSec;
  61. };
  62. //{{AFX_INSERT_LOCATION}}
  63. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  64. #endif // !defined(AFX_ATTRSERVICE_H__44850C1C_350B_11D1_AB4F_00C04FB6C6FA__INCLUDED_)