Hans Leidekker : usp10: Implement ScriptStringValidate.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Jan 2 14:17:30 CST 2007
Module: wine
Branch: master
Commit: bb3a903b94f34cd3af632532ba12555c7a3be12f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bb3a903b94f34cd3af632532ba12555c7a3be12f
Author: Hans Leidekker <hans at it.vu.nl>
Date: Tue Jan 2 15:26:32 2007 +0100
usp10: Implement ScriptStringValidate.
---
dlls/usp10/usp10.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c
index 0334e93..e0fb917 100644
--- a/dlls/usp10/usp10.c
+++ b/dlls/usp10/usp10.c
@@ -1448,8 +1448,12 @@ HRESULT WINAPI ScriptStringGetLogicalWid
*/
HRESULT WINAPI ScriptStringValidate(SCRIPT_STRING_ANALYSIS ssa)
{
- FIXME("(%p): stub\n", ssa);
- return S_OK;
+ StringAnalysis *analysis = ssa;
+
+ TRACE("(%p)\n", ssa);
+
+ if (!analysis) return E_INVALIDARG;
+ return (analysis->invalid) ? S_FALSE : S_OK;
}
/***********************************************************************
More information about the wine-cvs
mailing list