11 Dec
2023
11 Dec
'23
6:42 p.m.
Esme Povirk (@madewokherd) commented about dlls/gdiplus/image.c:
+/***************************************************************************** + * GdipGetEffectParameters [GDIPLUS.@] + */ +GpStatus WINGDIPAPI GdipGetEffectParameters(CGpEffect *effect, + UINT *size, VOID *params) +{ + GpEffect *ef; + + TRACE("(%p,%p,%p)\n", effect, size, params); + if (!effect || !params || !size) + return InvalidParameter; + + ef = (GpEffect *)effect; + *size = ef->paramsize; + params = ef->params;
This just changes the pointer stored locally in the function's `params` variable, which isn't used afterwards, so it doesn't actually do anything. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4661#note_55734