/*++ Copyright (c) 1994 Microsoft Corporation Module Name: wininetp.h Abstract: Includes all headers for precompiled header to build Windows Internet client DLL Author: Richard L Firth (rfirth) 26-Oct-1994 Revision History: 26-Oct-1994 rfirth Created --*/ #ifndef __WININETP_H__ #define __WININETP_H__ 1 #if defined(_WIN64) #pragma warning(disable:4267) // conversion from 'size_t' to 'DWORD' #endif // Added this warning disable 4509 because we added SEH around _alloca calls. // This is a false positive warning. Our usage of SEH allows the destructors to be called. #pragma warning(disable:4509) // nonstandard extension used: uses SEH and has destructor #pragma prefast(disable:263, "catching possible stack exhaustion using _alloca with SEH") #pragma prefast(disable:400, "using strcmp variants only to check for string equivalence") // // Checked builds get INET_DEBUG set by default; retail builds get no debugging // by default // // #define STRESS_BUG_DEBUG // for stress debugging #if DBG #define STRESS_BUG_DEBUG // for stress debugging #if !defined(INET_DEBUG) #define INET_DEBUG 1 #endif // INET_DEBUG #else #if !defined(INET_DEBUG) #define INET_DEBUG 0 #endif // INET_DEBUG #endif // DBG // // common include files // // // CRT includes // #include #include #include #include // Pull in the 'offsetof' macro. #include #include #include #include #include #include #include #include // // OS includes // #if defined(__cplusplus) extern "C" { #endif #include #include #include #include #include #if defined(__cplusplus) } #endif //#include // // SSL/PCT Security includes // #if defined(__cplusplus) extern "C" { #endif #define SECURITY_WIN32 #include // standard SSPI interface #include // SSPI errors. #include // Private SSPI Seal/UnSeal functions. #include // shared private schannel/wininet interfaces. #include // various CAPI stuff for cert management #include #if defined(__cplusplus) } #endif #define WININET_SERVER_CORE 1 // // WININET includes // #include #include #include #include #include #include #include #include #include #include #include #include #ifdef WINHTTP_FOR_MSXML # include #else # include #endif #include #define NO_SHLWAPI_MLUI #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #if defined(__cplusplus) extern "C" { #endif // // Various protocol package initializers. // BOOL WINAPI WinInetDllEntryPoint( IN HINSTANCE DllHandle, IN DWORD Reason, IN LPVOID Reserved ); #if defined(__cplusplus) } #endif // // Need version 0x400 for ras defines for this to work on win95 gold. // #if defined(__cplusplus) extern "C" { #endif #undef WINVER #define WINVER 0x400 #include #include #ifdef ICECAP extern "C" void _stdcall StartCAP(void); extern "C" void _stdcall StopCAP(void); extern "C" void _stdcall SuspendCAP(void); extern "C" void _stdcall ResumeCAP(void); extern "C" void _stdcall MarkCAP(long lMark); // write mark to MEA extern "C" void _stdcall AllowCAP(void); // Allow profiling when 'profile=almostnever' #else #define StartCAP() #define StopCAP() #define SuspendCAP() #define ResumeCAP() #define MarkCAP(n) #define AllowCAP() #endif #if defined(__cplusplus) } #endif /* X-Platform stuff */ #include #endif /* __WININETP_H__ */