gdiplus: Add parameter checks to GdipSetPropertyItem, print item contents in the trace.

This commit is contained in:
Dmitry Timoshkov 2012-07-03 11:58:21 +09:00 committed by Alexandre Julliard
parent b03e74e358
commit 56621638df
1 changed files with 3 additions and 1 deletions

View File

@ -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");