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.

69 lines
1.4 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corp., 1992 **/
  4. /**********************************************************************/
  5. /*
  6. w32sync.hxx
  7. Class declarations for the WIN32_SYNC_BASE class.
  8. <Multi-Line, more detailed synopsis>
  9. FILE HISTORY:
  10. KeithMo 21-Jan-1992 Created.
  11. */
  12. #ifndef _W32SYNC_HXX_
  13. #define _W32SYNC_HXX_
  14. #include "w32handl.hxx"
  15. /*************************************************************************
  16. NAME: WIN32_SYNC_BASE
  17. SYNOPSIS:
  18. INTERFACE: WIN32_SYNC_BASE - Class constructor.
  19. ~WIN32_SYNC_BASE - Class destructor.
  20. PARENT: WIN32_HANDLE
  21. USES:
  22. CAVEATS:
  23. NOTES:
  24. HISTORY:
  25. KeithMo 21-Jan-1992 Created.
  26. **************************************************************************/
  27. DLL_CLASS WIN32_SYNC_BASE : public WIN32_HANDLE
  28. {
  29. protected:
  30. //
  31. // Since this is an abstract class, the constructor is protected.
  32. //
  33. WIN32_SYNC_BASE( HANDLE hSyncObject = NULL );
  34. public:
  35. ~WIN32_SYNC_BASE();
  36. //
  37. // Wait for the object to enter the signaled state.
  38. //
  39. APIERR Wait( UINT cMilliseconds = -1 );
  40. }; // class WIN32_SYNC_BASE
  41. #endif // _W32SYNC_HXX_