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.

52 lines
1.5 KiB

  1. /***************************************************************************\
  2. *
  3. * File: Motion.h
  4. *
  5. * Description:
  6. * This file provides a project-wide header that is included in all source
  7. * files specific to this project. It is similar to a precompiled header,
  8. * but is designed for more rapidly changing headers.
  9. *
  10. * The primary purpose of this file is to determine which DirectUser
  11. * projects this project has direct access to instead of going through public
  12. * API's. It is VERY IMPORTANT that this is as minimal as possible since
  13. * adding a new project unnecessarily reduces the benefit of project
  14. * partitioning.
  15. *
  16. *
  17. * History:
  18. * 1/18/2000: JStall: Created
  19. *
  20. * Copyright (C) 2000 by Microsoft Corporation. All rights reserved.
  21. *
  22. \***************************************************************************/
  23. #if !defined(MOTION__Motion_h__INCLUDED)
  24. #define MOTION__Motion_h__INCLUDED
  25. #define GADGET_ENABLE_DX
  26. #define GADGET_ENABLE_COM
  27. #define GADGET_ENABLE_TRANSITIONS
  28. #include <DUser.h>
  29. #include <DUserBaseP.h>
  30. #include <DUserObjectAPIP.h>
  31. #include <DUserServicesP.h>
  32. #if DBG
  33. #define PromptInvalid(comment) \
  34. do \
  35. { \
  36. if (IDebug_Prompt(GetDebug(), "Validation error:\r\n" comment, __FILE__, __LINE__, "DirectUser/Motion Notification")) \
  37. AutoDebugBreak(); \
  38. } while (0) \
  39. #else // DBG
  40. #define PromptInvalid(comment) ((void) 0)
  41. #endif // DBG
  42. #endif // MOTION__Motion_h__INCLUDED