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.

54 lines
2.0 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1997
  6. //
  7. // File: errordef.h
  8. //
  9. //--------------------------------------------------------------------------
  10. //
  11. // errordef.h: definitions and strings for standard errors
  12. //
  13. #if !defined(_ERRORDEF_H_) && !defined(GMERRORSTR)
  14. #define _ERRORDEF_H_
  15. #undef GMERRORDEF
  16. #ifdef GMERRORSTR
  17. // Generate string table declarations
  18. #define GMERRORDEF(sym,str) { EC_##sym, str },
  19. #else
  20. // Generate enumeration declarations
  21. #define GMERRORDEF(sym,str) EC_##sym,
  22. #endif
  23. GMERRORDEF(CREF, "Reference counted object error")
  24. GMERRORDEF(DYN_CAST, "Dynamic cast failure")
  25. GMERRORDEF(NULLP, "NULL pointer error")
  26. GMERRORDEF(LINK_OFFSET, "Linkage offset error")
  27. GMERRORDEF(PROP_MISUSE, "Invalid use of a property item")
  28. GMERRORDEF(DIST_MISUSE, "Misuse of a distribution")
  29. GMERRORDEF(MDVECT_MISUSE, "Misuse of an m-d array")
  30. GMERRORDEF(INVALID_CLONE, "Attempt to clone in invalid state")
  31. GMERRORDEF(DUPLICATE_NAME, "Attempt to add a duplicate name")
  32. GMERRORDEF(INAPPLICABLE, "Operation is not applicable to object")
  33. GMERRORDEF(CREATES_CYCLE, "Addition of directed arc creates cycle")
  34. GMERRORDEF(INV_PD, "Invalid probability distribution")
  35. GMERRORDEF(TOPOLOGY_MISMATCH, "Topology doesn't match distribution")
  36. GMERRORDEF(NYI, "Function not implemented")
  37. GMERRORDEF(INTERNAL_ERROR, "Internal error")
  38. GMERRORDEF(VOI_NO_INFO, "No info nodes in VOI calculation")
  39. GMERRORDEF(VOI_FIXABLE_PARENTS, "A fixable node has parents")
  40. GMERRORDEF(VOI_FIXABLE_ABNORMAL, "A fixable node is abnormal")
  41. GMERRORDEF(VOI_PROBDEF_ABNORMAL, "Count of abnormal PD nodes != 1")
  42. GMERRORDEF(VOI_MODEL_COST_FIX, "Model repair cost not set")
  43. GMERRORDEF(VOI_NO_HYPO, "No hypothesis node in network")
  44. GMERRORDEF(REGISTRY_ACCESS, "Registry access failure")
  45. GMERRORDEF(OVER_SIZE_ESTIMATE, "Allowed size exceeded")
  46. #undef GMERRORDEF
  47. #endif