Source code of Windows XP (NT5)
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.

108 lines
2.0 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 2000.
  5. //
  6. // File: PCH.cxx
  7. //
  8. // Contents: Pre-compiled header
  9. //
  10. // History: 21-Dec-92 BartoszM Created
  11. //
  12. //--------------------------------------------------------------------------
  13. // CoTaskAllocator is 'extern' to items in query.dll except where defined,
  14. // where it is __declspec(dllexport).
  15. // To all other dlls, it is __declspec(dllimport)
  16. //
  17. #define COTASKDECLSPEC extern
  18. // Define this so Win4ExceptionLevel is exported in query.dll, and
  19. // imported elsewhere.
  20. #if CIDBG==1
  21. #define __QEXCEPT__
  22. #endif // CIDBG==1
  23. #define _OLE32_
  24. #define __QUERY__
  25. extern "C"
  26. {
  27. #include <nt.h>
  28. #include <ntioapi.h>
  29. #include <ntrtl.h>
  30. #include <nturtl.h>
  31. }
  32. #include <ctype.h>
  33. #include <float.h>
  34. #include <limits.h>
  35. #include <malloc.h>
  36. #include <math.h>
  37. #include <memory.h>
  38. #include <stddef.h>
  39. #include <string.h>
  40. #include <stdarg.h>
  41. #include <stdio.h>
  42. #include <stdlib.h>
  43. #include <windows.h>
  44. #include <imagehlp.h>
  45. #define _DCOM_
  46. #define _CAIROSTG_
  47. #include <cidebnot.h>
  48. #include <cierror.h>
  49. #include <stgprop.h>
  50. #include <restrict.hxx>
  51. //
  52. // Base services
  53. //
  54. #include <ciexcpt.hxx>
  55. #include <smart.hxx>
  56. #include <tsmem.hxx>
  57. #include <xolemem.hxx>
  58. #include <dynarray.hxx>
  59. #include <dynstack.hxx>
  60. #include <dblink.hxx>
  61. #include <cisem.hxx>
  62. #include <thrd32.hxx>
  63. #include <ci.h>
  64. //
  65. // Debug files from
  66. //
  67. #include <cidebug.hxx>
  68. #include <vqdebug.hxx>
  69. // property-related macros and includes
  70. #include <propapi.h>
  71. #include <propstm.hxx>
  72. extern UNICODECALLOUTS UnicodeCallouts;
  73. #define DebugTrace( x, y, z )
  74. #ifdef PROPASSERTMSG
  75. #undef PROPASSERTMSG
  76. #endif
  77. #define PROPASSERTMSG( x, y )
  78. //
  79. // Special, for this .exe
  80. //
  81. typedef ULONG WORKID; // From ci.h
  82. inline void ReportCorruptComponent( WCHAR const * pwszArea )
  83. {
  84. printf( "Corruption detected! Area %ws\n", pwszArea );
  85. }
  86. #pragma hdrstop