home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / advanced / mutexes / mutexes.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.6 KB  |  52 lines

  1. // mutexes.h : main header file for the MUTEXES application
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12. //
  13. // This sample application is derived from the Mutex application
  14. // distributed with Jeffrey Richter's "Advanced Windows" programming book
  15. // (Microsoft Press).  See the book for more information about Win32
  16. // programming topics, including thread synchronization.
  17.  
  18. #ifndef __AFXWIN_H__
  19.     #error include 'stdafx.h' before including this file for PCH
  20. #endif
  21.  
  22. #include "resource.h"       // main symbols
  23.  
  24. /////////////////////////////////////////////////////////////////////////////
  25. // CMutexesApp:
  26. // See mutexes.cpp for the implementation of this class
  27. //
  28.  
  29. class CMutexesApp : public CWinApp
  30. {
  31. public:
  32.     CMutexesApp();
  33.  
  34. // Overrides
  35.     // ClassWizard generated virtual function overrides
  36.     //{{AFX_VIRTUAL(CMutexesApp)
  37.     public:
  38.     virtual BOOL InitInstance();
  39.     //}}AFX_VIRTUAL
  40.  
  41. // Implementation
  42.  
  43.     //{{AFX_MSG(CMutexesApp)
  44.         // NOTE - the ClassWizard will add and remove member functions here.
  45.         //    DO NOT EDIT what you see in these blocks of generated code !
  46.     //}}AFX_MSG
  47.     DECLARE_MESSAGE_MAP()
  48. };
  49.  
  50.  
  51. /////////////////////////////////////////////////////////////////////////////
  52.