usp10: Add ScriptStringCPtoX and ScriptStringXtoCP stubs.

This commit is contained in:
Jeff Latimer 2006-07-18 19:35:07 +10:00 committed by Alexandre Julliard
parent 875b5db17b
commit ac40febae2
2 changed files with 25 additions and 2 deletions

View File

@ -316,6 +316,29 @@ HRESULT WINAPI ScriptStringOut(SCRIPT_STRING_ANALYSIS ssa,
return E_NOTIMPL;
}
/***********************************************************************
* 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.@)
*

View File

@ -18,13 +18,13 @@
@ stdcall ScriptRecordDigitSubstitution(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)
@ stub ScriptStringCPtoX
@ stdcall ScriptStringCPtoX(ptr long long ptr)
@ stdcall ScriptStringFree(ptr)
@ stub ScriptStringGetLogicalWidths
@ stub ScriptStringGetOrder
@ stdcall ScriptStringOut(ptr long long long ptr long long long)
@ stub ScriptStringValidate
@ stub ScriptStringXtoCP
@ stdcall ScriptStringXtoCP(ptr long ptr ptr)
@ stub ScriptString_pLogAttr
@ stub ScriptString_pSize
@ stub ScriptString_pcOutChars