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.

61 lines
2.3 KiB

  1. //---------------------------------------------------------------------------
  2. // StdAfx.h - defines precompiled hdr set (doesn't use CrtDbgReport)
  3. //---------------------------------------------------------------------------
  4. #ifndef _STDAFX_UXTHEME_
  5. #define _STDAFX_UXTHEME_
  6. //---------------------------------------------------------------------------
  7. #include <nt.h>
  8. #include <ntrtl.h>
  9. #include <nturtl.h>
  10. //---------------------------------------------------------------------------
  11. #include <wchar.h>
  12. #include <stdio.h>
  13. #include <stdlib.h>
  14. #include <io.h>
  15. //---------------------------------------------------------------------------
  16. #define _ATL_NO_ATTRIBUTES
  17. #define _ATL_APARTMENT_THREADED
  18. //---------------------------------------------------------------------------
  19. #ifndef _WIN32_WINNT
  20. #define _WIN32_WINNT 0x0400
  21. #endif
  22. #include <windows.h>
  23. #include <winuser.h>
  24. #include <winnls.h>
  25. //---------------------------------------------------------------------------
  26. #include <w4warn.h>
  27. //---------------------------------------------------------------------------
  28. #include <atlbase.h>
  29. //---------------------------------------------------------------------------
  30. #define STRSAFE_LIB
  31. #include <strsafe.h>
  32. //---------------------------------------------------------------------------
  33. #define _UXTHEME_
  34. //#define __NO_APPHACKS__ // disables app hacks
  35. //---------------------------------------------------------------------------
  36. //---- keep this for a while (allows building on win2000 for home development) ----
  37. #ifndef SPI_GETDROPSHADOW
  38. #define SPI_GETDROPSHADOW 0x1024
  39. #define SPI_SETDROPSHADOW 0x1025
  40. #endif
  41. //---------------------------------------------------------------------------
  42. #include "autos.h"
  43. #include "log.h"
  44. #include "Errors.h"
  45. #include "Utils.h"
  46. #include "SimpStr.h"
  47. #include "stringtable.h"
  48. //---------------------------------------------------------------------------
  49. #include "TmSchema.h"
  50. #include <uxtheme.h>
  51. #include <uxthemep.h>
  52. #include "wrapper.h"
  53. #undef HKEY_CURRENT_USER
  54. #define HKEY_CURRENT_USER !!DO NOT USE HKEY_CURRENT_USER - USE CCurrentUser!!
  55. #include "globals.h"
  56. //---------------------------------------------------------------------------
  57. #endif //_STDAFX_UXTHEME_
  58. //---------------------------------------------------------------------------