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.2 KiB

  1. /*++
  2. Copyright (c) 1994-95 Microsoft Corporation
  3. Module Name:
  4. sstcol.h
  5. Abstract:
  6. Server statistic collection object implementation.
  7. Author:
  8. Don Ryan (donryan) 03-Mar-1995
  9. Environment:
  10. User Mode - Win32
  11. Revision History:
  12. --*/
  13. #ifndef _SSTCOL_H_
  14. #define _SSTCOL_H_
  15. class CServerStatistics : public CCmdTarget
  16. {
  17. DECLARE_DYNCREATE(CServerStatistics)
  18. private:
  19. CCmdTarget* m_pParent;
  20. public:
  21. CObArray* m_pObArray;
  22. public:
  23. CServerStatistics(CCmdTarget* pParent = NULL, CObArray* pObArray = NULL);
  24. virtual ~CServerStatistics();
  25. //{{AFX_VIRTUAL(CServerStatistics)
  26. public:
  27. virtual void OnFinalRelease();
  28. //}}AFX_VIRTUAL
  29. //{{AFX_DISPATCH(CServerStatistics)
  30. afx_msg LPDISPATCH GetApplication();
  31. afx_msg LPDISPATCH GetParent();
  32. afx_msg long GetCount();
  33. afx_msg LPDISPATCH GetItem(const VARIANT FAR& index);
  34. //}}AFX_DISPATCH
  35. DECLARE_DISPATCH_MAP()
  36. protected:
  37. //{{AFX_MSG(CServerStatistics)
  38. // NOTE - the ClassWizard will add and remove member functions here.
  39. //}}AFX_MSG
  40. DECLARE_MESSAGE_MAP()
  41. };
  42. #endif // _SSTCOL_H_