This structure is passed to a details criteria edit window when it is created, so that is knows the current calue and min/max values for the criteria to be edited.
As you modify the compare value using the criteria edit window, you should update the buffer pointed to by pCompareValue.
typedef struct _EDITCTLINIT { ULONG cb; /* Length of this structure. */ PVOID pCompareValue; /* Buffer containing the current value. */ ULONG ulLenCompareValue; /* Length of the pCompareValue buffer. */ PVOID pMinCompareValue; /* Set to NULL. */ PVOID pMaxCompareValue; /* Set to NULL. */ } EDITCTLINIT; typedef EDITCTLINIT * PEDITCTLINIT ;