gdiplus: Add trace for values of new graphics and image objects.
This commit is contained in:
parent
2d8fb9ade3
commit
f8ca372459
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue