diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index 6721c01384e..80a6aaed0f4 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -278,7 +278,7 @@ @ stdcall GdipGetHatchBackgroundColor(ptr ptr) @ stdcall GdipGetHatchForegroundColor(ptr ptr) @ stdcall GdipGetHatchStyle(ptr ptr) -@ stub GdipGetHemfFromMetafile +@ stdcall GdipGetHemfFromMetafile(ptr ptr) @ stub GdipGetImageAttributesAdjustedPalette @ stdcall GdipGetImageBounds(ptr ptr ptr) @ stdcall GdipGetImageDecoders(long long ptr) diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index de1e28f51c6..026b9a24a99 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c @@ -5382,3 +5382,15 @@ cleanup: GdipDeleteRegion(rgn); return stat; } + +GpStatus WINGDIPAPI GdipGetHemfFromMetafile(GpMetafile *metafile, HENHMETAFILE *hEmf) +{ + FIXME("(%p,%p): stub\n", metafile, hEmf); + + if (!metafile || !hEmf) + return InvalidParameter; + + *hEmf = NULL; + + return NotImplemented; +} diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h index 7cf2729d8ed..b35048f165e 100644 --- a/include/gdiplusflat.h +++ b/include/gdiplusflat.h @@ -523,6 +523,7 @@ GpStatus WINGDIPAPI GdipCreateMetafileFromWmfFile(GDIPCONST WCHAR*, GDIPCONST Wm GpMetafile**); GpStatus WINGDIPAPI GdipCreateMetafileFromFile(GDIPCONST WCHAR*,GpMetafile**); GpStatus WINGDIPAPI GdipCreateMetafileFromStream(IStream*,GpMetafile**); +GpStatus WINGDIPAPI GdipGetHemfFromMetafile(GpMetafile*,HENHMETAFILE*); GpStatus WINGDIPAPI GdipSetMetafileDownLevelRasterizationLimit(GpMetafile*,UINT); GpStatus WINGDIPAPI GdipRecordMetafile(HDC,EmfType,GDIPCONST GpRectF*,MetafileFrameUnit,GDIPCONST WCHAR*,GpMetafile**);