Jeff Latimer : usp10: Add stub for ScriptTextOut.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Feb 21 05:04:38 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 044a6f81b3977dbf6d82aa1f7de494ad7b65e75a
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=044a6f81b3977dbf6d82aa1f7de494ad7b65e75a

Author: Jeff Latimer <lats at yless4u.com.au>
Date:   Tue Feb 21 20:47:39 2006 +1100

usp10: Add stub for ScriptTextOut.

---

 dlls/usp10/usp10.c    |   16 ++++++++++++++++
 dlls/usp10/usp10.spec |    2 +-
 2 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c
index 374b387..75710d9 100644
--- a/dlls/usp10/usp10.c
+++ b/dlls/usp10/usp10.c
@@ -439,3 +439,19 @@ HRESULT WINAPI ScriptGetCMap(HDC hdc, SC
     FIXME("(%p,%p,%s,%d,0x%lx,%p): stub\n", hdc, psc, debugstr_w(pwcInChars), cChars, dwFlags, pwOutGlyphs);
     return E_NOTIMPL;
 }
+
+/***********************************************************************
+ *      ScriptTextOut (USP10.@)
+ *
+ */
+HRESULT WINAPI ScriptTextOut(const HDC hdc, SCRIPT_CACHE *psc, int x, int y, UINT fuOptions, 
+                             const RECT *lprc, const SCRIPT_ANALYSIS *psa, const WCHAR *pwcReserved, 
+                             int iReserved, const WORD *pwGlyphs, int cGlyphs, const int *piAdvance, 
+                             const int *piJustify, const GOFFSET *pGoffset)
+{
+     FIXME("(%p, %p, %d, %d, %04x, %p, %p, %p, %d, %p, %d, %p, %p, %p): stub\n",
+           hdc, psc, x, y, fuOptions, lprc, psa, pwcReserved, iReserved, pwGlyphs, cGlyphs,
+           piAdvance, piJustify, pGoffset);
+     return E_NOTIMPL;
+}
+
diff --git a/dlls/usp10/usp10.spec b/dlls/usp10/usp10.spec
index ffc2e95..ea7a50d 100644
--- a/dlls/usp10/usp10.spec
+++ b/dlls/usp10/usp10.spec
@@ -28,7 +28,7 @@
 @ stub ScriptString_pLogAttr
 @ stub ScriptString_pSize
 @ stub ScriptString_pcOutChars
-@ stub ScriptTextOut
+@ stdcall ScriptTextOut(ptr ptr long long long ptr ptr ptr long ptr long ptr ptr ptr)
 @ stub ScriptXtoCP
 @ stub UspAllocCache
 @ stub UspAllocTemp




More information about the wine-cvs mailing list