2 * Implementation of Uniscribe Script Processor (usp10.dll)
4 * Copyright 2005 Steven Edwards for CodeWeavers
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 * Uniscribe allows for processing of complex scripts such as joining
22 * and filtering characters and bi-directional text with custom line breaks.
32 #include "wine/debug.h"
34 WINE_DEFAULT_DEBUG_CHANNEL(uniscribe);
36 BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
39 case DLL_PROCESS_ATTACH:
40 DisableThreadLibraryCalls(hInstDLL);
42 case DLL_PROCESS_DETACH:
48 HRESULT WINAPI ScriptGetProperties(const SCRIPT_PROPERTIES ***ppSp, int *piNumScripts)
50 FIXME("%p,%p\n",ppSp,piNumScripts);
54 HRESULT WINAPI ScriptGetFontProperties(HDC hdc, SCRIPT_CACHE *psc, SCRIPT_FONTPROPERTIES *sfp)
56 FIXME("%p,%p,%p\n", hdc, psc, sfp);
57 /* return something sensible? */
59 sfp->cBytes = sizeof(SCRIPT_FONTPROPERTIES);
64 sfp->iKashidaWidth = 0;
69 HRESULT WINAPI ScriptRecordDigitSubstitution(LCID Locale,SCRIPT_DIGITSUBSTITUTE *psds)
71 FIXME("%ld,%p\n",Locale,psds);
75 HRESULT WINAPI ScriptApplyDigitSubstitution(const SCRIPT_DIGITSUBSTITUTE* psds,
76 SCRIPT_CONTROL* psc, SCRIPT_STATE* pss)
78 FIXME("%p,%p,%p\n",psds,psc,pss);
82 HRESULT WINAPI ScriptItemize(const WCHAR *pwcInChars, int cInChars, int cMaxItems,
83 const SCRIPT_CONTROL *psControl, const SCRIPT_STATE *psState,
84 SCRIPT_ITEM *pItems, int *pcItems)
86 FIXME("%s,%d,%d,%p,%p,%p,%p\n", debugstr_w(pwcInChars), cInChars, cMaxItems,
87 psControl, psState, pItems, pcItems);