46 lines
1.3 KiB
C
46 lines
1.3 KiB
C
|
//
|
||
|
// enumstd.h: Standard global enumerations
|
||
|
//
|
||
|
|
||
|
#ifndef _ENUMSTD_H_
|
||
|
#define _ENUMSTD_H_
|
||
|
|
||
|
#include<windows.h>
|
||
|
////////////////////////////////////////////////////////////////////
|
||
|
// Property flags
|
||
|
////////////////////////////////////////////////////////////////////
|
||
|
const UINT fPropString = 1; // Property is a string (!fPropString ==> real)
|
||
|
const UINT fPropArray = 2; // Property is an array (!fPropArray ==> scalar)
|
||
|
const UINT fPropChoice = 4; // Property is an enumerated value
|
||
|
const UINT fPropStandard = 8; // Property is standard (stored in Registry)
|
||
|
const UINT fPropPersist = 16; // Property is persistent (stored in Registry)
|
||
|
|
||
|
////////////////////////////////////////////////////////////////////
|
||
|
// Definitions to enable usage of "MS_" standard properties
|
||
|
////////////////////////////////////////////////////////////////////
|
||
|
enum ESTDPROP
|
||
|
{
|
||
|
ESTDP_label, // Node troubleshooting label (choice)
|
||
|
ESTDP_cost_fix, // Cost to fix (real)
|
||
|
ESTDP_cost_observe, // Cost to observe (real)
|
||
|
ESTDP_category, // Category (string)
|
||
|
ESTDP_normalState, // Index of troubleshooting "normal" state (int)
|
||
|
ESTDP_max // End
|
||
|
};
|
||
|
|
||
|
enum ESTDLBL // VOI-relative node label
|
||
|
{
|
||
|
ESTDLBL_other,
|
||
|
ESTDLBL_hypo,
|
||
|
ESTDLBL_info,
|
||
|
ESTDLBL_problem,
|
||
|
ESTDLBL_fixobs,
|
||
|
ESTDLBL_fixunobs,
|
||
|
ESTDLBL_unfix,
|
||
|
ESTDLBL_config,
|
||
|
ESTDLBL_max
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif // _ENUMSTD_H_
|