gdiplus: Add parameter checks to GdipSetPropertyItem, print item contents in the trace.
This commit is contained in:
parent
b03e74e358
commit
56621638df
|
@ -3348,7 +3348,9 @@ GpStatus WINGDIPAPI GdipSetPropertyItem(GpImage *image, GDIPCONST PropertyItem*
|
||||||
{
|
{
|
||||||
static int calls;
|
static int calls;
|
||||||
|
|
||||||
TRACE("(%p,%p)\n", image, item);
|
if (!image || !item) return InvalidParameter;
|
||||||
|
|
||||||
|
TRACE("(%p,%p:%#x,%u,%u,%p)\n", image, item, item->id, item->type, item->length, item->value);
|
||||||
|
|
||||||
if(!(calls++))
|
if(!(calls++))
|
||||||
FIXME("not implemented\n");
|
FIXME("not implemented\n");
|
||||||
|
|
Loading…
Reference in New Issue