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

This commit is contained in:
Vincent Povirk 2009-12-18 16:12:51 -06:00 committed by Alexandre Julliard
parent d694679ab6
commit 495c42b617
1 changed files with 20 additions and 0 deletions

View File

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