Vincent Povirk : gdiplus: Add trace for values of new graphics and image objects.
Alexandre Julliard
julliard at winehq.org
Mon Dec 21 09:39:47 CST 2009
Module: wine
Branch: master
Commit: f8ca372459b2700dac452f3a3b06a7d6a14a5962
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f8ca372459b2700dac452f3a3b06a7d6a14a5962
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Fri Dec 18 15:09:45 2009 -0600
gdiplus: Add trace for values of new graphics and image objects.
---
dlls/gdiplus/graphics.c | 4 ++++
dlls/gdiplus/image.c | 4 ++++
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index b1092b7..5ab544d 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -1162,6 +1162,8 @@ GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC hdc, HANDLE hDevice, GpGraphics **gra
list_init(&(*graphics)->containers);
(*graphics)->contid = 0;
+ TRACE("<-- %p\n", *graphics);
+
return Ok;
}
@@ -1271,6 +1273,8 @@ GpStatus WINGDIPAPI GdipCreateMetafileFromWmf(HMETAFILE hwmf, BOOL delete,
if(delete)
DeleteMetaFile(hwmf);
+ TRACE("<-- %p\n", *metafile);
+
return Ok;
err:
diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c
index 3dbe4da..9858f33 100644
--- a/dlls/gdiplus/image.c
+++ b/dlls/gdiplus/image.c
@@ -1282,6 +1282,8 @@ GpStatus WINGDIPAPI GdipCreateBitmapFromScan0(INT width, INT height, INT stride,
}
}
+ TRACE("<-- %p\n", *bitmap);
+
return Ok;
}
@@ -1976,6 +1978,8 @@ static GpStatus decode_image_olepicture_metafile(IStream* stream, REFCLSID clsid
(*image)->palette_size = 0;
(*image)->palette_entries = NULL;
+ TRACE("<-- %p\n", *image);
+
return Ok;
}
More information about the wine-cvs
mailing list