//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\ // // Stdinc.h // // Contains the standard include files used by.cpp files in ineticon. Most // of the ineticon files will include this file. // // History: // // 3/16/97 edwardp Created. // //////////////////////////////////////////////////////////////////////////////// // // Check for previous includes of this file. // #ifndef _STDINC_H_ #define _STDINC_H_ #ifdef UNICODE // This stuff must run on Win95 #define _WIN32_WINDOWS 0x0400 #ifndef WINVER #define WINVER 0x0400 #endif #define _OLEAUT32_ // get DECLSPEC_IMPORT stuff right, we are defing these #define _BROWSEUI_ // define bruiapi as functions exported instead of imported #define _WINX32_ // get DECLSPEC_IMPORT stuff right for WININET API #define _URLCACHEAPI // get DECLSPEC_IMPORT stuff right for WININET CACHE API #ifndef STRICT #define STRICT #endif // // Globaly defined includes. // // // Include before anything else that messes with names. // Although everybody gets the wrong name, at least it's *consistently* // the wrong name, so everything links. // // NOTE: This means that while debugging you will see functions like // CWindowImplBase__DefWindowProcWrapW when you expected to see // CWindowImplBase__DefWindowProc. // #define POST_IE5_BETA // turn on post-split iedev stuff #endif #define _SHDOCVW_ #ifdef UNICODE #include #endif #include #include #include // From shell\inc. #ifdef UNICODE #define _FIX_ENABLEMODELESS_CONFLICT // for shlobj.h #endif #include // INTERNET_MAX_URL_LENGTH. Must be before shlobjp.h! #include // IShellFolder #include #include #include // From shell\inc. #ifdef UNICODE #include #endif #include // IPersistMoniker, IBindStatusCallback #ifdef UNICODE #include // Cache APIs & structures #endif #include // IUniformResourceLocator #include #include // IImgCtx interface. #include "shlwapi.h" #include // ISubscriptionMgr #include // TASK_TRIGGER #include // Channel Mgr interface #include // WhichPlatform // // Localy defined includes. // #include "debug.h" #include "cache.h" #include "runonnt.h" #include "globals.h" #include "strutil.h" #include "utils.h" //=========================================================================== // ITEMIDLIST //=========================================================================== // unsafe macros #define _ILSkip(pidl, cb) ((LPITEMIDLIST)(((BYTE*)(pidl))+cb)) #define _ILNext(pidl) _ILSkip(pidl, (pidl)->mkid.cb) #ifdef UNIX extern "C" void unixEnsureFileScheme(TCHAR *lpszFileScheme); #undef DebugMsg #undef TraceMsg #undef ASSERT #ifdef DEBUG extern "C" void _DebugMsgUnix(int i, const char *s, ...); #define DebugMsg _DebugMsgUnix #define TraceMsg _DebugMsgUnix extern "C" void _DebugAssertMsgUnix(char *msg, char *fileName, int line); #define ASSERT(x) { if(!(x)) _DebugAssertMsgUnix(#x, __FILE__, __LINE__);} #else #define DebugMsg #define TraceMsg #define ASSERT(x) #endif /* DEBUG */ #endif /* UNIX */ #endif // _STDINC_H_