t2embed: Add TTGetEmbeddingType stub.

This commit is contained in:
Nikolay Sivov 2010-03-30 21:48:32 +04:00 committed by Alexandre Julliard
parent d82bd17dd1
commit b16b122091
3 changed files with 16 additions and 1 deletions

View File

@ -59,3 +59,10 @@ LONG WINAPI TTLoadEmbeddedFont(HANDLE *phFontReference, ULONG ulFlags,
return E_API_NOTIMPL;
}
LONG WINAPI TTGetEmbeddingType(HDC hDC, ULONG *status)
{
FIXME("(%p %p) stub\n", hDC, status);
if (status) *status = EMBED_NOEMBEDDING;
return E_API_NOTIMPL;
}

View File

@ -4,7 +4,7 @@
@ stub TTEmbedFontFromFileA
@ stub TTEnableEmbeddingForFacename
@ stub TTGetEmbeddedFontInfo
@ stub TTGetEmbeddingType
@ stdcall TTGetEmbeddingType(ptr ptr)
@ stub TTIsEmbeddingEnabled
@ stub TTIsEmbeddingEnabledForFacename
@ stdcall TTLoadEmbeddedFont(ptr long ptr long ptr ptr ptr wstr str ptr)

View File

@ -39,6 +39,14 @@ typedef struct
LONG WINAPI TTLoadEmbeddedFont(HANDLE*,ULONG,ULONG*,ULONG,ULONG*,READEMBEDPROC,
LPVOID,LPWSTR,LPSTR,TTLOADINFO*);
/* embedding privileges */
#define EMBED_PREVIEWPRINT 1
#define EMBED_EDITABLE 2
#define EMBED_INSTALLABLE 3
#define EMBED_NOEMBEDDING 4
LONG WINAPI TTGetEmbeddingType(HDC, ULONG*);
#ifdef __cplusplus
}
#endif