gdiplus: Add a stub implementation of GdipPrivateAddMemoryFont.

This commit is contained in:
Hans Leidekker 2008-11-24 10:22:06 +01:00 committed by Alexandre Julliard
parent ea323d1349
commit 2b8c6fe4db
2 changed files with 15 additions and 1 deletions

View File

@ -834,6 +834,20 @@ GpStatus WINGDIPAPI GdipPrivateAddFontFile(GpFontCollection* fontCollection,
return NotImplemented; return NotImplemented;
} }
/*****************************************************************************
* GdipPrivateAddMemoryFont [GDIPLUS.@]
*/
GpStatus WINGDIPAPI GdipPrivateAddMemoryFont(GpFontCollection* fontCollection,
GDIPCONST void* memory, INT length)
{
FIXME("%p, %p, %d\n", fontCollection, memory, length);
if (!(fontCollection && memory && length))
return InvalidParameter;
return Ok;
}
/***************************************************************************** /*****************************************************************************
* GdipGetFontCollectionFamilyCount [GDIPLUS.@] * GdipGetFontCollectionFamilyCount [GDIPLUS.@]
*/ */

View File

@ -465,7 +465,7 @@
@ stub GdipPlayMetafileRecord @ stub GdipPlayMetafileRecord
@ stub GdipPlayTSClientRecord @ stub GdipPlayTSClientRecord
@ stdcall GdipPrivateAddFontFile(ptr wstr) @ stdcall GdipPrivateAddFontFile(ptr wstr)
@ stub GdipPrivateAddMemoryFont @ stdcall GdipPrivateAddMemoryFont(ptr ptr long)
@ stub GdipRecordMetafile @ stub GdipRecordMetafile
@ stdcall GdipRecordMetafileFileName(wstr long long ptr long wstr ptr) @ stdcall GdipRecordMetafileFileName(wstr long long ptr long wstr ptr)
@ stdcall GdipRecordMetafileFileNameI(wstr long long ptr long wstr ptr) @ stdcall GdipRecordMetafileFileNameI(wstr long long ptr long wstr ptr)