Esme Povirk (@madewokherd) commented about dlls/gdiplus/gdiplus_private.h:
- RedEyeCorrectionEffect,
- ColorMatrixEffect,
- ColorLUTEffect,
- BrightnessContrastEffect,
- HueSaturationLightnessEffect,
- ColorBalanceEffect,
- LevelsEffect,
- ColorCurveEffect,
+} EffectType;
+typedef struct GpEffect{
- INT auxdatasize;
- void *auxdata;
- BOOL useauxdata;
- EffectType type;
+} GpEffect;
The useauxdata field seems redundant. We could use size == 0 or data == NULL.