diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index 587f2ab1cd3..4067873b04d 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -52,7 +52,7 @@ @ stdcall GdipCloneCustomLineCap(ptr ptr) @ stdcall GdipCloneFont(ptr ptr) @ stub GdipCloneFontFamily -@ stub GdipCloneImage +@ stdcall GdipCloneImage(ptr ptr) @ stdcall GdipCloneImageAttributes(ptr ptr) @ stdcall GdipCloneMatrix(ptr ptr) @ stdcall GdipClonePath(ptr ptr) diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index 330e54bfb03..bf2ac35b14f 100644 --- a/dlls/gdiplus/image.c +++ b/dlls/gdiplus/image.c @@ -240,6 +240,15 @@ GpStatus WINGDIPAPI GdipBitmapUnlockBits(GpBitmap* bitmap, return Ok; } +GpStatus WINGDIPAPI GdipCloneImage(GpImage *image, GpImage **cloneImage) +{ + if (!(image && cloneImage)) return InvalidParameter; + + FIXME("stub: %p, %p", image, cloneImage); + + return NotImplemented; +} + GpStatus WINGDIPAPI GdipCreateBitmapFromFile(GDIPCONST WCHAR* filename, GpBitmap **bitmap) { diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h index 5caeb720645..4a5146cd4dd 100644 --- a/include/gdiplusflat.h +++ b/include/gdiplusflat.h @@ -344,6 +344,7 @@ GpStatus WINGDIPAPI GdipSaveImageToStream(GpImage*,IStream*, GDIPCONST CLSID*,GDIPCONST EncoderParameters*); GpStatus WINGDIPAPI GdipSetImagePalette(GpImage*,GDIPCONST ColorPalette*); +GpStatus WINGDIPAPI GdipCloneImage(GpImage*, GpImage**); GpStatus WINGDIPAPI GdipCloneImageAttributes(GDIPCONST GpImageAttributes*,GpImageAttributes**); GpStatus WINGDIPAPI GdipCreateImageAttributes(GpImageAttributes**); GpStatus WINGDIPAPI GdipDisposeImageAttributes(GpImageAttributes*);