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.

48 lines
864 B

  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. #ifndef __SNMPTHREAD_SNMPEVT_H__
  13. #define __SNMPTHREAD_SNMPEVT_H__
  14. #ifdef SNMPTHRD_INIT
  15. class __declspec ( dllexport ) SnmpEventObject
  16. #else
  17. class __declspec ( dllimport ) SnmpEventObject
  18. #endif
  19. {
  20. private:
  21. HANDLE m_event ;
  22. protected:
  23. public:
  24. SnmpEventObject ( const wchar_t *globalEventName = NULL ) ;
  25. virtual ~SnmpEventObject () ;
  26. HANDLE GetHandle () ;
  27. void Set () ;
  28. void Clear () ;
  29. virtual void Process () ;
  30. virtual BOOL Wait () ;
  31. virtual void Complete () ;
  32. } ;
  33. #endif //__SNMPTHREAD_SNMPEVT_H__