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.

45 lines
1.3 KiB

  1. /***************************************************************************\
  2. *
  3. * File: Base.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(BASE__Base_h__INCLUDED)
  24. #define BASE__Base_h__INCLUDED
  25. #include <DUserError.h>
  26. #if DBG
  27. #define PromptInvalid(comment) \
  28. do \
  29. { \
  30. if (IDebug_Prompt(GetDebug(), "Validation error:\r\n" comment, __FILE__, __LINE__, "DirectUser/Base Notification")) \
  31. AutoDebugBreak(); \
  32. } while (0) \
  33. #else // DBG
  34. #define PromptInvalid(comment) ((void) 0)
  35. #endif // DBG
  36. #endif // BASE__Base_h__INCLUDED