Source code of Windows XP (NT5)
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.

64 lines
1.3 KiB

  1. //-----------------------------------------------------------------------------
  2. // File: defines.h
  3. //
  4. // Desc: Contains all defined symbols needed for the UI.
  5. //
  6. // Copyright (C) 1999-2000 Microsoft Corporation. All Rights Reserved.
  7. //-----------------------------------------------------------------------------
  8. #ifndef __CFGUI_DEFINES_H__
  9. #define __CFGUI_DEFINES_H__
  10. // if either UNICODE define exists, make sure both do
  11. #ifdef UNICODE
  12. #ifndef _UNICODE
  13. #define _UNICODE
  14. #endif
  15. #endif
  16. #ifdef _UNICODE
  17. #ifndef UNICODE
  18. #define UNICODE
  19. #endif
  20. #endif
  21. // make sure we have the correct debug flags defined,
  22. // thus making sure assert actually works with build
  23. #if defined(DBG) || defined(DEBUG)
  24. #ifdef NDEBUG
  25. #undef NDEBUG
  26. #endif
  27. #else
  28. #ifndef NDEBUG
  29. #define NDEBUG
  30. #endif
  31. #endif
  32. // disable tracing if we don't want debug info
  33. #ifdef NDEBUG
  34. #ifndef NTRACE
  35. #define NTRACE
  36. #endif
  37. #ifndef NO_LTRACE
  38. #define NO_LTRACE
  39. #endif
  40. #endif
  41. // settings...
  42. //#define CFGUI__FORCE_GOOD_ACFORS
  43. //#define CFGUI__FORCE_NON_NULL_WSZUSERNAMES
  44. //#define CFGUI__TRACE_ACTION_FORMATS
  45. //#define CFGUI__ALLOW_USER_ACTION_TREE_BRANCH_MANIPULATION
  46. #define CFGUI__UIGLOBALS_HAS_CURUSER
  47. #define CFGUI__COMPAREACTIONNAMES_CASE_INSENSITIVE
  48. //#define __CFGUI_TRACE__TO_DEBUG_OUT
  49. #define __CFGUI_TRACE__TO_FILE
  50. #endif //__CFGUI_DEFINES_H__