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.

87 lines
2.0 KiB

  1. /*++
  2. Copyright (C) 1998-1999 Microsoft Corporation
  3. Module Name:
  4. LogWarnd.h
  5. Abstract:
  6. Class definition for the expensive trace data warning dialog.
  7. --*/
  8. #ifndef _LOGWARND_H_
  9. #define _LOGWARND_H_
  10. #if _MSC_VER > 1000
  11. #pragma once
  12. #endif // _MSC_VER > 1000
  13. // Dialog controls
  14. #define IDD_LOGTYPEWARN 1400
  15. #define IDC_LWARN_MSG_WARN 1401
  16. #define IDC_LWARN_FIRST_HELP_CTRL_ID 1402
  17. #define IDC_LWARN_CHECK_NO_MORE_LOG_TYPE 1402
  18. #define SMONCTRL_LOG 10
  19. #define ID_ERROR_COUNTER_LOG 0
  20. #define ID_ERROR_TRACE_LOG 1
  21. #define ID_ERROR_ALERT_LOG 2
  22. #define ID_ERROR_SMONCTRL_LOG 3
  23. #define ID_ERROR_UNKNOWN_LOG 4
  24. /////////////////////////////////////////////////////////////////////////////
  25. // CLogWarnd dialog
  26. class CLogWarnd: public CDialog
  27. {
  28. // Construction
  29. public:
  30. CLogWarnd(CWnd* pParent = NULL); // standard constructor
  31. virtual ~CLogWarnd(){};
  32. void SetTitleString ( CString& strTitle ) { m_strTitle = strTitle; };
  33. // Dialog Data
  34. //{{AFX_DATA(CLogWarnd)
  35. enum { IDD = IDD_LOGTYPEWARN };
  36. BOOL m_CheckNoMore;
  37. INT m_ErrorMsg;
  38. DWORD m_dwLogType;
  39. HKEY m_hKey;
  40. CString m_strContextHelpFile;
  41. //}}AFX_DATA
  42. // Overrides
  43. // ClassWizard generated virtual function overrides
  44. //{{AFX_VIRTUAL(CLogWarnd)
  45. protected:
  46. virtual BOOL OnInitDialog();
  47. virtual void OnOK();
  48. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  49. //}}AFX_VIRTUAL
  50. // Implementation
  51. protected:
  52. // Generated message map functions
  53. //{{AFX_MSG(CLogWarnd)
  54. afx_msg void OnCheckNoMoreLogType();
  55. afx_msg BOOL OnHelpInfo( HELPINFO* );
  56. afx_msg void OnContextMenu( CWnd*, CPoint );
  57. //}}AFX_MSG
  58. DECLARE_MESSAGE_MAP()
  59. private:
  60. CString m_strTitle;
  61. };
  62. //{{AFX_INSERT_LOCATION}}
  63. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  64. #endif // _LOGWARND_H_