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

This commit is contained in:
Vincent Povirk 2009-12-18 15:09:45 -06:00 committed by Alexandre Julliard
parent 2d8fb9ade3
commit f8ca372459
2 changed files with 8 additions and 0 deletions

View File

@ -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:

View File

@ -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;
}