Commit ac40feba authored by Jeff Latimer's avatar Jeff Latimer Committed by Alexandre Julliard

usp10: Add ScriptStringCPtoX and ScriptStringXtoCP stubs.

parent 875b5db1
...@@ -317,6 +317,29 @@ HRESULT WINAPI ScriptStringOut(SCRIPT_STRING_ANALYSIS ssa, ...@@ -317,6 +317,29 @@ HRESULT WINAPI ScriptStringOut(SCRIPT_STRING_ANALYSIS ssa,
} }
/*********************************************************************** /***********************************************************************
* ScriptStringCPtoX (USP10.@)
*
*/
HRESULT WINAPI ScriptStringCPtoX(SCRIPT_STRING_ANALYSIS ssa, int icp, BOOL fTrailing, int* pX)
{
FIXME("(%p), %d, %d, (%p): stub\n", ssa, icp, fTrailing, pX);
*pX = 0; /* Set a reasonable value */
return S_OK;
}
/***********************************************************************
* ScriptStringXtoCP (USP10.@)
*
*/
HRESULT WINAPI ScriptStringXtoCP(SCRIPT_STRING_ANALYSIS ssa, int iX, int* piCh, int* piTrailing)
{
FIXME("(%p), %d, (%p), (%p): stub\n", ssa, iX, piCh, piTrailing);
*piCh = 0; /* Set a reasonable value */
*piTrailing = 0;
return S_OK;
}
/***********************************************************************
* ScriptStringFree (USP10.@) * ScriptStringFree (USP10.@)
* *
*/ */
......
...@@ -18,13 +18,13 @@ ...@@ -18,13 +18,13 @@
@ stdcall ScriptRecordDigitSubstitution(ptr ptr) @ stdcall ScriptRecordDigitSubstitution(ptr ptr)
@ stdcall ScriptShape(ptr ptr ptr long long ptr ptr ptr ptr ptr) @ stdcall ScriptShape(ptr ptr ptr long long ptr ptr ptr ptr ptr)
@ stdcall ScriptStringAnalyse(ptr ptr long long long long long ptr ptr ptr ptr ptr ptr) @ stdcall ScriptStringAnalyse(ptr ptr long long long long long ptr ptr ptr ptr ptr ptr)
@ stub ScriptStringCPtoX @ stdcall ScriptStringCPtoX(ptr long long ptr)
@ stdcall ScriptStringFree(ptr) @ stdcall ScriptStringFree(ptr)
@ stub ScriptStringGetLogicalWidths @ stub ScriptStringGetLogicalWidths
@ stub ScriptStringGetOrder @ stub ScriptStringGetOrder
@ stdcall ScriptStringOut(ptr long long long ptr long long long) @ stdcall ScriptStringOut(ptr long long long ptr long long long)
@ stub ScriptStringValidate @ stub ScriptStringValidate
@ stub ScriptStringXtoCP @ stdcall ScriptStringXtoCP(ptr long ptr ptr)
@ stub ScriptString_pLogAttr @ stub ScriptString_pLogAttr
@ stub ScriptString_pSize @ stub ScriptString_pSize
@ stub ScriptString_pcOutChars @ stub ScriptString_pcOutChars
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment