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.

118 lines
2.3 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1995.
  5. //
  6. // File: pch.cxx
  7. //
  8. // Contents: Precompiled header includes.
  9. //
  10. //--------------------------------------------------------------------------
  11. #include <new.h>
  12. extern "C"
  13. {
  14. # include <nt.h>
  15. # include <ntrtl.h>
  16. # include <nturtl.h>
  17. # include <windef.h>
  18. }
  19. #include <ddeml.h>
  20. #include <objbase.h>
  21. #include <malloc.h>
  22. #ifdef _CAIRO_
  23. #define _CAIROSTG_
  24. #include <oleext.h>
  25. #endif
  26. #include <stgint.h>
  27. #include <valid.h>
  28. #include <debnot.h>
  29. #ifdef IPROPERTY_DLL
  30. VOID PropAssertFailed(
  31. IN PVOID FailedAssertion,
  32. IN PVOID FileName,
  33. IN ULONG LineNumber,
  34. IN PCHAR Message OPTIONAL
  35. );
  36. #define Win4AssertEx( file, line, message ) PropAssertFailed( FALSE, __FILE__, __LINE__, message )
  37. #endif // #ifdef IPROPERTY_DLL
  38. #include <otrack.hxx>
  39. #include <funcs.hxx>
  40. #include <safedecl.hxx>
  41. #include <infs.hxx>
  42. #include <propset.h> // for PROPID_CODEPAGE
  43. extern "C"
  44. {
  45. #include <propapi.h>
  46. }
  47. #include <propstm.hxx> // Declaration for IMappedStream i/f that
  48. // is used to let the ntdll implementation of
  49. // OLE properties access the underlying stream data.
  50. #include <olechar.h> // Wrappers. E.g.: ocscpy, ocscat.
  51. #include "prophdr.hxx"
  52. #define DFMAXPROPSETSIZE (256*1024)
  53. #ifndef IPROPERTY_DLL
  54. # include <msf.hxx>
  55. # include <publicdf.hxx>
  56. # include <pbstream.hxx>
  57. # include <expdf.hxx>
  58. # include <expst.hxx>
  59. #endif
  60. #include <privoa.h> // Private OleAut32 wrappers
  61. #include <psetstg.hxx> // CPropertySetStorage which implements
  62. // IPropertySetStorage for docfile and ofs
  63. #include <utils.hxx>
  64. #include <propstg.hxx>
  65. #include <cli.hxx>
  66. #include <SSMapStm.hxx>
  67. #include <propdbg.hxx>
  68. #include <propmac.hxx>
  69. #include <reserved.hxx>
  70. #include <objidl.h>
  71. #include <stgprops.hxx>
  72. #include <windows.h>
  73. #include <dfmsp.hxx> // LONGSIG,VDATEPTROUT
  74. #include <error.hxx>
  75. #include <names.hxx>
  76. #include <hntfsstm.hxx>
  77. #include <hntfsstg.hxx>
  78. #include "bag.hxx"
  79. #include <docfilep.hxx>
  80. #ifndef STG_E_PROPSETMISMATCHED
  81. #define STG_E_PROPSETMISMATCHED 0x800300F0
  82. #endif
  83. #include <cfiletim.hxx>
  84. #include <ole.hxx> // olAssert
  85. #include <df32.hxx> // LAST_SCODE
  86. #pragma hdrstop