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.

261 lines
4.7 KiB

  1. /*++
  2. Copyright (c) 1994 Microsoft Corporation
  3. Module Name:
  4. wininetp.h
  5. Abstract:
  6. Includes all headers for precompiled header to build Windows Internet
  7. client DLL
  8. Author:
  9. Richard L Firth (rfirth) 26-Oct-1994
  10. Revision History:
  11. 26-Oct-1994 rfirth
  12. Created
  13. --*/
  14. #ifndef __WININETP_H__
  15. #define __WININETP_H__ 1
  16. //
  17. // Checked builds get INET_DEBUG set by default; retail builds get no debugging
  18. // by default
  19. //
  20. // #define STRESS_BUG_DEBUG // for stress debugging
  21. #if DBG
  22. #define STRESS_BUG_DEBUG // for stress debugging
  23. #if !defined(INET_DEBUG)
  24. #define INET_DEBUG 1
  25. #endif // INET_DEBUG
  26. #else
  27. #if !defined(INET_DEBUG)
  28. #define INET_DEBUG 0
  29. #endif // INET_DEBUG
  30. #endif // DBG
  31. #define WININET_SELFREG 1
  32. //
  33. // common include files
  34. //
  35. //
  36. // CRT includes
  37. //
  38. #include <stdio.h>
  39. #include <stdlib.h>
  40. #include <stdarg.h>
  41. #include <stddef.h> // Pull in the 'offsetof' macro.
  42. #include <string.h>
  43. #include <memory.h>
  44. #include <ctype.h>
  45. #include <excpt.h>
  46. #include <limits.h>
  47. #include <fcntl.h>
  48. #include <io.h>
  49. #include <time.h>
  50. //
  51. // OS includes
  52. //
  53. #if defined(__cplusplus)
  54. extern "C" {
  55. #endif
  56. #include <nt.h>
  57. #include <ntrtl.h>
  58. #include <nturtl.h>
  59. #include <ntexapi.h>
  60. #include <windows.h>
  61. #if defined(__cplusplus)
  62. }
  63. #endif
  64. //#include <fastcrit.h>
  65. //
  66. // SSL/PCT Security includes
  67. //
  68. #if defined(__cplusplus)
  69. extern "C" {
  70. #endif
  71. #define SECURITY_WIN32
  72. #include <sspi.h> // standard SSPI interface
  73. #include <issperr.h> // SSPI errors.
  74. #include <spseal.h> // Private SSPI Seal/UnSeal functions.
  75. #include <schnlsp.h> // shared private schannel/wininet interfaces.
  76. #include <wintrust.h> // various CAPI stuff for cert management
  77. #include <wincrypt.h>
  78. #if defined(__cplusplus)
  79. }
  80. #endif
  81. //
  82. // WININET includes
  83. //
  84. #include <iwinsock.h>
  85. #include <wininet.h>
  86. #include <winineti.h>
  87. #include <oldnames.h>
  88. #include <unsup.h> // no longer supported items
  89. #include <wininetd.h>
  90. #include <resinfo.h>
  91. #include <serialst.h>
  92. #include <blocklst.hxx>
  93. #include <chunk.hxx>
  94. #include <inetdbg.h>
  95. #include <debugmem.h>
  96. #include <shlwapi.h>
  97. #define NO_SHLWAPI_MLUI
  98. #include <shlwapip.h>
  99. #include <malloc.h>
  100. #include <crtsubst.h>
  101. #include <handle.h>
  102. #include <constant.h>
  103. #include <macros.h>
  104. #include <inetp.h>
  105. #include <util.h>
  106. #include <proxreg.h>
  107. #include <icstring.hxx>
  108. #include <cliauth.hxx>
  109. #include <certcach.hxx>
  110. #include <buffer.hxx>
  111. #include <resolver.h>
  112. #include <thrdinfo.h>
  113. #include <defaults.h>
  114. #include <passport.h>
  115. #include <spluginx.hxx>
  116. #include <splugin.hxx>
  117. #include <secinit.h>
  118. #include <inetsspi.h>
  119. #include <tstr.h>
  120. #include <readhtml.h>
  121. #include <ftpinit.h>
  122. #include <gfrinit.h>
  123. #include <httpinit.h>
  124. #include <registry.h>
  125. #include <parseurl.h>
  126. #include <username.hxx>
  127. #include <globals.h>
  128. #include <autoprox.hxx>
  129. #include <reslock.hxx>
  130. #include <proxysup.hxx>
  131. #include <httpfilt.hxx>
  132. #include <hinet.hxx>
  133. #include <priolist.hxx>
  134. #include <icasync.hxx>
  135. #include <caddrlst.hxx>
  136. #include <icsocket.hxx>
  137. #include <ssocket.hxx>
  138. #include <servinfo.hxx>
  139. #include <urlcache.h>
  140. #include <connect.hxx>
  141. #include <ftp.hxx>
  142. #include <gopher.hxx>
  143. #include <http.hxx>
  144. #include <cookie.h>
  145. #include <rescache.h>
  146. #include <parsers.h>
  147. #include <fsm.hxx>
  148. #include <mpacket.hxx>
  149. #include <inetchar.h>
  150. #include <bgtask.hxx>
  151. #include <cookimp.h>
  152. #include <cookexp.h>
  153. #include <401imprt.hxx>
  154. #include <commctrl.h>
  155. #include <shfusion.h>
  156. #if defined(__cplusplus)
  157. extern "C" {
  158. #endif
  159. #include <resource.h>
  160. //
  161. // Various protocol package initializers.
  162. //
  163. BOOL
  164. WINAPI
  165. WinInetDllEntryPoint(
  166. IN HINSTANCE DllHandle,
  167. IN DWORD Reason,
  168. IN LPVOID Reserved
  169. );
  170. #if defined(__cplusplus)
  171. }
  172. #endif
  173. // privacy helper function used in dllinstall
  174. void CheckPrivacyDefaults(void);
  175. void AddHardeningPrivacyDefaults();
  176. void RemoveHardeningPrivacyDefaults();
  177. //
  178. // Need version 0x400 for ras defines for this to work on win95 gold.
  179. //
  180. #if defined(__cplusplus)
  181. extern "C" {
  182. #endif
  183. #undef WINVER
  184. #define WINVER 0x400
  185. #include <ras.h>
  186. #include <raserror.h>
  187. #ifdef ICECAP
  188. extern "C" void _stdcall StartCAP(void);
  189. extern "C" void _stdcall StopCAP(void);
  190. extern "C" void _stdcall SuspendCAP(void);
  191. extern "C" void _stdcall ResumeCAP(void);
  192. extern "C" void _stdcall MarkCAP(long lMark); // write mark to MEA
  193. extern "C" void _stdcall AllowCAP(void); // Allow profiling when 'profile=almostnever'
  194. #else
  195. #define StartCAP()
  196. #define StopCAP()
  197. #define SuspendCAP()
  198. #define ResumeCAP()
  199. #define MarkCAP(n)
  200. #define AllowCAP()
  201. #endif
  202. #if defined(__cplusplus)
  203. }
  204. #endif
  205. /* X-Platform stuff */
  206. #include <xpltfrm.h>
  207. #endif /* __WININETP_H__ */