Jump to content

CRITERIA

From EDM2

Details comparison criteria structure.

Type

struct

C Declaration Method

typedef struct

Example Code

typedef struct _CRITERIA {
  PVOID                  pReserved;            /* Reserved. Set to NULL. */
  struct _CRITERIA      *pNext;                /* Pointer to the next criteria record. */
  struct _CRITERIA      *pPrev;                /* Pointer to the previous criteria record. */
  ULONG                  ClassFieldInfoIndex;  /* Index of the detaild field. */
  ULONG                  LogicalOperator;      /* CRITERIA_AND or CRITERIA_OR */
  ULONG                  ComparisonType;       /* The comparison type. */
  ULONG                  ulLenCompareValue;    /* Sizeof(ComparisonData). */
  CHAR                   CompareValue[1];      /* Value to be compared with. */
} CRITERIA;

typedef CRITERIA *PCRITERIA;