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.

54 lines
948 B

  1. #if !defined(INC__DUser_h__INCLUDED)
  2. #define INC__DUser_h__INCLUDED
  3. #ifdef __cplusplus
  4. #define DEFARG(x) = x
  5. #else
  6. #define DEFARG(x)
  7. #endif
  8. //
  9. // Setup implied switches
  10. //
  11. #ifdef GADGET_ENABLE_TRANSITIONS
  12. #define GADGET_ENABLE_COM
  13. #endif // GADGET_ENABLE_TRANSITIONS
  14. #ifdef _GDIPLUS_H
  15. #if !defined(GADGET_ENABLE_GDIPLUS)
  16. #define GADGET_ENABLE_GDIPLUS
  17. #endif
  18. #endif
  19. #ifdef GADGET_ENABLE_ALL
  20. #define GADGET_ENABLE_COM
  21. #define GADGET_ENABLE_OLE
  22. #define GADGET_ENABLE_DX
  23. #define GADGET_ENABLE_TRANSITIONS
  24. #endif // GADGET_ENABLE_ALL
  25. //
  26. // Include external DirectUser definitions.
  27. //
  28. #ifdef GADGET_ENABLE_COM
  29. #include <ObjBase.h> // CoCreateInstance
  30. #include <unknwn.h> // IUnknown
  31. #endif
  32. #include "DUserError.h"
  33. #include "DUserCore.h"
  34. #include "DUserUtil.h"
  35. #ifdef GADGET_ENABLE_TRANSITIONS
  36. #include "DUserMotion.h"
  37. #endif
  38. #endif // INC__DUser_h__INCLUDED