Commit 6ea90c3c authored by Andrew Nguyen's avatar Andrew Nguyen Committed by Alexandre Julliard

gdiplus: Add a few additional traces to gdiplus image functions.

parent 58dd97ef
......@@ -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;
......
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