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.

38 lines
886 B

  1. // MmcMsgHook.h: interface for the CMmcMsgHook class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_MMCMSGHOOK_H__4A1FD82C_36DE_11D2_8A48_0000F87A3912__INCLUDED_)
  5. #define AFX_MMCMSGHOOK_H__4A1FD82C_36DE_11D2_8A48_0000F87A3912__INCLUDED_
  6. #if _MSC_VER >= 1000
  7. #pragma once
  8. #endif // _MSC_VER >= 1000
  9. #include "MsgHook.h"
  10. #include "ScopePaneItem.h"
  11. class CMmcMsgHook : public CMsgHook
  12. {
  13. DECLARE_DYNCREATE(CMmcMsgHook)
  14. // Construction/Destruction
  15. public:
  16. CMmcMsgHook();
  17. virtual ~CMmcMsgHook();
  18. // Operations
  19. public:
  20. BOOL Init(CScopePaneItem* pItem, HWND hMainMMCWnd);
  21. // Implementation Operations
  22. protected:
  23. virtual LRESULT WindowProc(UINT msg, WPARAM wp, LPARAM lp);
  24. // Implementation Attributes
  25. protected:
  26. CScopePaneItem* m_pScopeItem;
  27. };
  28. #endif // !defined(AFX_MMCMSGHOOK_H__4A1FD82C_36DE_11D2_8A48_0000F87A3912__INCLUDED_)