/* * Common include for all stdafx.h project headers * This includes all common external headers that will be precompiled * All external headers must be available via the include path */ #ifndef DUI_COMMONSTDAFX_H_INCLUDED #define DUI_COMMONSTDAFX_H_INCLUDED #pragma once // Engine warning pragmas #pragma warning (disable:4710) // W4: Compiler decided not to inline function #pragma warning (disable:4201) // W4: Nameless struct/union may not be compiler portable // Exclude rarely-used stuff from Windows headers #if !defined(WIN32_LEAN_AND_MEAN) #define WIN32_LEAN_AND_MEAN #endif // TODO: Remove this when updated headers are available #if !defined(_WIN32_WINNT) #define _WIN32_WINNT 0x0500 #endif // Windows Header Files #ifndef WINVER #define WINVER 0x0500 #endif #include // Windows #include // User macros // COM Header Files #include // CoCreateInstance, IUnknown // Related services #ifdef GADGET_ENABLE_GDIPLUS #pragma warning(push, 3) #include // GDI+ #pragma warning(pop) #endif // GADGET_ENABLE_GDIPLUS // C RunTime Header Files #include // Standard library #include // Memory allocation #include // Character routines #include // Multi-threaded routines #define STRSAFE_NO_DEPRECATE #include // Safe string library (inline) // Themes support #include // DirectUser headers #define GADGET_ENABLE_TRANSITIONS #define GADGET_ENABLE_CONTROLS #include // DirectUser #include #ifdef GADGET_ENABLE_GDIPLUS #include #endif #endif // DUI_COMMONSTDAFX_H_INCLUDED