status=ProFeatureStatusGet(p_feat,&p_status);
typedef enum pro_feat_status {
PRO_FEAT_INVALID = -1, /* input was invalid */
PRO_FEAT_ACTIVE = 0, /* feature is active */
PRO_FEAT_INACTIVE = 1, /* feature is inactive */ PRO_FEAT_FAMTAB_SUPPRESSED = 2, /* feature is suppressed by family */ /* table functionality */
PRO_FEAT_SIMP_REP_SUPPRESSED = 3, /* feature is suppressed by */ /* simplified reps functionality */
PRO_FEAT_PROG_SUPPRESSED = 4, /* feature is suppressed by */ /* Pro/PROGRAM functionality */ PRO_FEAT_SUPPRESSED = 5, /* feature is suppressed */
PRO_FEAT_UNREGENERATED = 6 /* feature is active but */ /* unregenerated */
} ProFeatStatus;
判断状态是否为PRO_FEAT_ACTIVE不行,只能过滤掉suppressed的
本帖最后由 hyccai 于 2011-3-21 18:09 编辑 |