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. w32mutex.hxx
  7. Class declarations for the WIN32_MUTEX class.
  8. <Multi-Line, more detailed synopsis>
  9. FILE HISTORY:
  10. KeithMo 21-Jan-1992 Created.
  11. */
  12. #ifndef _W32MUTEX_HXX_
  13. #define _W32MUTEX_HXX_
  14. #include "w32sync.hxx"
  15. /*************************************************************************
  16. NAME: WIN32_MUTEX
  17. SYNOPSIS:
  18. INTERFACE: WIN32_MUTEX - Class constructor.
  19. ~WIN32_MUTEX - Class destructor.
  20. PARENT:
  21. USES:
  22. CAVEATS:
  23. NOTES:
  24. HISTORY:
  25. KeithMo 21-Jan-1992 Created.
  26. **************************************************************************/
  27. DLL_CLASS WIN32_MUTEX : public WIN32_SYNC_BASE
  28. {
  29. public:
  30. //
  31. // Usual constructor/destructor goodies.
  32. //
  33. WIN32_MUTEX( const TCHAR * pszName = NULL,
  34. BOOL fInitialOwner = FALSE );
  35. ~WIN32_MUTEX();
  36. //
  37. // Release the mutex.
  38. //
  39. APIERR Release( VOID );
  40. }; // class WIN32_MUTEX
  41. #endif // _W32MUTEX_HXX_