t2embed: Add stub for TTEmbedFont.
This commit is contained in:
parent
09dd285d8c
commit
29d5887b5c
|
@ -60,6 +60,19 @@ LONG WINAPI TTLoadEmbeddedFont(HANDLE *phFontReference, ULONG ulFlags,
|
|||
return E_API_NOTIMPL;
|
||||
}
|
||||
|
||||
LONG WINAPI TTEmbedFont(HDC hDC, ULONG ulFlags, ULONG ulCharSet, ULONG *pulPrivStatus,
|
||||
ULONG *pulStatus, WRITEEMBEDPROC lpfnWriteToStream, LPVOID lpvWriteStream,
|
||||
USHORT *pusCharCodeSet, USHORT usCharCodeCount, USHORT usLanguage,
|
||||
TTEMBEDINFO *pTTEmbedInfo)
|
||||
{
|
||||
FIXME("(%p 0x%08x 0x%08x %p %p %p %p %p %u %u %p) stub\n", hDC,
|
||||
ulFlags, ulCharSet, pulPrivStatus, pulStatus, lpfnWriteToStream,
|
||||
lpvWriteStream, pusCharCodeSet, usCharCodeCount, usLanguage,
|
||||
pTTEmbedInfo);
|
||||
|
||||
return E_API_NOTIMPL;
|
||||
}
|
||||
|
||||
LONG WINAPI TTGetEmbeddingType(HDC hDC, ULONG *status)
|
||||
{
|
||||
FIXME("(%p %p) stub\n", hDC, status);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
@ stub TTCharToUnicode
|
||||
@ stub TTDeleteEmbeddedFont
|
||||
@ stub TTEmbedFont
|
||||
@ stdcall TTEmbedFont(ptr long long ptr ptr ptr ptr ptr long long ptr)
|
||||
@ stub TTEmbedFontFromFileA
|
||||
@ stub TTEnableEmbeddingForFacename
|
||||
@ stub TTGetEmbeddedFontInfo
|
||||
|
@ -11,7 +11,7 @@
|
|||
@ stub TTRunValidationTests
|
||||
@ stub _TTCharToUnicode@24
|
||||
@ stub _TTDeleteEmbeddedFont@12
|
||||
@ stub _TTEmbedFont@44
|
||||
@ stdcall _TTEmbedFont@44(ptr long long ptr ptr ptr ptr ptr long long ptr) TTEmbedFont
|
||||
@ stub _TTEmbedFontFromFileA@52
|
||||
@ stub _TTEnableEmbeddingForFacename@8
|
||||
@ stub _TTGetEmbeddedFontInfo@28
|
||||
|
|
|
@ -28,6 +28,7 @@ extern "C" {
|
|||
#define E_API_NOTIMPL 0x0001L
|
||||
|
||||
typedef ULONG (WINAPIV * READEMBEDPROC)(void*,void*,ULONG);
|
||||
typedef ULONG (WINAPIV * WRITEEMBEDPROC)(void*,void*,ULONG);
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
@ -36,6 +37,13 @@ typedef struct
|
|||
unsigned short *pusRefStr;
|
||||
} TTLOADINFO;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
unsigned short usStructSize;
|
||||
unsigned short usRootStrSize;
|
||||
unsigned short *pusRootStr;
|
||||
} TTEMBEDINFO;
|
||||
|
||||
LONG WINAPI TTLoadEmbeddedFont(HANDLE*,ULONG,ULONG*,ULONG,ULONG*,READEMBEDPROC,
|
||||
LPVOID,LPWSTR,LPSTR,TTLOADINFO*);
|
||||
|
||||
|
|
Loading…
Reference in New Issue