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.

57 lines
1.6 KiB

  1. /***************************************************************************\
  2. *
  3. * File: WinAPI.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(WINAPI__WinAPI_h__INCLUDED)
  24. #define WINAPI__WinAPI_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. #include <DUserMsgP.h>
  33. #include <DUserCoreP.h>
  34. #include <DUserLavaP.h>
  35. #include <DUserMotionP.h>
  36. #include <DUserCtrlP.h>
  37. #if DBG
  38. #define PromptInvalid(comment) \
  39. do \
  40. { \
  41. if (IDebug_Prompt(GetDebug(), "Validation error:\r\n" comment, __FILE__, __LINE__, "DirectUser/WinAPI Notification")) \
  42. AutoDebugBreak(); \
  43. } while (0) \
  44. #else // DBG
  45. #define PromptInvalid(comment) ((void) 0)
  46. #endif // DBG
  47. #endif // WINAPI__WinAPI_h__INCLUDED