home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / mfc / src / dbimpl.h < prev    next >
C/C++ Source or Header  |  1998-06-16  |  1KB  |  36 lines

  1. // This is a part of the Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992-1998 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Microsoft Foundation Classes Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Microsoft Foundation Classes product.
  10.  
  11. // Note: must include AFXDB.H first
  12.  
  13. #undef AFX_DATA
  14. #define AFX_DATA AFX_DB_DATA
  15.  
  16. /////////////////////////////////////////////////////////////////////////////
  17. // _AFX_DB_STATE
  18.  
  19. #undef AFX_DATA
  20. #define AFX_DATA
  21.  
  22. class _AFX_DB_STATE : public CNoTrackObject
  23. {
  24. public:
  25.     // MFC/DB global data
  26.     HENV m_henvAllConnections;      // per-app HENV (CDatabase)
  27.     int m_nAllocatedConnections;    // per-app reference to HENV above
  28. };
  29.  
  30. EXTERN_PROCESS_LOCAL(_AFX_DB_STATE, _afxDbState)
  31.  
  32. #undef AFX_DATA
  33. #define AFX_DATA
  34.  
  35. /////////////////////////////////////////////////////////////////////////////
  36.