gdiplus: Add a few additional traces to gdiplus image functions.
This commit is contained in:
parent
58dd97efcf
commit
6ea90c3c2e
|
@ -1391,6 +1391,8 @@ GpStatus WINGDIPAPI GdipCreateBitmapFromGraphics(INT width, INT height,
|
||||||
static int calls;
|
static int calls;
|
||||||
GpStatus ret;
|
GpStatus ret;
|
||||||
|
|
||||||
|
TRACE("(%d, %d, %p, %p)\n", width, height, target, bitmap);
|
||||||
|
|
||||||
if(!target || !bitmap)
|
if(!target || !bitmap)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -2133,6 +2135,8 @@ GpStatus WINGDIPAPI GdipGetImagePixelFormat(GpImage *image, PixelFormat *format)
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipGetImageRawFormat(GpImage *image, GUID *format)
|
GpStatus WINGDIPAPI GdipGetImageRawFormat(GpImage *image, GUID *format)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %p)\n", image, format);
|
||||||
|
|
||||||
if(!image || !format)
|
if(!image || !format)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -2195,6 +2199,8 @@ GpStatus WINGDIPAPI GdipGetMetafileHeaderFromMetafile(GpMetafile * metafile,
|
||||||
{
|
{
|
||||||
static int calls;
|
static int calls;
|
||||||
|
|
||||||
|
TRACE("(%p, %p)\n", metafile, header);
|
||||||
|
|
||||||
if(!metafile || !header)
|
if(!metafile || !header)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
@ -2211,6 +2217,8 @@ GpStatus WINGDIPAPI GdipGetAllPropertyItems(GpImage *image, UINT size,
|
||||||
{
|
{
|
||||||
static int calls;
|
static int calls;
|
||||||
|
|
||||||
|
TRACE("(%p, %u, %u, %p)\n", image, size, num, items);
|
||||||
|
|
||||||
if(!(calls++))
|
if(!(calls++))
|
||||||
FIXME("not implemented\n");
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
@ -2221,6 +2229,8 @@ GpStatus WINGDIPAPI GdipGetPropertyCount(GpImage *image, UINT* num)
|
||||||
{
|
{
|
||||||
static int calls;
|
static int calls;
|
||||||
|
|
||||||
|
TRACE("(%p, %p)\n", image, num);
|
||||||
|
|
||||||
if(!(calls++))
|
if(!(calls++))
|
||||||
FIXME("not implemented\n");
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
@ -2231,6 +2241,8 @@ GpStatus WINGDIPAPI GdipGetPropertyIdList(GpImage *image, UINT num, PROPID* list
|
||||||
{
|
{
|
||||||
static int calls;
|
static int calls;
|
||||||
|
|
||||||
|
TRACE("(%p, %u, %p)\n", image, num, list);
|
||||||
|
|
||||||
if(!(calls++))
|
if(!(calls++))
|
||||||
FIXME("not implemented\n");
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
@ -2242,6 +2254,8 @@ GpStatus WINGDIPAPI GdipGetPropertyItem(GpImage *image, PROPID id, UINT size,
|
||||||
{
|
{
|
||||||
static int calls;
|
static int calls;
|
||||||
|
|
||||||
|
TRACE("(%p, %u, %u, %p)\n", image, id, size, buffer);
|
||||||
|
|
||||||
if(!(calls++))
|
if(!(calls++))
|
||||||
FIXME("not implemented\n");
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
@ -2311,6 +2325,8 @@ GpStatus WINGDIPAPI GdipImageGetFrameCount(GpImage *image,
|
||||||
GpStatus WINGDIPAPI GdipImageGetFrameDimensionsCount(GpImage *image,
|
GpStatus WINGDIPAPI GdipImageGetFrameDimensionsCount(GpImage *image,
|
||||||
UINT* count)
|
UINT* count)
|
||||||
{
|
{
|
||||||
|
TRACE("(%p, %p)\n", image, count);
|
||||||
|
|
||||||
/* Native gdiplus 1.1 does not yet support multiple frame dimensions. */
|
/* Native gdiplus 1.1 does not yet support multiple frame dimensions. */
|
||||||
|
|
||||||
if(!image || !count)
|
if(!image || !count)
|
||||||
|
@ -2354,6 +2370,8 @@ GpStatus WINGDIPAPI GdipImageSelectActiveFrame(GpImage *image,
|
||||||
{
|
{
|
||||||
static int calls;
|
static int calls;
|
||||||
|
|
||||||
|
TRACE("(%p, %s, %u)\n", image, debugstr_guid(dimensionID), frameidx);
|
||||||
|
|
||||||
if(!image || !dimensionID)
|
if(!image || !dimensionID)
|
||||||
return InvalidParameter;
|
return InvalidParameter;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue