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.

48 lines
1.4 KiB

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