mirror of
https://github.com/reactos/reactos.git
synced 2024-11-02 21:09:15 +00:00
65ce146169
svn path=/branches/ros-csrss/; revision=57561
206 lines
4.3 KiB
C
206 lines
4.3 KiB
C
/*
|
|
* PROJECT: Font Embedding Dll
|
|
* FILE: dll\win32\t2embed\t2embed.c
|
|
* PURPOSE: Main file
|
|
* PROGRAMMERS: Dmitry Chapyshev (dmitry@reactos.org)
|
|
*/
|
|
|
|
#include <windows.h>
|
|
#include <t2embapi.h>
|
|
#include "wine/debug.h"
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(t2embed);
|
|
|
|
LONG
|
|
WINAPI
|
|
TTCharToUnicode(HDC hDC,
|
|
UCHAR* pucCharCodes,
|
|
ULONG ulCharCodeSize,
|
|
USHORT* pusShortCodes,
|
|
ULONG ulShortCodeSize,
|
|
ULONG ulFlags)
|
|
{
|
|
UNIMPLEMENTED;
|
|
return E_NONE;
|
|
}
|
|
|
|
LONG
|
|
WINAPI
|
|
TTDeleteEmbeddedFont(HANDLE hFontReference,
|
|
ULONG ulFlags,
|
|
ULONG* pulStatus)
|
|
{
|
|
UNIMPLEMENTED;
|
|
return E_NONE;
|
|
}
|
|
|
|
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)
|
|
{
|
|
UNIMPLEMENTED;
|
|
return E_NONE;
|
|
}
|
|
|
|
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)
|
|
{
|
|
UNIMPLEMENTED;
|
|
return E_NONE;
|
|
}
|
|
|
|
LONG
|
|
WINAPI
|
|
TTEnableEmbeddingForFacename(LPSTR lpszFacename,
|
|
BOOL bEnable)
|
|
{
|
|
UNIMPLEMENTED;
|
|
return E_NONE;
|
|
}
|
|
|
|
LONG
|
|
WINAPI
|
|
TTGetEmbeddedFontInfo(ULONG ulFlags,
|
|
ULONG* pulPrivStatus,
|
|
ULONG ulPrivs,
|
|
ULONG* pulStatus,
|
|
READEMBEDPROC lpfnReadFromStream,
|
|
LPVOID lpvReadStream,
|
|
TTLOADINFO* pTTLoadInfo)
|
|
{
|
|
UNIMPLEMENTED;
|
|
return E_NONE;
|
|
}
|
|
|
|
LONG
|
|
WINAPI
|
|
TTGetEmbeddingType(HDC hDC,
|
|
ULONG* pulPrivStatus)
|
|
{
|
|
UNIMPLEMENTED;
|
|
return E_NONE;
|
|
}
|
|
|
|
LONG
|
|
WINAPI
|
|
TTIsEmbeddingEnabled(HDC hDC,
|
|
BOOL* pbEnabled)
|
|
{
|
|
UNIMPLEMENTED;
|
|
return E_NONE;
|
|
}
|
|
|
|
LONG
|
|
WINAPI
|
|
TTIsEmbeddingEnabledForFacename(LPSTR lpszFacename,
|
|
BOOL* pbEnabled)
|
|
{
|
|
UNIMPLEMENTED;
|
|
return E_NONE;
|
|
}
|
|
|
|
LONG
|
|
WINAPI
|
|
TTLoadEmbeddedFont(HANDLE *phFontReference,
|
|
ULONG ulFlags,
|
|
ULONG* pulPrivStatus,
|
|
ULONG ulPrivs,
|
|
ULONG* pulStatus,
|
|
READEMBEDPROC lpfnReadFromStream,
|
|
LPVOID lpvReadStream,
|
|
LPWSTR szWinFamilyName,
|
|
LPSTR szMacFamilyName,
|
|
TTLOADINFO* pTTLoadInfo)
|
|
{
|
|
UNIMPLEMENTED;
|
|
return E_NONE;
|
|
}
|
|
|
|
LONG
|
|
WINAPI
|
|
TTRunValidationTests(HDC hDC,
|
|
TTVALIDATIONTESTPARAMS* pTestParam)
|
|
{
|
|
UNIMPLEMENTED;
|
|
return E_NONE;
|
|
}
|
|
|
|
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)
|
|
{
|
|
UNIMPLEMENTED;
|
|
return E_NONE;
|
|
}
|
|
|
|
LONG
|
|
WINAPI
|
|
TTRunValidationTestsEx(HDC hDC,
|
|
TTVALIDATIONTESTPARAMSEX* pTestParam)
|
|
{
|
|
UNIMPLEMENTED;
|
|
return E_NONE;
|
|
}
|
|
|
|
LONG
|
|
WINAPI
|
|
TTGetNewFontName(HANDLE* phFontReference,
|
|
LPWSTR szWinFamilyName,
|
|
long cchMaxWinName,
|
|
LPSTR szMacFamilyName,
|
|
long cchMaxMacName)
|
|
{
|
|
UNIMPLEMENTED;
|
|
return E_NONE;
|
|
}
|
|
|
|
|
|
BOOL
|
|
WINAPI
|
|
DllMain(IN HINSTANCE hinstDLL,
|
|
IN DWORD dwReason,
|
|
IN LPVOID lpvReserved)
|
|
{
|
|
switch (dwReason)
|
|
{
|
|
case DLL_PROCESS_ATTACH:
|
|
DisableThreadLibraryCalls(hinstDLL);
|
|
break;
|
|
}
|
|
|
|
return TRUE;
|
|
}
|