gdiplus: Stub GdipGetMetafileHeaderFromFile.

This commit is contained in:
Vincent Povirk 2010-06-19 17:36:15 -05:00 committed by Alexandre Julliard
parent 115bf743b8
commit 688eb0688b
2 changed files with 19 additions and 1 deletions

View File

@ -316,7 +316,7 @@
@ stdcall GdipGetMatrixElements(ptr ptr) @ stdcall GdipGetMatrixElements(ptr ptr)
@ stub GdipGetMetafileDownLevelRasterizationLimit @ stub GdipGetMetafileDownLevelRasterizationLimit
@ stdcall GdipGetMetafileHeaderFromEmf(ptr ptr) @ stdcall GdipGetMetafileHeaderFromEmf(ptr ptr)
@ stub GdipGetMetafileHeaderFromFile @ stdcall GdipGetMetafileHeaderFromFile(wstr ptr)
@ stdcall GdipGetMetafileHeaderFromMetafile(ptr ptr) @ stdcall GdipGetMetafileHeaderFromMetafile(ptr ptr)
@ stub GdipGetMetafileHeaderFromStream @ stub GdipGetMetafileHeaderFromStream
@ stub GdipGetMetafileHeaderFromWmf @ stub GdipGetMetafileHeaderFromWmf

View File

@ -2228,6 +2228,24 @@ GpStatus WINGDIPAPI GdipGetMetafileHeaderFromEmf(HENHMETAFILE hEmf,
return Ok; return Ok;
} }
GpStatus WINGDIPAPI GdipGetMetafileHeaderFromFile(GDIPCONST WCHAR *filename,
MetafileHeader *header)
{
static int calls;
TRACE("(%s,%p)\n", debugstr_w(filename), header);
if(!filename || !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)
{ {