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.

54 lines
1.2 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 "olechar.h"
  12. #include "h/windef.h"
  13. #include "h/propset.hxx" // for PROPID_CODEPAGE
  14. #include "h/propapi.h"
  15. #include "../h/propstm.hxx" // Declaration for CMappedStream i/f that
  16. // is used to let the ntdll implementation of
  17. // OLE properties access the underlying stream data.
  18. #include "../h/msf.hxx"
  19. #include "../expdf.hxx"
  20. #include "../expst.hxx"
  21. #include "psetstg.hxx" // CPropertySetStorage which implements
  22. // IPropertySetStorage for docfile
  23. #include "utils.hxx"
  24. #include "propstg.hxx"
  25. #include "propdbg.hxx"
  26. #include "h/propmac.hxx"
  27. #include "h/propvar.hxx"
  28. extern WCHAR const wcsContents[];
  29. extern const GUID GUID_NULL;
  30. #define DFMAXPROPSETSIZE (256*1024)
  31. #if DBG
  32. #define DfpVerify(x) { BOOL f=x; GetLastError(); DfpAssert(f);}
  33. #else
  34. #define DfpVerify(x) x
  35. #endif
  36. #ifndef STG_E_PROPSETMISMATCHED
  37. #define STG_E_PROPSETMISMATCHED 0x800300F0
  38. #endif