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.

51 lines
1.4 KiB

  1. // HMEventResultsPaneItem.h: interface for the CHMEventResultsPaneItem class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_HMEVENTRESULTSPANEITEM_H__E86D3B5F_2E46_11D3_BE0F_0000F87A3912__INCLUDED_)
  5. #define AFX_HMEVENTRESULTSPANEITEM_H__E86D3B5F_2E46_11D3_BE0F_0000F87A3912__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include "HMResultsPaneItem.h"
  10. class CHMEventResultsPaneItem : public CHMResultsPaneItem
  11. {
  12. DECLARE_DYNCREATE(CHMEventResultsPaneItem)
  13. // Construction/Destruction
  14. public:
  15. CHMEventResultsPaneItem();
  16. virtual ~CHMEventResultsPaneItem();
  17. // Event Data Members
  18. public:
  19. SYSTEMTIME m_st;
  20. int m_iState;
  21. CString m_sGuid;
  22. // Display Names Members
  23. public:
  24. virtual CString GetDisplayName(int nIndex = 0);
  25. int GetDateTimeColumn() { return m_iDateTimeColumn; }
  26. void SetDateTimeColumn(int iIndex) { m_iDateTimeColumn = iIndex; }
  27. protected:
  28. int m_iDateTimeColumn;
  29. // MMC-Related Members
  30. public:
  31. virtual int CompareItem(CResultsPaneItem* pItem, int iColumn = 0);
  32. virtual HRESULT WriteExtensionData(LPSTREAM pStream);
  33. // MMC Notify Handlers
  34. public:
  35. virtual HRESULT OnAddMenuItems(LPCONTEXTMENUCALLBACK piCallback,long __RPC_FAR *pInsertionAllowed);
  36. virtual HRESULT OnCommand(CResultsPane* pPane, long lCommandID);
  37. };
  38. #endif // !defined(AFX_HMEVENTRESULTSPANEITEM_H__E86D3B5F_2E46_11D3_BE0F_0000F87A3912__INCLUDED_)