Hans Leidekker : usp10: Add a stub implementation of ScriptStringValidate.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Oct 6 13:37:16 CDT 2006


Module: wine
Branch: master
Commit: 539a96240accc01c15ce008d034cdd8e1777b10b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=539a96240accc01c15ce008d034cdd8e1777b10b

Author: Hans Leidekker <hans at it.vu.nl>
Date:   Fri Oct  6 12:43:49 2006 +0200

usp10: Add a stub implementation of ScriptStringValidate.

---

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

diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c
index 3a226e3..c1fceff 100644
--- a/dlls/usp10/usp10.c
+++ b/dlls/usp10/usp10.c
@@ -1171,3 +1171,22 @@ HRESULT WINAPI ScriptLayout(int runs, co
     }
     return S_OK;
 }
+
+/***********************************************************************
+ *      ScriptStringValidate (USP10.@)
+ *
+ * Validate a string analysis.
+ *
+ * PARAMS
+ *  ssa [I] string analysis.
+ *
+ * RETURNS
+ *  Success: S_OK
+ *  Failure: S_FALSE if invalid sequences are found
+ *           or a non-zero HRESULT if it fails.
+ */
+HRESULT WINAPI ScriptStringValidate(SCRIPT_STRING_ANALYSIS ssa)
+{
+    FIXME("(%p): stub\n", ssa);
+    return S_OK;
+}
diff --git a/dlls/usp10/usp10.spec b/dlls/usp10/usp10.spec
index 95a6c77..56fd85b 100644
--- a/dlls/usp10/usp10.spec
+++ b/dlls/usp10/usp10.spec
@@ -23,7 +23,7 @@
 @ stub ScriptStringGetLogicalWidths
 @ stub ScriptStringGetOrder
 @ stdcall ScriptStringOut(ptr long long long ptr long long long)
-@ stub ScriptStringValidate
+@ stdcall ScriptStringValidate(ptr)
 @ stdcall ScriptStringXtoCP(ptr long ptr ptr)
 @ stub ScriptString_pLogAttr
 @ stub ScriptString_pSize




More information about the wine-cvs mailing list