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.

60 lines
2.5 KiB

  1. //---------------------------------------------------------------------------
  2. // Stdafx.h : Include file for standard system include files
  3. //
  4. // Copyright (c) 1996 Microsoft Corporation, All Rights Reserved
  5. // Developed by Sheridan Software Systems, Inc.
  6. //---------------------------------------------------------------------------
  7. #include "ipserver.h" // Inprocess server header
  8. #include "ARRAY_P.h"
  9. #include "ocdb.h" // OLE controls data bindings interfaces
  10. #include "ocdbid.h"
  11. #define OLEDBVER 0x0200
  12. #include "oledb.h" // OLE DB interfaces
  13. #include "oledberr.h"
  14. #include "util.h" // useful utilities
  15. #include "ErrorInf.h" // for format error messages
  16. #define VD_DLL_PREFIX "MSR2C"
  17. #define VD_INCLUDE_ROWPOSITION
  18. //=--------------------------------------------------------------------------=
  19. // object construction/destruction counters (debug only)
  20. //
  21. #ifdef _DEBUG
  22. extern int g_cVDNotifierCreated; // CVDNotifier
  23. extern int g_cVDNotifierDestroyed;
  24. extern int g_cVDNotifyDBEventsConnPtCreated; // CVDNotifyDBEventsConnPt
  25. extern int g_cVDNotifyDBEventsConnPtDestroyed;
  26. extern int g_cVDNotifyDBEventsConnPtContCreated; // CVDNotifyDBEventsConnPtCont
  27. extern int g_cVDNotifyDBEventsConnPtContDestroyed;
  28. extern int g_cVDEnumConnPointsCreated; // CVDEnumConnPoints
  29. extern int g_cVDEnumConnPointsDestroyed;
  30. extern int g_cVDRowsetColumnCreated; // CVDRowsetColumn
  31. extern int g_cVDRowsetColumnDestroyed;
  32. extern int g_cVDRowsetSourceCreated; // CVDRowsetSource
  33. extern int g_cVDRowsetSourceDestroyed;
  34. extern int g_cVDCursorMainCreated; // CVDCursorMain
  35. extern int g_cVDCursorMainDestroyed;
  36. extern int g_cVDCursorPositionCreated; // CVDCursorPosition
  37. extern int g_cVDCursorPositionDestroyed;
  38. extern int g_cVDCursorBaseCreated; // CVDCursorBase
  39. extern int g_cVDCursorBaseDestroyed;
  40. extern int g_cVDCursorCreated; // CVDCursor
  41. extern int g_cVDCursorDestroyed;
  42. extern int g_cVDMetadataCursorCreated; // CVDMetadataCursor
  43. extern int g_cVDMetadataCursorDestroyed;
  44. extern int g_cVDEntryIDDataCreated; // CVDEntryIDData
  45. extern int g_cVDEntryIDDataDestroyed;
  46. extern int g_cVDStreamCreated; // CVDStream
  47. extern int g_cVDStreamDestroyed;
  48. extern int g_cVDColumnUpdateCreated; // CVDColumnUpdate
  49. extern int g_cVDColumnUpdateDestroyed;
  50. #endif // _DEBUG