* Annotate usp10.h.

svn path=/trunk/; revision=59969
This commit is contained in:
Amine Khaldi 2013-09-02 22:49:45 +00:00
parent cdd1225e96
commit 2d2669c682

View file

@ -230,65 +230,310 @@ typedef struct tagTEXTRANGE_PROPERTIES
/* Function Declarations */ /* Function Declarations */
HRESULT WINAPI ScriptApplyDigitSubstitution(const SCRIPT_DIGITSUBSTITUTE* psds, _Check_return_
SCRIPT_CONTROL* psc, SCRIPT_STATE* pss); HRESULT
HRESULT WINAPI ScriptApplyLogicalWidth(const int *piDx, int cChars, int cGlyphs, const WORD *pwLogClust, WINAPI
const SCRIPT_VISATTR *psva, const int *piAdvance, ScriptApplyDigitSubstitution(
const SCRIPT_ANALYSIS *psa, ABC *pABC, int *piJustify); _In_reads_(1) const SCRIPT_DIGITSUBSTITUTE* psds,
HRESULT WINAPI ScriptRecordDigitSubstitution(LCID Locale, SCRIPT_DIGITSUBSTITUTE *psds); _Out_writes_(1) SCRIPT_CONTROL* psc,
HRESULT WINAPI ScriptItemize(const WCHAR *pwcInChars, int cInChars, int cMaxItems, _Out_writes_(1) SCRIPT_STATE* pss);
const SCRIPT_CONTROL *psControl, const SCRIPT_STATE *psState,
SCRIPT_ITEM *pItems, int *pcItems); _Check_return_
HRESULT WINAPI ScriptGetCMap(HDC hdc, SCRIPT_CACHE *psc, const WCHAR *pwcInChars, int cChars, HRESULT
DWORD dwFlags, WORD *pwOutGlyphs); WINAPI
HRESULT WINAPI ScriptGetFontProperties(HDC hdc, SCRIPT_CACHE *psc, SCRIPT_FONTPROPERTIES *sfp); ScriptApplyLogicalWidth(
HRESULT WINAPI ScriptGetGlyphABCWidth(HDC hdc, SCRIPT_CACHE *psc, WORD wGlyph, ABC *pABC); _In_reads_(cChars) const int *piDx,
HRESULT WINAPI ScriptGetLogicalWidths(const SCRIPT_ANALYSIS *psa, int cChars, int cGlyphs, _In_ int cChars,
const int *piGlyphWidth, const WORD *pwLogClust, _In_ int cGlyphs,
const SCRIPT_VISATTR *psva, int *piDx); _In_reads_(cChars) const WORD *pwLogClust,
HRESULT WINAPI ScriptGetProperties(const SCRIPT_PROPERTIES ***ppSp, int *piNumScripts); _In_reads_(cGlyphs) const SCRIPT_VISATTR *psva,
HRESULT WINAPI ScriptStringAnalyse(HDC hdc, _In_reads_(cGlyphs) const int *piAdvance,
const void *pString, _In_reads_(1) const SCRIPT_ANALYSIS *psa,
int cString, _Inout_updates_opt_(1) ABC *pABC,
int cGlyphs, _Out_writes_all_(cGlyphs) int *piJustify);
int iCharset,
DWORD dwFlags, _Check_return_
int iReqWidth, HRESULT
SCRIPT_CONTROL *psControl, WINAPI
SCRIPT_STATE *psState, ScriptRecordDigitSubstitution(
const int *piDx, _In_ LCID Locale,
SCRIPT_TABDEF *pTabdef, _Out_writes_(1) SCRIPT_DIGITSUBSTITUTE *psds);
const BYTE *pbInClass,
SCRIPT_STRING_ANALYSIS *pssa); _Check_return_
HRESULT WINAPI ScriptStringValidate(SCRIPT_STRING_ANALYSIS ssa); HRESULT
HRESULT WINAPI ScriptStringFree(SCRIPT_STRING_ANALYSIS *pssa); WINAPI
HRESULT WINAPI ScriptFreeCache(SCRIPT_CACHE *psc); ScriptItemize(
HRESULT WINAPI ScriptIsComplex(const WCHAR* pwcInChars, int cInChars, DWORD dwFlags); _In_reads_(cInChars) const WCHAR *pwcInChars,
HRESULT WINAPI ScriptJustify(const SCRIPT_VISATTR *psva, const int *piAdvance, int cGlyphs, _In_ int cInChars,
int iDx, int iMinKashida, int *piJustify); _In_ int cMaxItems,
HRESULT WINAPI ScriptLayout(int cRuns, const BYTE *pbLevel, int *piVisualToLogical, int *piLogicalToVisual); _In_reads_opt_(1) const SCRIPT_CONTROL *psControl,
HRESULT WINAPI ScriptShape(HDC hdc, SCRIPT_CACHE *psc, const WCHAR *pwcChars, int cChars, int cMaxGlyphs, _In_reads_opt_(1) const SCRIPT_STATE *psState,
SCRIPT_ANALYSIS *psa, WORD *pwOutGlyphs, WORD *pwLogClust, SCRIPT_VISATTR *psva, int *pcGlyphs); _Out_writes_to_(cMaxItems, *pcItems) SCRIPT_ITEM *pItems,
HRESULT WINAPI ScriptPlace(HDC hdc, SCRIPT_CACHE *psc, const WORD *pwGlyphs, int cGlyphs, const SCRIPT_VISATTR *psva, _Out_writes_(1) int *pcItems);
SCRIPT_ANALYSIS *psa, int *piAdvance, GOFFSET *pGoffset, ABC *pABC );
HRESULT WINAPI ScriptBreak(const WCHAR *pwcChars, int cChars, const SCRIPT_ANALYSIS *psa, SCRIPT_LOGATTR *psla); _Check_return_
HRESULT WINAPI ScriptCacheGetHeight(HDC hdc, SCRIPT_CACHE *psc, LONG *tmHeight); HRESULT
HRESULT WINAPI ScriptCPtoX(int iCP, BOOL fTrailing, int cChars, int cGlyphs, const WORD *pwLogClust, const SCRIPT_VISATTR *psva, WINAPI
const int *piAdvance, const SCRIPT_ANALYSIS *psa, int *piX); ScriptGetCMap(
HRESULT WINAPI ScriptXtoCP(int iX, int cChars, int cGlyphs, const WORD *pwLogClust, const SCRIPT_VISATTR *psva, _In_ HDC hdc,
const int *piAdvance, const SCRIPT_ANALYSIS *psa, int *piCP, int *piTrailing); _Inout_updates_(1) SCRIPT_CACHE *psc,
HRESULT WINAPI ScriptStringCPtoX(SCRIPT_STRING_ANALYSIS ssa, int icp, BOOL fTrailing, int *pX); _In_reads_(cChars) const WCHAR *pwcInChars,
HRESULT WINAPI ScriptStringXtoCP(SCRIPT_STRING_ANALYSIS ssa, int iX, int *piCh , int *piTrailing); _In_ int cChars,
HRESULT WINAPI ScriptStringGetLogicalWidths(SCRIPT_STRING_ANALYSIS ssa, int *piDx); _In_ DWORD dwFlags,
HRESULT WINAPI ScriptStringGetOrder(SCRIPT_STRING_ANALYSIS ssa, UINT *puOrder); _Out_writes_(cChars) WORD *pwOutGlyphs);
HRESULT WINAPI ScriptStringOut(SCRIPT_STRING_ANALYSIS ssa, int iX, int iY, UINT uOptions, const RECT *prc,
int iMinSel, int iMaxSel, BOOL fDisabled); _Check_return_
HRESULT WINAPI ScriptTextOut(const HDC hdc, SCRIPT_CACHE *psc, int x, int y, UINT fuOptions, const RECT *lprc, HRESULT
const SCRIPT_ANALYSIS *psa, const WCHAR *pwcReserved, int iReserved, const WORD *pwGlyphs, WINAPI
int cGlyphs, const int *piAdvance, const int *piJustify, const GOFFSET *pGoffset); ScriptGetFontProperties(
const int* WINAPI ScriptString_pcOutChars(SCRIPT_STRING_ANALYSIS ssa); _In_ HDC hdc,
const SCRIPT_LOGATTR* WINAPI ScriptString_pLogAttr(SCRIPT_STRING_ANALYSIS ssa); _Inout_updates_(1) SCRIPT_CACHE *psc,
const SIZE* WINAPI ScriptString_pSize(SCRIPT_STRING_ANALYSIS ssa); _Out_writes_(1) SCRIPT_FONTPROPERTIES *sfp);
_Check_return_
HRESULT
WINAPI
ScriptGetGlyphABCWidth(
_In_ HDC hdc,
_Inout_updates_(1) SCRIPT_CACHE *psc,
_In_ WORD wGlyph,
_Out_writes_(1) ABC *pABC);
_Check_return_
HRESULT
WINAPI
ScriptGetLogicalWidths(
_In_reads_(1) const SCRIPT_ANALYSIS *psa,
_In_ int cChars,
_In_ int cGlyphs,
_In_reads_(cGlyphs) const int *piGlyphWidth,
_In_reads_(cChars) const WORD *pwLogClust,
_In_reads_(cGlyphs) const SCRIPT_VISATTR *psva,
_In_reads_(cChars) int *piDx);
_Check_return_
HRESULT
WINAPI
ScriptGetProperties(
_Outptr_result_buffer_(*piNumScripts) const SCRIPT_PROPERTIES ***ppSp,
_Out_ int *piNumScripts);
_Check_return_
HRESULT
WINAPI
ScriptStringAnalyse(
_In_ HDC hdc,
_In_ const void *pString,
_In_ int cString,
_In_ int cGlyphs,
_In_ int iCharset,
_In_ DWORD dwFlags,
_In_ int iReqWidth,
_In_reads_opt_(1) SCRIPT_CONTROL *psControl,
_In_reads_opt_(1) SCRIPT_STATE *psState,
_In_reads_opt_(cString) const int *piDx,
_In_reads_opt_(1) SCRIPT_TABDEF *pTabdef,
_In_ const BYTE *pbInClass,
_Outptr_result_buffer_(1) SCRIPT_STRING_ANALYSIS *pssa);
_Check_return_
HRESULT
WINAPI
ScriptStringValidate(
_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa);
_Check_return_
HRESULT
WINAPI
ScriptStringFree(
_Inout_updates_(1) SCRIPT_STRING_ANALYSIS *pssa);
_Check_return_
HRESULT
WINAPI
ScriptFreeCache(
_Inout_updates_(1) _At_(*psc, _Post_null_) SCRIPT_CACHE *psc);
_Check_return_
HRESULT
WINAPI
ScriptIsComplex(
_In_reads_(cInChars) const WCHAR *pwcInChars,
_In_ int cInChars,
_In_ DWORD dwFlags);
_Check_return_
HRESULT
WINAPI
ScriptJustify(
_In_reads_(cGlyphs) const SCRIPT_VISATTR *psva,
_In_reads_(cGlyphs) const int *piAdvance,
_In_ int cGlyphs,
_In_ int iDx,
_In_ int iMinKashida,
_Out_writes_all_(cGlyphs) int *piJustify);
_Check_return_
HRESULT
WINAPI
ScriptLayout(
int cRuns,
_In_reads_(cRuns) const BYTE *pbLevel,
_Out_writes_all_opt_(cRuns) int *piVisualToLogical,
_Out_writes_all_opt_(cRuns) int *piLogicalToVisual);
_Check_return_
HRESULT
WINAPI
ScriptShape(
_In_ HDC hdc,
_Inout_updates_(1) SCRIPT_CACHE *psc,
_In_reads_(cChars) const WCHAR *pwcChars,
_In_ int cChars,
_In_ int cMaxGlyphs,
_Inout_updates_(1) SCRIPT_ANALYSIS *psa,
_Out_writes_to_(cMaxGlyphs, *pcGlyphs) WORD *pwOutGlyphs,
_Out_writes_all_(cChars) WORD *pwLogClust,
_Out_writes_to_(cMaxGlyphs, *pcGlyphs) SCRIPT_VISATTR *psva,
_Out_writes_(1) int *pcGlyphs);
_Check_return_
HRESULT
WINAPI
ScriptPlace(
_In_ HDC hdc,
_Inout_updates_(1) SCRIPT_CACHE *psc,
_In_reads_(cGlyphs) const WORD *pwGlyphs,
_In_ int cGlyphs,
_In_reads_(cGlyphs) const SCRIPT_VISATTR *psva,
_Inout_updates_(1) SCRIPT_ANALYSIS *psa,
_Out_writes_all_(cGlyphs) int *piAdvance,
_Out_writes_all_opt_(cGlyphs) GOFFSET *pGoffset,
_Out_writes_(1) ABC *pABC);
_Check_return_
HRESULT
WINAPI
ScriptBreak(
_In_reads_(cChars) const WCHAR *pwcChars,
_In_ int cChars,
_In_reads_(1) const SCRIPT_ANALYSIS *psa,
_Out_writes_all_(cChars) SCRIPT_LOGATTR *psla);
_Check_return_
HRESULT
WINAPI
ScriptCacheGetHeight(
_In_ HDC hdc,
_Inout_updates_(1) SCRIPT_CACHE *psc,
_Out_writes_(1) LONG *tmHeight);
_Check_return_
HRESULT
WINAPI
ScriptCPtoX(
_In_ int iCP,
_In_ BOOL fTrailing,
_In_ int cChars,
_In_ int cGlyphs,
_In_reads_(cChars) const WORD *pwLogClust,
_In_reads_(cGlyphs) const SCRIPT_VISATTR *psva,
_In_reads_(cGlyphs) const int *piAdvance,
_In_reads_(1) const SCRIPT_ANALYSIS *psa,
_Out_ int *piX);
_Check_return_
HRESULT
WINAPI
ScriptXtoCP(
_In_ int iX,
_In_ int cChars,
_In_ int cGlyphs,
_In_reads_(cChars) const WORD *pwLogClust,
_In_reads_(cGlyphs) const SCRIPT_VISATTR *psva,
_In_reads_(cGlyphs) const int *piAdvance,
_In_reads_(1) const SCRIPT_ANALYSIS *psa,
_Out_writes_(1) int *piCP,
_Out_writes_(1) int *piTrailing);
_Check_return_
HRESULT
WINAPI
ScriptStringCPtoX(
_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa,
_In_ int icp,
_In_ BOOL fTrailing,
_Out_writes_(1) int *pX);
_Check_return_
HRESULT
WINAPI
ScriptStringXtoCP(
_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa,
_In_ int iX,
_Out_writes_(1) int *piCh,
_Out_writes_(1) int *piTrailing);
_Check_return_
HRESULT
WINAPI
ScriptStringGetLogicalWidths(
_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa,
_Out_ int *piDx);
_Check_return_
HRESULT
WINAPI
ScriptStringGetOrder(
_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa,
_Out_ UINT *puOrder);
_Check_return_
HRESULT
WINAPI
ScriptStringOut(
_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa,
_In_ int iX,
_In_ int iY,
_In_ UINT uOptions,
_In_reads_opt_(1) const RECT *prc,
_In_ int iMinSel,
_In_ int iMaxSel,
_In_ BOOL fDisabled);
_Check_return_
HRESULT
WINAPI
ScriptTextOut(
_In_ const HDC hdc,
_Inout_updates_(1) SCRIPT_CACHE *psc,
_In_ int x,
_In_ int y,
_In_ UINT fuOptions,
_In_reads_opt_(1) const RECT *lprc,
_In_reads_(1) const SCRIPT_ANALYSIS *psa,
_Reserved_ const WCHAR *pwcReserved,
_Reserved_ int iReserved,
_In_reads_(cGlyphs) const WORD *pwGlyphs,
_In_ int cGlyphs,
_In_reads_(cGlyphs) const int *piAdvance,
_In_reads_opt_(cGlyphs) const int *piJustify,
_In_reads_(cGlyphs) const GOFFSET *pGoffset);
const int*
WINAPI
ScriptString_pcOutChars(
_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa);
const SCRIPT_LOGATTR*
WINAPI
ScriptString_pLogAttr(
_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa);
const SIZE*
WINAPI
ScriptString_pSize(
_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa);
#ifdef __cplusplus #ifdef __cplusplus
} /* extern "C" */ } /* extern "C" */