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.

64 lines
1.0 KiB

  1. //// precomp.hxx
  2. //
  3. #define USE_NEW_APIS 1
  4. #define USE_NEW_APIS2 1
  5. #define USE_NEW_APIS3 1
  6. #define USE_NEW_APIS4 1
  7. #define USE_NEW_APIS5 1
  8. #ifndef DCR_USE_NEW_188922
  9. #define DCR_USE_NEW_188922
  10. #endif
  11. #ifndef DCR_USE_NEW_186764
  12. #define DCR_USE_NEW_186764
  13. #endif
  14. #ifndef DCR_USE_NEW_137252
  15. #define DCR_USE_NEW_137252
  16. #endif
  17. #ifndef DCR_USE_NEW_125467
  18. #define DCR_USE_NEW_125467
  19. #endif
  20. #ifdef USE_NEW_APIS5
  21. // Private StringFormatFlags
  22. const int StringFormatFlagsPrivateNoGDI = 0x80000000;
  23. const int StringFormatFlagsPrivateAlwaysUseFullImager = 0x40000000;
  24. #endif
  25. #include <windows.h>
  26. #include <objbase.h>
  27. #include <math.h> // sin & cos
  28. //
  29. // Where is IStream included from?
  30. //
  31. #define IStream int
  32. #include <gdiplus.h>
  33. using namespace Gdiplus;
  34. #include <commdlg.h>
  35. #include <commctrl.h>
  36. #include "usp10.h"
  37. #include <stdlib.h>
  38. #include <malloc.h>
  39. #include <memory.h>
  40. #include <string.h>
  41. #include "resource.h"