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.

87 lines
1.9 KiB

  1. // STDAFX.h -- Standard includes for this module
  2. #define strict
  3. #include <Windows.h>
  4. #ifdef i386
  5. // #define IE30Hack // Turns on a stack-crawling hack to get docfile URLs
  6. // working in IE 3.0x
  7. #endif // i386
  8. #ifdef DBG
  9. #define _DEBUG
  10. #endif // DBG
  11. #pragma intrinsic(memcmp)
  12. #include <OLECTL.h>
  13. #define INITGUID
  14. #include <guiddef.h>
  15. // #include <coguid.h>
  16. // #include <oleguid.h>
  17. #pragma section(".rdata")
  18. #define RDATA_SECTION __declspec(allocate(".rdata"))
  19. EXTERN_C RDATA_SECTION const GUID IID_IInternetProtocol;
  20. EXTERN_C RDATA_SECTION const GUID IID_IInternetProtocolRoot;
  21. EXTERN_C RDATA_SECTION const GUID IID_IInternetProtocolInfo;
  22. EXTERN_C RDATA_SECTION const GUID IID_IPersistStreamInit;
  23. // #include <URLMKI.h>
  24. #include <WinINet.h>
  25. #include "MemAlloc.h"
  26. #include <malloc.h>
  27. #include <intshcut.h>
  28. #include <urlmon.h>
  29. #include "Types.h"
  30. #include "RMAssert.h"
  31. #include "CRTFns.h"
  32. #include "Sync.h"
  33. #include "MSITStg.h"
  34. #include "num64.h"
  35. #include "ITUnk.h"
  36. #include "ComDLL.h"
  37. #include "utf8.h"
  38. #include "CaseMap.h"
  39. #include "ITIFaces.h"
  40. #include "guid.h"
  41. #include "PathMgr.h"
  42. #include "FreeList.h"
  43. #include "NilXForm.h"
  44. #include "LockByte.h"
  45. #include "Factory.h"
  46. #include "Warehse.h"
  47. #include "Storage.h"
  48. #include "Stream.h"
  49. #include "Enum.h"
  50. #include "Moniker.h"
  51. #include "ITParse.h"
  52. #include "xfrmserv.h"
  53. #include "fsort.h"
  54. #include "ITSFS.H"
  55. #include "lci.H"
  56. #include "ldi.H"
  57. #include "Buffer.h"
  58. #include "txInst.H"
  59. #include "txData.H"
  60. #include "txFac.H"
  61. #include "resource.h"
  62. #include "FSStg.h"
  63. #include "Protocol.h"
  64. #ifdef _DEBUG
  65. #define SPEW_DEBUG(x) {\
  66. char acTemp_Debug[256];\
  67. wsprintf(acTemp_Debug,"Spew: %s Function: %s Line %d\n",__FILE__,x,__LINE__);\
  68. OutputDebugString(acTemp_Debug); }
  69. #endif
  70. #ifndef CP_UTF8
  71. #define CP_UTF8 65001
  72. #endif // CP_UTF8