From 6ea90c3c2edd37ddd37a3402ff23b97486c4aec3 Mon Sep 17 00:00:00 2001 From: Andrew Nguyen Date: Fri, 25 Jun 2010 04:26:53 -0500 Subject: [PATCH] gdiplus: Add a few additional traces to gdiplus image functions. --- dlls/gdiplus/image.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index 46f6056e8a7..252e19a19b0 100644 --- a/dlls/gdiplus/image.c +++ b/dlls/gdiplus/image.c @@ -1391,6 +1391,8 @@ GpStatus WINGDIPAPI GdipCreateBitmapFromGraphics(INT width, INT height, static int calls; GpStatus ret; + TRACE("(%d, %d, %p, %p)\n", width, height, target, bitmap); + if(!target || !bitmap) return InvalidParameter; @@ -2133,6 +2135,8 @@ GpStatus WINGDIPAPI GdipGetImagePixelFormat(GpImage *image, PixelFormat *format) GpStatus WINGDIPAPI GdipGetImageRawFormat(GpImage *image, GUID *format) { + TRACE("(%p, %p)\n", image, format); + if(!image || !format) return InvalidParameter; @@ -2195,6 +2199,8 @@ GpStatus WINGDIPAPI GdipGetMetafileHeaderFromMetafile(GpMetafile * metafile, { static int calls; + TRACE("(%p, %p)\n", metafile, header); + if(!metafile || !header) return InvalidParameter; @@ -2211,6 +2217,8 @@ GpStatus WINGDIPAPI GdipGetAllPropertyItems(GpImage *image, UINT size, { static int calls; + TRACE("(%p, %u, %u, %p)\n", image, size, num, items); + if(!(calls++)) FIXME("not implemented\n"); @@ -2221,6 +2229,8 @@ GpStatus WINGDIPAPI GdipGetPropertyCount(GpImage *image, UINT* num) { static int calls; + TRACE("(%p, %p)\n", image, num); + if(!(calls++)) FIXME("not implemented\n"); @@ -2231,6 +2241,8 @@ GpStatus WINGDIPAPI GdipGetPropertyIdList(GpImage *image, UINT num, PROPID* list { static int calls; + TRACE("(%p, %u, %p)\n", image, num, list); + if(!(calls++)) FIXME("not implemented\n"); @@ -2242,6 +2254,8 @@ GpStatus WINGDIPAPI GdipGetPropertyItem(GpImage *image, PROPID id, UINT size, { static int calls; + TRACE("(%p, %u, %u, %p)\n", image, id, size, buffer); + if(!(calls++)) FIXME("not implemented\n"); @@ -2311,6 +2325,8 @@ GpStatus WINGDIPAPI GdipImageGetFrameCount(GpImage *image, GpStatus WINGDIPAPI GdipImageGetFrameDimensionsCount(GpImage *image, UINT* count) { + TRACE("(%p, %p)\n", image, count); + /* Native gdiplus 1.1 does not yet support multiple frame dimensions. */ if(!image || !count) @@ -2354,6 +2370,8 @@ GpStatus WINGDIPAPI GdipImageSelectActiveFrame(GpImage *image, { static int calls; + TRACE("(%p, %s, %u)\n", image, debugstr_guid(dimensionID), frameidx); + if(!image || !dimensionID) return InvalidParameter;