gdiplus: Stub GdipGetMetafileHeaderFromStream.
This commit is contained in:
parent
688eb0688b
commit
3847c2dec9
dlls/gdiplus
|
@ -318,7 +318,7 @@
|
||||||
@ stdcall GdipGetMetafileHeaderFromEmf(ptr ptr)
|
@ stdcall GdipGetMetafileHeaderFromEmf(ptr ptr)
|
||||||
@ stdcall GdipGetMetafileHeaderFromFile(wstr ptr)
|
@ stdcall GdipGetMetafileHeaderFromFile(wstr ptr)
|
||||||
@ stdcall GdipGetMetafileHeaderFromMetafile(ptr ptr)
|
@ stdcall GdipGetMetafileHeaderFromMetafile(ptr ptr)
|
||||||
@ stub GdipGetMetafileHeaderFromStream
|
@ stdcall GdipGetMetafileHeaderFromStream(ptr ptr)
|
||||||
@ stub GdipGetMetafileHeaderFromWmf
|
@ stub GdipGetMetafileHeaderFromWmf
|
||||||
@ stdcall GdipGetNearestColor(ptr ptr)
|
@ stdcall GdipGetNearestColor(ptr ptr)
|
||||||
@ stdcall GdipGetPageScale(ptr ptr)
|
@ stdcall GdipGetPageScale(ptr ptr)
|
||||||
|
|
|
@ -2246,6 +2246,24 @@ GpStatus WINGDIPAPI GdipGetMetafileHeaderFromFile(GDIPCONST WCHAR *filename,
|
||||||
return Ok;
|
return Ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipGetMetafileHeaderFromStream(IStream *stream,
|
||||||
|
MetafileHeader *header)
|
||||||
|
{
|
||||||
|
static int calls;
|
||||||
|
|
||||||
|
TRACE("(%p,%p)\n", stream, header);
|
||||||
|
|
||||||
|
if(!stream || !header)
|
||||||
|
return InvalidParameter;
|
||||||
|
|
||||||
|
if(!(calls++))
|
||||||
|
FIXME("not implemented\n");
|
||||||
|
|
||||||
|
memset(header, 0, sizeof(MetafileHeader));
|
||||||
|
|
||||||
|
return Ok;
|
||||||
|
}
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipGetAllPropertyItems(GpImage *image, UINT size,
|
GpStatus WINGDIPAPI GdipGetAllPropertyItems(GpImage *image, UINT size,
|
||||||
UINT num, PropertyItem* items)
|
UINT num, PropertyItem* items)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue