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.

115 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. #include <stgint.h>
  23. #include <valid.h>
  24. #include <debnot.h>
  25. // Safe strings
  26. #include <strsafe.h>
  27. #ifdef IPROPERTY_DLL
  28. VOID PropAssertFailed(
  29. IN PVOID FailedAssertion,
  30. IN PVOID FileName,
  31. IN ULONG LineNumber,
  32. IN PCHAR Message OPTIONAL
  33. );
  34. #define Win4AssertEx( file, line, message ) PropAssertFailed( FALSE, __FILE__, __LINE__, message )
  35. #endif // #ifdef IPROPERTY_DLL
  36. #include <otrack.hxx>
  37. #include <funcs.hxx>
  38. #include <safedecl.hxx>
  39. #include <propset.h> // for PROPID_CODEPAGE
  40. extern "C"
  41. {
  42. #include <propapi.h>
  43. }
  44. #include <propstm.hxx> // Declaration for IMappedStream i/f that
  45. // is used to let the ntdll implementation of
  46. // OLE properties access the underlying stream data.
  47. #include <olechar.h> // Wrappers. E.g.: ocscpy, ocscat.
  48. #include "prophdr.hxx"
  49. #ifndef IPROPERTY_DLL
  50. # include <msf.hxx>
  51. # include <publicdf.hxx>
  52. # include <pbstream.hxx>
  53. # include <expdf.hxx>
  54. # include <expst.hxx>
  55. #endif
  56. #include <privoa.h> // Private OleAut32 wrappers
  57. #include <psetstg.hxx> // CPropertySetStorage which implements
  58. // IPropertySetStorage for docfile and ofs
  59. #include <utils.hxx>
  60. #include <propstg.hxx>
  61. #include <cli.hxx>
  62. #include <SSMapStm.hxx>
  63. #include <propdbg.hxx>
  64. #include <propmac.hxx>
  65. #include <reserved.hxx>
  66. #include <objidl.h>
  67. #include <stgprops.hxx>
  68. #include <windows.h>
  69. #include <dfmsp.hxx> // LONGSIG,VDATEPTROUT
  70. #include <error.hxx>
  71. #include <names.hxx>
  72. #include <hntfsstm.hxx>
  73. #include <hntfsstg.hxx>
  74. #include "bag.hxx"
  75. #include <docfilep.hxx>
  76. #ifndef STG_E_PROPSETMISMATCHED
  77. #define STG_E_PROPSETMISMATCHED 0x800300F0
  78. #endif
  79. #include <cfiletim.hxx>
  80. #include <ole.hxx> // olAssert
  81. #include <df32.hxx> // LAST_SCODE
  82. #pragma hdrstop