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.

63 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: pseudo.hpp
  14. author: B.Rajeev
  15. purpose: Provides declarations for the class OperationSession.
  16. -------------------------------------------------------*/
  17. #ifndef __PSEUDO_SESSION__
  18. #define __PSEUDO_SESSION__
  19. #include "forward.h"
  20. #include "wsess.h"
  21. // Its windows messaging services
  22. // are used by the operation for internal events
  23. class OperationWindow : public Window
  24. {
  25. private:
  26. // hands the window message events to the owner for processing
  27. SnmpOperation &owner;
  28. // over-rides the callback from WinSnmpSession for window message events
  29. LONG_PTR HandleEvent (
  30. HWND hWnd,
  31. UINT user_msg_id,
  32. WPARAM wParam,
  33. LPARAM lParam
  34. );
  35. public:
  36. OperationWindow (
  37. IN SnmpOperation &owner
  38. );
  39. ~OperationWindow ();
  40. };
  41. #endif // __PSEUDO_SESSION__