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.

74 lines
1.4 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corp., 1992 **/
  4. /**********************************************************************/
  5. /*
  6. w32event.hxx
  7. Class declarations for the WIN32_EVENT class.
  8. <Multi-Line, more detailed synopsis>
  9. FILE HISTORY:
  10. KeithMo 21-Jan-1992 Created.
  11. */
  12. #ifndef _W32EVENT_HXX_
  13. #define _W32EVENT_HXX_
  14. #include "w32sync.hxx"
  15. /*************************************************************************
  16. NAME: WIN32_EVENT
  17. SYNOPSIS:
  18. INTERFACE: WIN32_EVENT - Class constructor.
  19. ~WIN32_EVENT - Class destructor.
  20. PARENT:
  21. USES:
  22. CAVEATS:
  23. NOTES:
  24. HISTORY:
  25. KeithMo 21-Jan-1992 Created.
  26. **************************************************************************/
  27. DLL_CLASS WIN32_EVENT : public WIN32_SYNC_BASE
  28. {
  29. public:
  30. //
  31. // Usual constructor/destructor goodies.
  32. //
  33. WIN32_EVENT( const TCHAR * pszName = NULL,
  34. BOOL fManualReset = TRUE,
  35. BOOL fInitialState = FALSE );
  36. ~WIN32_EVENT();
  37. //
  38. // Event manipulation.
  39. //
  40. APIERR Set( VOID );
  41. APIERR Reset( VOID );
  42. APIERR Pulse( VOID );
  43. }; // class WIN32_EVENT
  44. #endif // _W32EVENT_HXX_