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.

61 lines
1.7 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation 1996-2001.
  5. //
  6. // File: CAudit.h
  7. //
  8. // Contents: definition of CConfigAudit
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_CAUDIT_H__4CF5E61F_E353_11D0_9C6D_00C04FB6C6FA__INCLUDED_)
  12. #define AFX_CAUDIT_H__4CF5E61F_E353_11D0_9C6D_00C04FB6C6FA__INCLUDED_
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. #include "resource.h"
  17. #include "attr.h"
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CConfigAudit dialog
  20. class CConfigAudit : public CAttribute
  21. {
  22. // Construction
  23. public:
  24. virtual void Initialize(CResult *pResult);
  25. virtual void SetInitialValue(DWORD_PTR dw);
  26. CConfigAudit(UINT nTemplateID); // standard constructor
  27. // Dialog Data
  28. //{{AFX_DATA(CConfigAudit)
  29. enum { IDD = IDD_CONFIG_AUDIT };
  30. BOOL m_fFailed;
  31. BOOL m_fSuccessful;
  32. //}}AFX_DATA
  33. // Overrides
  34. // ClassWizard generated virtual function overrides
  35. //{{AFX_VIRTUAL(CConfigAudit)
  36. protected:
  37. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  38. //}}AFX_VIRTUAL
  39. // Implementation
  40. protected:
  41. // Generated message map functions
  42. //{{AFX_MSG(CConfigAudit)
  43. virtual BOOL OnApply();
  44. virtual BOOL OnInitDialog();
  45. afx_msg void OnFailed();
  46. afx_msg void OnSuccessful();
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. };
  50. //{{AFX_INSERT_LOCATION}}
  51. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  52. #endif // !defined(AFX_CAUDIT_H__4CF5E61F_E353_11D0_9C6D_00C04FB6C6FA__INCLUDED_)