Commit f8ca3724 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

gdiplus: Add trace for values of new graphics and image objects.

parent 2d8fb9ad
...@@ -1162,6 +1162,8 @@ GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC hdc, HANDLE hDevice, GpGraphics **gra ...@@ -1162,6 +1162,8 @@ GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC hdc, HANDLE hDevice, GpGraphics **gra
list_init(&(*graphics)->containers); list_init(&(*graphics)->containers);
(*graphics)->contid = 0; (*graphics)->contid = 0;
TRACE("<-- %p\n", *graphics);
return Ok; return Ok;
} }
...@@ -1271,6 +1273,8 @@ GpStatus WINGDIPAPI GdipCreateMetafileFromWmf(HMETAFILE hwmf, BOOL delete, ...@@ -1271,6 +1273,8 @@ GpStatus WINGDIPAPI GdipCreateMetafileFromWmf(HMETAFILE hwmf, BOOL delete,
if(delete) if(delete)
DeleteMetaFile(hwmf); DeleteMetaFile(hwmf);
TRACE("<-- %p\n", *metafile);
return Ok; return Ok;
err: err:
......
...@@ -1282,6 +1282,8 @@ GpStatus WINGDIPAPI GdipCreateBitmapFromScan0(INT width, INT height, INT stride, ...@@ -1282,6 +1282,8 @@ GpStatus WINGDIPAPI GdipCreateBitmapFromScan0(INT width, INT height, INT stride,
} }
} }
TRACE("<-- %p\n", *bitmap);
return Ok; return Ok;
} }
...@@ -1976,6 +1978,8 @@ static GpStatus decode_image_olepicture_metafile(IStream* stream, REFCLSID clsid ...@@ -1976,6 +1978,8 @@ static GpStatus decode_image_olepicture_metafile(IStream* stream, REFCLSID clsid
(*image)->palette_size = 0; (*image)->palette_size = 0;
(*image)->palette_entries = NULL; (*image)->palette_entries = NULL;
TRACE("<-- %p\n", *image);
return Ok; return Ok;
} }
......
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