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.

44 lines
818 B

  1. //***************************************************************************
  2. //
  3. // PROVEVT.H
  4. //
  5. // Module: OLE MS PROVIDER FRAMEWORK
  6. //
  7. // Copyright (c) 1996-2001 Microsoft Corporation, All Rights Reserved
  8. //
  9. //***************************************************************************
  10. #ifndef __PROVEVT_H__
  11. #define __PROVEVT_H__
  12. #ifdef PROVIMEX_INIT
  13. class __declspec ( dllexport ) ProvEventObject
  14. #else
  15. class __declspec ( dllimport ) ProvEventObject
  16. #endif
  17. {
  18. private:
  19. HANDLE m_event ;
  20. protected:
  21. public:
  22. ProvEventObject ( const TCHAR *globalEventName = NULL ) ;
  23. virtual ~ProvEventObject () ;
  24. HANDLE GetHandle () ;
  25. void Set () ;
  26. void Clear () ;
  27. virtual void Process () ;
  28. virtual BOOL Wait () ;
  29. virtual void Complete () ;
  30. } ;
  31. #endif //__PROVEVT_H__