ReactOS  0.4.15-dev-2993-g14fbe80
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 
13 LONG
14 WINAPI
16  UCHAR* pucCharCodes,
17  ULONG ulCharCodeSize,
18  USHORT* pusShortCodes,
19  ULONG ulShortCodeSize,
20  ULONG ulFlags)
21 {
23  return E_NONE;
24 }
25 
26 LONG
27 WINAPI
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 
46 LONG
47 WINAPI
49  BOOL bEnable)
50 {
52  return E_NONE;
53 }
54 
55 LONG
56 WINAPI
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 
69 LONG
70 WINAPI
72  TTVALIDATIONTESTPARAMS* pTestParam)
73 {
75  return E_NONE;
76 }
77 
78 LONG
79 WINAPI
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 
96 LONG
97 WINAPI
99  TTVALIDATIONTESTPARAMSEX* pTestParam)
100 {
102  return E_NONE;
103 }
104 
105 LONG
106 WINAPI
107 TTGetNewFontName(HANDLE* phFontReference,
108  LPWSTR szWinFamilyName,
109  long cchMaxWinName,
110  LPSTR szMacFamilyName,
111  long cchMaxMacName)
112 {
114  return E_NONE;
115 }
LONG WINAPI TTRunValidationTestsEx(HDC hDC, TTVALIDATIONTESTPARAMSEX *pTestParam)
Definition: stubs.c:98
static HDC
Definition: imagelist.c:92
char * LPSTR
Definition: xmlstorage.h:182
#define UNIMPLEMENTED
Definition: stubs.c:20
unsigned long(WINAPIV * WRITEEMBEDPROC)(void *lpvWriteStream, const void *lpvBuffer, const unsigned long cbBuffer)
Definition: t2embapi.h:114
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
unsigned int BOOL
Definition: ntddk_ex.h:94
long LONG
Definition: pedump.c:60
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
const char * LPCSTR
Definition: xmlstorage.h:183
#define WINAPI
Definition: msvc.h:6
#define E_NONE
Definition: t2embapi.h:38
unsigned char UCHAR
Definition: xmlstorage.h:181
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
static HDC hDC
Definition: 3dtext.c:33
LONG WINAPI TTGetEmbeddedFontInfo(ULONG ulFlags, ULONG *pulPrivStatus, ULONG ulPrivs, ULONG *pulStatus, READEMBEDPROC lpfnReadFromStream, LPVOID lpvReadStream, TTLOADINFO *pTTLoadInfo)
Definition: stubs.c:57
_In_ BOOL bEnable
Definition: winddi.h:3426
unsigned short USHORT
Definition: pedump.c:61
unsigned int ULONG
Definition: retypes.h:1
LONG WINAPI TTCharToUnicode(HDC hDC, UCHAR *pucCharCodes, ULONG ulCharCodeSize, USHORT *pusShortCodes, ULONG ulShortCodeSize, ULONG ulFlags)
Definition: stubs.c:15
WCHAR * LPWSTR
Definition: xmlstorage.h:184
unsigned long(WINAPIV * READEMBEDPROC)(void *lpvReadStream, void *lpvBuffer, const unsigned long cbBuffer)
Definition: t2embapi.h:121