Esme Povirk (@madewokherd) commented about dlls/gdiplus/pen.c:
return GdipSetSolidFillColor(((GpSolidFill*)pen->brush), argb);
}
+GpStatus WINGDIPAPI GdipGetPenCompoundArray(GpPen *pen, REAL *compoundarray, INT count) +{
- TRACE("(%p, %p, %i)\n", pen, compoundarray, count);
- if (!pen || !compoundarray || count > pen->compound_array_size)
We should probably also check for count being negative.