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.

62 lines
1.3 KiB

  1. // MaxTraceDlg.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include <tchar.h>
  5. #include <wmistr.h>
  6. #include <initguid.h>
  7. extern "C" {
  8. #include <evntrace.h>
  9. }
  10. #include <traceprt.h>
  11. #include "TraceView.h"
  12. #include "LogSession.h"
  13. #include "DisplayDlg.h"
  14. #include "ProviderFormatInfo.h"
  15. #include "ProviderFormatSelectionDlg.h"
  16. #include "ListCtrlEx.h"
  17. #include "LogSessionDlg.h"
  18. #include "LogDisplayOptionDlg.h"
  19. #include "LogSessionInformationDlg.h"
  20. #include "ProviderSetupDlg.h"
  21. #include "LogSessionPropSht.h"
  22. #include "LogSessionOutputOptionDlg.h"
  23. #include "DockDialogBar.h"
  24. #include "LogFileDlg.h"
  25. #include "Utils.h"
  26. #include "MainFrm.h"
  27. #include "ProviderControlGUIDDlg.h"
  28. #include "MaxTraceDlg.h"
  29. extern LONG MaxTraceEntries;
  30. // CMaxTraceDlg dialog
  31. IMPLEMENT_DYNAMIC(CMaxTraceDlg, CDialog)
  32. CMaxTraceDlg::CMaxTraceDlg(CWnd* pParent /*=NULL*/)
  33. : CDialog(CMaxTraceDlg::IDD, pParent)
  34. , m_MaxTraceEntries(0)
  35. {
  36. m_MaxTraceEntries = MaxTraceEntries;
  37. }
  38. CMaxTraceDlg::~CMaxTraceDlg()
  39. {
  40. }
  41. void CMaxTraceDlg::DoDataExchange(CDataExchange* pDX)
  42. {
  43. CDialog::DoDataExchange(pDX);
  44. DDX_Text(pDX, IDC_MAX_TRACE, m_MaxTraceEntries);
  45. DDV_MinMaxUInt(pDX, m_MaxTraceEntries, 100, 500000);
  46. }
  47. BEGIN_MESSAGE_MAP(CMaxTraceDlg, CDialog)
  48. END_MESSAGE_MAP()
  49. // CMaxTraceDlg message handlers