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.

90 lines
1.9 KiB

  1. //--------------------------------------------------------------------
  2. // Microsoft OLE-DB Monarch
  3. //
  4. // Copyright (c) Microsoft Corporation, 1997 - 1999.
  5. //
  6. // module msidxtr.h | Standard includes for msidxtr project.
  7. //
  8. //
  9. // rev 0 | 3-4-97 | v-charca | Created
  10. #ifndef _MSIDXTR_H_
  11. #define _MSIDXTR_H_
  12. // Don't include everything from windows.h, but always bring in OLE 2 support
  13. #if !defined(WIN32_LEAN_AND_MEAN)
  14. #define WIN32_LEAN_AND_MEAN
  15. #endif
  16. #if !defined(INC_OLE2)
  17. #define INC_OLE2
  18. #endif
  19. // Note that we need both of these.
  20. #if !defined(UNICODE)
  21. #define UNICODE // Enable WIN32 API.
  22. #endif
  23. #if !defined(_UNICODE)
  24. #define _UNICODE // Enable runtime library routines.
  25. #endif
  26. #if defined(_DEBUG) && !defined(DEBUG)
  27. #define DEBUG
  28. #endif
  29. #ifndef NUMELEM
  30. #define NUMELEM(p1) (sizeof(p1) / sizeof(*(p1)))
  31. #endif
  32. #if (CIDBG == 1)
  33. // Assert defined to Win4Assert in cidebnot.h
  34. // #define Assert Win4Assert
  35. #define assert(x) \
  36. (void)((x) || (Win4AssertEx(__FILE__, __LINE__, #x),0))
  37. #define TRACE
  38. #else
  39. #define assert(x)
  40. #define TRACE
  41. #endif
  42. // #define OLEDBVER 0x0250
  43. #include <windows.h>
  44. #include <limits.h> // needed by cstring.cpp
  45. #include <oaidl.h>
  46. #include <stdio.h>
  47. #include <oledb.h>
  48. #include <cmdtree.h>
  49. #include <oledberr.h>
  50. //#include <assert.h>
  51. #define DBEXPORT
  52. #include "autobloc.h"
  53. #ifdef DEBUG
  54. #include <iostream.h>
  55. #include <iomanip.h>
  56. #endif
  57. #include <ntquery.h>
  58. #include <fsciclnt.h>
  59. #include <query.h>
  60. #include <ciintf.h>
  61. #include <ciplist.hxx>
  62. #ifdef DEBUG
  63. #define YYDEBUG 1
  64. #endif
  65. //#include <cidebnot.h>
  66. //#include <ciexcpt.hxx>
  67. #include <smart.hxx>
  68. #include <tsmem.hxx>
  69. #include "yybase.hxx"
  70. #include "mparser.h"
  71. #include "colname.h"
  72. #include "mssql.h"
  73. #include "flexcpp.h"
  74. #include "mssqltab.h"
  75. #include "treeutil.h"
  76. #include "PTProps.h"
  77. #include "IParSess.h"
  78. #include "IParser.h"
  79. #endif