Commit b16b1220 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

t2embed: Add TTGetEmbeddingType stub.

parent d82bd17d
......@@ -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;
}
......@@ -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)
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment