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.

68 lines
1.2 KiB

  1. //***************************************************************************
  2. //
  3. // File:
  4. //
  5. // Module: MS SNMP Provider
  6. //
  7. // Purpose:
  8. //
  9. // Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
  10. //
  11. //***************************************************************************
  12. /*-----------------------------------------------------------------
  13. Filename: dummy.hpp
  14. Written By: B.Rajeev
  15. Purpose:
  16. Provides a derivative of the WinSnmpSession class for the SnmpImpSession
  17. class for manipulating WinSnmp information and processing Windows
  18. messages
  19. -----------------------------------------------------------------*/
  20. #ifndef __DUMMY_SESSION__
  21. #define __DUMMY_SESSION__
  22. #include "forward.h"
  23. #include "wsess.h"
  24. #include "reg.h"
  25. class SessionWindow : public Window
  26. {
  27. SnmpImpSession &owner;
  28. // over-rides the HandlerEvent method provided by the
  29. // WinSnmpSession. Alerts the owner of a sent frame event
  30. LONG_PTR HandleEvent (
  31. HWND hWnd ,
  32. UINT message ,
  33. WPARAM wParam ,
  34. LPARAM lParam
  35. );
  36. public:
  37. SessionWindow (
  38. IN SnmpImpSession &owner
  39. ) : owner(owner) {}
  40. ~SessionWindow () {}
  41. };
  42. #endif // __DUMMY_SESSION__