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.

91 lines
2.3 KiB

  1. /*++
  2. Copyright (C) 1998-1999 Microsoft Corporation
  3. Module Name:
  4. provdlg.h
  5. Abstract:
  6. Header file for the add trace provider dialog
  7. --*/
  8. #ifndef _PROVDLG_H_
  9. #define _PROVDLG_H_
  10. #if _MSC_VER >= 1000
  11. #pragma once
  12. #endif // _MSC_VER >= 1000
  13. #include "smtraceq.h" // For provider states
  14. // Dialog controls
  15. #define IDD_PROVIDERS_ADD_DLG 1100
  16. #define IDC_PADD_PROVIDER_CAPTION 1011
  17. #define IDC_PADD_FIRST_HELP_CTRL_ID 1012
  18. #define IDC_PADD_PROVIDER_LIST 1012
  19. class CProvidersProperty;
  20. /////////////////////////////////////////////////////////////////////////////
  21. // CProviderListDlg dialog
  22. class CProviderListDlg : public CDialog
  23. {
  24. // Construction
  25. public:
  26. CProviderListDlg(CWnd* pParent=NULL);
  27. virtual ~CProviderListDlg();
  28. void SetProvidersPage( CProvidersProperty* pPage );
  29. // Dialog Data
  30. //{{AFX_DATA(CProvidersProperty)
  31. enum { IDD = IDD_PROVIDERS_ADD_DLG };
  32. // NOTE - ClassWizard will add data members here.
  33. // DO NOT EDIT what you see in these blocks of generated code !
  34. //}}AFX_DATA
  35. // Overrides
  36. // ClassWizard generate virtual function overrides
  37. //{{AFX_VIRTUAL(CProvidersProperty)
  38. public:
  39. virtual void OnFinalRelease();
  40. protected:
  41. virtual BOOL OnInitDialog();
  42. virtual void OnOK();
  43. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  44. //}}AFX_VIRTUAL
  45. // Implementation
  46. protected:
  47. // Generated message map functions
  48. //{{AFX_MSG(CProvidersProperty)
  49. afx_msg BOOL OnHelpInfo( HELPINFO* );
  50. afx_msg void OnContextMenu( CWnd*, CPoint );
  51. //}}AFX_MSG
  52. DECLARE_MESSAGE_MAP()
  53. // Generated OLE dispatch map functions
  54. //{{AFX_DISPATCH(CProvidersProperty)
  55. // NOTE - the ClassWizard will add and remove member functions here.
  56. //}}AFX_DISPATCH
  57. private:
  58. DWORD InitProviderListBox ( void );
  59. CArray<CSmTraceLogQuery::eProviderState, CSmTraceLogQuery::eProviderState&> m_arrProviders;
  60. CProvidersProperty* m_pProvidersPage;
  61. DWORD m_dwMaxHorizListExtent;
  62. };
  63. //{{AFX_INSERT_LOCATION}}
  64. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  65. #endif // _PROVDLG_H_