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.

60 lines
1.8 KiB

  1. //
  2. // MODULE: ENUMSTD.H
  3. //
  4. // PURPOSE: enumerations relevant to belief networks
  5. //
  6. // PROJECT: Generic Troubleshooter DLL for Microsoft AnswerPoint
  7. //
  8. // COMPANY: Saltmine Creative, Inc. (206)-633-4743 [email protected]
  9. //
  10. // AUTHOR: Apparently originated at MSR
  11. //
  12. // ORIGINAL DATE: unknown
  13. //
  14. // NOTES:
  15. // 1. included because we use ESTDLBL
  16. //
  17. // Version Date By Comments
  18. //--------------------------------------------------------------------
  19. // V0.3 3/24/98 JM Local Version for NT5
  20. #ifndef _ENUMSTD_H_
  21. #define _ENUMSTD_H_
  22. ////////////////////////////////////////////////////////////////////
  23. // Property flags
  24. ////////////////////////////////////////////////////////////////////
  25. const UINT fPropString = 1; // Property is a string (!fPropString ==> real)
  26. const UINT fPropArray = 2; // Property is an array (!fPropArray ==> scalar)
  27. const UINT fPropChoice = 4; // Property is an enumerated value
  28. const UINT fPropStandard = 8; // Property is standard (stored in Registry)
  29. const UINT fPropPersist = 16; // Property is persistent (stored in Registry)
  30. ////////////////////////////////////////////////////////////////////
  31. // Definitions to enable usage of "MS_" standard properties
  32. ////////////////////////////////////////////////////////////////////
  33. enum ESTDPROP
  34. {
  35. ESTDP_label, // Node troubleshooting label (choice)
  36. ESTDP_cost_fix, // Cost to fix (real)
  37. ESTDP_cost_observe, // Cost to observe (real)
  38. ESTDP_category, // Category (string)
  39. ESTDP_normalState, // Index of troubleshooting "normal" state (int)
  40. ESTDP_max // End
  41. };
  42. enum ESTDLBL // VOI-relative node label
  43. {
  44. ESTDLBL_other,
  45. ESTDLBL_hypo,
  46. ESTDLBL_info,
  47. ESTDLBL_problem,
  48. ESTDLBL_fixobs,
  49. ESTDLBL_fixunobs,
  50. ESTDLBL_unfix,
  51. ESTDLBL_config,
  52. ESTDLBL_max
  53. };
  54. #endif // _ENUMSTD_H_