ReactOS 0.4.15-dev-7958-gcd0bb1a
stubs.c
Go to the documentation of this file.
1/*
2 * PROJECT: Font Embedding Dll
3 * FILE: dll\win32\t2embed\stubs.c
4 * PURPOSE: Stubs file
5 * PROGRAMMERS: Dmitry Chapyshev (dmitry@reactos.org)
6 */
7
8#define WIN32_NO_STATUS
9#include <windef.h>
10#include <t2embapi.h>
11#include <debug.h>
12
13LONG
16 UCHAR* pucCharCodes,
17 ULONG ulCharCodeSize,
18 USHORT* pusShortCodes,
19 ULONG ulShortCodeSize,
20 ULONG ulFlags)
21{
23 return E_NONE;
24}
25
26LONG
29 LPCSTR szFontFileName,
30 USHORT usTTCIndex,
31 ULONG ulFlags,
32 ULONG ulCharSet,
33 ULONG* pulPrivStatus,
34 ULONG* pulStatus,
35 WRITEEMBEDPROC lpfnWriteToStream,
36 LPVOID lpvWriteStream,
37 USHORT* pusCharCodeSet,
38 USHORT usCharCodeCount,
39 USHORT usLanguage,
40 TTEMBEDINFO* pTTEmbedInfo)
41{
43 return E_NONE;
44}
45
46LONG
50{
52 return E_NONE;
53}
54
55LONG
58 ULONG* pulPrivStatus,
59 ULONG ulPrivs,
60 ULONG* pulStatus,
61 READEMBEDPROC lpfnReadFromStream,
62 LPVOID lpvReadStream,
63 TTLOADINFO* pTTLoadInfo)
64{
66 return E_NONE;
67}
68
69LONG
72 TTVALIDATIONTESTPARAMS* pTestParam)
73{
75 return E_NONE;
76}
77
78LONG
81 ULONG ulFlags,
82 ULONG ulCharSet,
83 ULONG* pulPrivStatus,
84 ULONG* pulStatus,
85 WRITEEMBEDPROC lpfnWriteToStream,
86 LPVOID lpvWriteStream,
87 ULONG* pulCharCodeSet,
88 USHORT usCharCodeCount,
89 USHORT usLanguage,
90 TTEMBEDINFO* pTTEmbedInfo)
91{
93 return E_NONE;
94}
95
96LONG
99 TTVALIDATIONTESTPARAMSEX* pTestParam)
100{
102 return E_NONE;
103}
104
105LONG
106WINAPI
107TTGetNewFontName(HANDLE* phFontReference,
108 LPWSTR szWinFamilyName,
109 long cchMaxWinName,
110 LPSTR szMacFamilyName,
111 long cchMaxMacName)
112{
114 return E_NONE;
115}
static HDC hDC
Definition: 3dtext.c:33
#define UNIMPLEMENTED
Definition: debug.h:115
LONG WINAPI TTCharToUnicode(HDC hDC, UCHAR *pucCharCodes, ULONG ulCharCodeSize, USHORT *pusShortCodes, ULONG ulShortCodeSize, ULONG ulFlags)
Definition: stubs.c:15
LONG WINAPI TTEmbedFontFromFileA(HDC hDC, LPCSTR szFontFileName, USHORT usTTCIndex, ULONG ulFlags, ULONG ulCharSet, ULONG *pulPrivStatus, ULONG *pulStatus, WRITEEMBEDPROC lpfnWriteToStream, LPVOID lpvWriteStream, USHORT *pusCharCodeSet, USHORT usCharCodeCount, USHORT usLanguage, TTEMBEDINFO *pTTEmbedInfo)
Definition: stubs.c:28
LONG WINAPI TTRunValidationTests(HDC hDC, TTVALIDATIONTESTPARAMS *pTestParam)
Definition: stubs.c:71
LONG WINAPI TTGetNewFontName(HANDLE *phFontReference, LPWSTR szWinFamilyName, long cchMaxWinName, LPSTR szMacFamilyName, long cchMaxMacName)
Definition: stubs.c:107
LONG WINAPI TTGetEmbeddedFontInfo(ULONG ulFlags, ULONG *pulPrivStatus, ULONG ulPrivs, ULONG *pulStatus, READEMBEDPROC lpfnReadFromStream, LPVOID lpvReadStream, TTLOADINFO *pTTLoadInfo)
Definition: stubs.c:57
LONG WINAPI TTRunValidationTestsEx(HDC hDC, TTVALIDATIONTESTPARAMSEX *pTestParam)
Definition: stubs.c:98
LONG WINAPI TTEnableEmbeddingForFacename(LPSTR lpszFacename, BOOL bEnable)
Definition: stubs.c:48
LONG WINAPI TTEmbedFontEx(HDC hDC, ULONG ulFlags, ULONG ulCharSet, ULONG *pulPrivStatus, ULONG *pulStatus, WRITEEMBEDPROC lpfnWriteToStream, LPVOID lpvWriteStream, ULONG *pulCharCodeSet, USHORT usCharCodeCount, USHORT usLanguage, TTEMBEDINFO *pTTEmbedInfo)
Definition: stubs.c:80
unsigned int BOOL
Definition: ntddk_ex.h:94
static HDC
Definition: imagelist.c:92
long LONG
Definition: pedump.c:60
unsigned short USHORT
Definition: pedump.c:61
unsigned long(WINAPIV * READEMBEDPROC)(void *lpvReadStream, void *lpvBuffer, const unsigned long cbBuffer)
Definition: t2embapi.h:121
#define E_NONE
Definition: t2embapi.h:38
unsigned long(WINAPIV * WRITEEMBEDPROC)(void *lpvWriteStream, const void *lpvBuffer, const unsigned long cbBuffer)
Definition: t2embapi.h:114
uint32_t ULONG
Definition: typedefs.h:59
_In_ BOOL bEnable
Definition: winddi.h:3426
#define WINAPI
Definition: msvc.h:6
const char * LPCSTR
Definition: xmlstorage.h:183
char * LPSTR
Definition: xmlstorage.h:182
unsigned char UCHAR
Definition: xmlstorage.h:181
WCHAR * LPWSTR
Definition: xmlstorage.h:184