Jump to content

CRITERIA

From EDM2
Revision as of 02:53, 3 May 2025 by Martini (talk | contribs) (Created page with "Details comparison criteria structure. == Type == struct == C Declaration Method == typedef struct == Example Code == <PRE> 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 th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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;