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.

71 lines
2.0 KiB

  1. #if !defined(INC__CommonStdAfx_h__INCLUDED)
  2. #define INC__CommonStdAfx_h__INCLUDED
  3. #if !defined(WIN32_LEAN_AND_MEAN)
  4. #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
  5. #endif
  6. #if !defined(_WIN32_WINNT)
  7. #define _WIN32_WINNT 0x0500 // TODO: Remove this when updated headers are available
  8. #endif
  9. #define ENABLE_MSGTABLE_API 1 // Enable MsgTable based API's
  10. #define ENABLE_MPH 1 // Enable Whistler MPH's
  11. #define DUSER_INCLUDE_SLIST 1 // Include S-List functions inside DUser project
  12. #define DBG_CHECK_CALLBACKS DBG // Extra validation for checking callbacks
  13. #define DBG_STORE_NAMES 0 // Extra validation to store names
  14. // Windows Header Files
  15. #ifndef WINVER
  16. #define WINVER 0x0500
  17. #endif
  18. #include <nt.h> // S-List definitions in ntrtl.h
  19. #include <ntrtl.h>
  20. #include <nturtl.h>
  21. #include <windows.h> // Windows
  22. #include <windowsx.h> // User macros
  23. #include <winuserp.h> // User privates
  24. // COM Header Files
  25. #include <ObjBase.h> // CoCreateInstance, IUnknown
  26. #include <DDraw.h> // DirectDraw
  27. #include <oleidl.h> // OLE2 Interfaces
  28. #include <AtlBase.h> // CComPtr
  29. #include <AtlConv.h> // String conversion routines
  30. // Related services
  31. #pragma warning(push, 3)
  32. #include <GdiPlus.h> // GDI+
  33. #pragma warning(pop)
  34. // TODO: Move DxXForms out
  35. #pragma warning(push, 3)
  36. #include <dxtrans.h>
  37. #include <dxterror.h>
  38. #include <dxbounds.h>
  39. #include <dxhelper.h>
  40. #pragma warning(pop)
  41. // C RunTime Header Files
  42. #include <stdlib.h> // Standard library
  43. #include <malloc.h> // Memory allocation
  44. #include <tchar.h> // Character routines
  45. #include <process.h> // Multi-threaded routines
  46. #if DBG
  47. #include <memory.h> // Debug memory routines
  48. #endif // DBG
  49. // Gadgets Header Files
  50. #include <AutoUtil.h> // External debugging support
  51. #endif // INC__CommonStdAfx_h__INCLUDED