Commit 495c42b6 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

gdiplus: Add traces to unimplemented functions in image.c.

parent d694679a
......@@ -945,6 +945,9 @@ GpStatus WINGDIPAPI GdipConvertToEmfPlus(const GpGraphics* ref,
{
static int calls;
TRACE("(%p,%p,%p,%u,%s,%p)\n", ref, metafile, succ, emfType,
debugstr_w(description), out_metafile);
if(!ref || !metafile || !out_metafile)
return InvalidParameter;
......@@ -1429,9 +1432,16 @@ GpStatus WINGDIPAPI GdipDisposeImage(GpImage *image)
GpStatus WINGDIPAPI GdipFindFirstImageItem(GpImage *image, ImageItemData* item)
{
static int calls;
TRACE("(%p,%p)\n", image, item);
if(!image || !item)
return InvalidParameter;
if (!(calls++))
FIXME("not implemented\n");
return NotImplemented;
}
......@@ -1729,6 +1739,8 @@ GpStatus WINGDIPAPI GdipGetPropertySize(GpImage *image, UINT* size, UINT* num)
{
static int calls;
TRACE("(%p,%p,%p)\n", image, size, num);
if(!(calls++))
FIXME("not implemented\n");
......@@ -1753,6 +1765,8 @@ GpStatus WINGDIPAPI GdipImageGetFrameCount(GpImage *image,
{
static int calls;
TRACE("(%p,%s,%p)\n", image, debugstr_guid(dimensionID), count);
if(!image || !dimensionID || !count)
return InvalidParameter;
......@@ -2142,6 +2156,8 @@ GpStatus WINGDIPAPI GdipRemovePropertyItem(GpImage *image, PROPID propId)
{
static int calls;
TRACE("(%p,%u)\n", image, propId);
if(!image)
return InvalidParameter;
......@@ -2155,6 +2171,8 @@ GpStatus WINGDIPAPI GdipSetPropertyItem(GpImage *image, GDIPCONST PropertyItem*
{
static int calls;
TRACE("(%p,%p)\n", image, item);
if(!(calls++))
FIXME("not implemented\n");
......@@ -2848,6 +2866,8 @@ GpStatus WINGDIPAPI GdipSetEffectParameters(CGpEffect *effect,
{
static int calls;
TRACE("(%p,%p,%u)\n", effect, params, size);
if(!(calls++))
FIXME("not implemented\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment