dbimpl.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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. // Note: must include AFXDB.H first
  11. #undef AFX_DATA
  12. #define AFX_DATA AFX_DB_DATA
  13. /////////////////////////////////////////////////////////////////////////////
  14. // _AFX_DB_STATE
  15. #undef AFX_DATA
  16. #define AFX_DATA
  17. class _AFX_DB_STATE : public CNoTrackObject
  18. {
  19. public:
  20. // MFC/DB global data
  21. HENV m_henvAllConnections; // per-app HENV (CDatabase)
  22. int m_nAllocatedConnections; // per-app reference to HENV above
  23. };
  24. EXTERN_PROCESS_LOCAL(_AFX_DB_STATE, _afxDbState)
  25. #undef AFX_DATA
  26. #define AFX_DATA
  27. /////////////////////////////////////////////////////////////////////////////