33#define SSA_PASSWORD 0x00000001
34#define SSA_TAB 0x00000002
35#define SSA_CLIP 0x00000004
36#define SSA_FIT 0x00000008
37#define SSA_DZWG 0x00000010
38#define SSA_FALLBACK 0x00000020
39#define SSA_BREAK 0x00000040
40#define SSA_GLYPHS 0x00000080
41#define SSA_RTL 0x00000100
42#define SSA_GCP 0x00000200
43#define SSA_HOTKEY 0x00000400
44#define SSA_METAFILE 0x00000800
45#define SSA_LINK 0x00001000
46#define SSA_HIDEHOTKEY 0x00002000
47#define SSA_HOTKEYONLY 0x00002400
48#define SSA_FULLMEASURE 0x04000000
49#define SSA_LPKANSIFALLBACK 0x08000000
50#define SSA_PIDX 0x10000000
51#define SSA_LAYOUTRTL 0x20000000
52#define SSA_DONTGLYPH 0x40000000
53#define SSA_NOKASHIDA 0x80000000
57#define SIC_ASCIIDIGIT 2
61#define SGCM_RTL 0x00000001
64#define SCRIPT_DIGITSUBSTITUTE_CONTEXT 0
65#define SCRIPT_DIGITSUBSTITUTE_NONE 1
66#define SCRIPT_DIGITSUBSTITUTE_NATIONAL 2
67#define SCRIPT_DIGITSUBSTITUTE_TRADITIONAL 3
69#define SCRIPT_UNDEFINED 0
71#define USP_E_SCRIPT_NOT_IN_FONT MAKE_HRESULT(SEVERITY_ERROR,FACILITY_ITF,0x200)
198#ifndef LSDEFS_DEFINED
319 _Out_ int *piNumScripts);
373 _In_ int iMinKashida,
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
static SCRIPT_CACHE SCRIPT_ANALYSIS OPENTYPE_TAG OPENTYPE_TAG int TEXTRANGE_PROPERTIES int const WCHAR int cChars
static SCRIPT_CACHE SCRIPT_ANALYSIS * psa
static SCRIPT_CACHE * psc
static SCRIPT_CACHE SCRIPT_ANALYSIS OPENTYPE_TAG OPENTYPE_TAG int TEXTRANGE_PROPERTIES int const WCHAR int int WORD SCRIPT_CHARPROP WORD SCRIPT_GLYPHPROP int * pcGlyphs
static int int const SCRIPT_CONTROL const SCRIPT_STATE SCRIPT_ITEM * pItems
static int int const SCRIPT_CONTROL const SCRIPT_STATE * psState
static SCRIPT_CACHE SCRIPT_ANALYSIS OPENTYPE_TAG OPENTYPE_TAG int TEXTRANGE_PROPERTIES int const WCHAR int int WORD * pwLogClust
static SCRIPT_CACHE SCRIPT_ANALYSIS OPENTYPE_TAG OPENTYPE_TAG int TEXTRANGE_PROPERTIES int const WCHAR int int WORD SCRIPT_CHARPROP WORD * pwOutGlyphs
static int int const SCRIPT_CONTROL const SCRIPT_STATE SCRIPT_ITEM ULONG int * pcItems
static SCRIPT_CACHE SCRIPT_ANALYSIS OPENTYPE_TAG OPENTYPE_TAG int TEXTRANGE_PROPERTIES int const WCHAR int int cMaxGlyphs
static int int const SCRIPT_CONTROL * psControl
static SCRIPT_CACHE SCRIPT_ANALYSIS OPENTYPE_TAG OPENTYPE_TAG int TEXTRANGE_PROPERTIES int const WCHAR * pwcChars
#define _Out_writes_all_(size)
#define _Inout_updates_(size)
#define _Out_writes_(size)
#define _At_(target, annos)
#define _Out_writes_all_opt_(size)
#define _In_reads_opt_(size)
#define _Inout_updates_opt_(size)
#define _Outptr_result_buffer_(size)
#define _Out_writes_to_(size, count)
DWORD fNeedsCharacterJustify
DWORD fInvertPostBoundDir
DWORD TraditionalDigitLanguage
DWORD NationalDigitLanguage
struct tag_SCRIPT_STATE SCRIPT_STATE
_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 ScriptStringXtoCP(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa, _In_ int iX, _Out_writes_(1) int *piCh, _Out_writes_(1) int *piTrailing)
struct tagSCRIPT_GLYPHPROP SCRIPT_GLYPHPROP
struct tag_SCRIPT_DIGITSUBSTITUTE SCRIPT_DIGITSUBSTITUTE
struct tagSCRIPT_CHARPROP SCRIPT_CHARPROP
_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 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 ScriptStringGetLogicalWidths(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa, _Out_ int *piDx)
_Check_return_ HRESULT WINAPI ScriptStringValidate(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa)
_Check_return_ HRESULT WINAPI ScriptApplyDigitSubstitution(_In_reads_(1) const SCRIPT_DIGITSUBSTITUTE *psds, _Out_writes_(1) SCRIPT_CONTROL *psc, _Out_writes_(1) SCRIPT_STATE *pss)
_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 ScriptStringGetOrder(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa, _Out_ UINT *puOrder)
_Check_return_ HRESULT WINAPI ScriptStringCPtoX(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa, _In_ int icp, _In_ BOOL fTrailing, _Out_writes_(1) int *pX)
struct tagTEXTRANGE_PROPERTIES TEXTRANGE_PROPERTIES
struct tag_SCRIPT_ANALYSIS SCRIPT_ANALYSIS
const int *WINAPI ScriptString_pcOutChars(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa)
_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)
struct tag_SCRIPT_LOGATTR SCRIPT_LOGATTR
_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)
struct tag_SCRIPT_FONTPROPERTIES SCRIPT_FONTPROPERTIES
_Check_return_ HRESULT WINAPI ScriptApplyLogicalWidth(_In_reads_(cChars) const int *piDx, _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, _Inout_updates_opt_(1) ABC *pABC, _Out_writes_all_(cGlyphs) int *piJustify)
_Check_return_ HRESULT WINAPI ScriptIsComplex(_In_reads_(cInChars) const WCHAR *pwcInChars, _In_ int cInChars, _In_ DWORD dwFlags)
_Check_return_ HRESULT WINAPI ScriptRecordDigitSubstitution(_In_ LCID Locale, _Out_writes_(1) SCRIPT_DIGITSUBSTITUTE *psds)
_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 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 ScriptStringFree(_Inout_updates_(1) SCRIPT_STRING_ANALYSIS *pssa)
_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)
const SCRIPT_LOGATTR *WINAPI ScriptString_pLogAttr(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa)
struct tag_SCRIPT_TABDEF SCRIPT_TABDEF
struct tag_SCRIPT_CONTROL SCRIPT_CONTROL
const SIZE *WINAPI ScriptString_pSize(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa)
_Check_return_ HRESULT WINAPI ScriptCacheGetHeight(_In_ HDC hdc, _Inout_updates_(1) SCRIPT_CACHE *psc, _Out_writes_(1) LONG *tmHeight)
_Check_return_ HRESULT WINAPI ScriptItemize(_In_reads_(cInChars) const WCHAR *pwcInChars, _In_ int cInChars, _In_ int cMaxItems, _In_reads_opt_(1) const SCRIPT_CONTROL *psControl, _In_reads_opt_(1) const SCRIPT_STATE *psState, _Out_writes_to_(cMaxItems, *pcItems) SCRIPT_ITEM *pItems, _Out_writes_(1) int *pcItems)
void * SCRIPT_STRING_ANALYSIS
_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 ScriptGetCMap(_In_ HDC hdc, _Inout_updates_(1) SCRIPT_CACHE *psc, _In_reads_(cChars) const WCHAR *pwcInChars, _In_ int cChars, _In_ DWORD dwFlags, _Out_writes_(cChars) WORD *pwOutGlyphs)
_Check_return_ HRESULT WINAPI ScriptFreeCache(_Inout_updates_(1) _At_(*psc, _Post_null_) SCRIPT_CACHE *psc)
enum tag_SCRIPT_JUSTIFY SCRIPT_JUSTIFY
_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)
struct tagOPENTYPE_FEATURE_RECORD OPENTYPE_FEATURE_RECORD
_Check_return_ HRESULT WINAPI ScriptGetFontProperties(_In_ HDC hdc, _Inout_updates_(1) SCRIPT_CACHE *psc, _Out_writes_(1) SCRIPT_FONTPROPERTIES *sfp)
struct tag_SCRIPT_ITEM SCRIPT_ITEM
struct tag_SCRIPT_VISATTR SCRIPT_VISATTR
@ SCRIPT_JUSTIFY_ARABIC_RA
@ SCRIPT_JUSTIFY_ARABIC_HA
@ SCRIPT_JUSTIFY_RESERVED3
@ SCRIPT_JUSTIFY_ARABIC_SEEN
@ SCRIPT_JUSTIFY_ARABIC_BLANK
@ SCRIPT_JUSTIFY_ARABIC_NORMAL
@ SCRIPT_JUSTIFY_RESERVED1
@ SCRIPT_JUSTIFY_ARABIC_BA
@ SCRIPT_JUSTIFY_RESERVED2
@ SCRIPT_JUSTIFY_ARABIC_SEEN_M
@ SCRIPT_JUSTIFY_ARABIC_BARA
@ SCRIPT_JUSTIFY_CHARACTER
@ SCRIPT_JUSTIFY_ARABIC_ALEF
@ SCRIPT_JUSTIFY_ARABIC_KASHIDA
struct tagGOFFSET GOFFSET
_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 ScriptGetProperties(_Outptr_result_buffer_(*piNumScripts) const SCRIPT_PROPERTIES ***ppSp, _Out_ int *piNumScripts)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
_In_ FONTOBJ _In_ ULONG _In_ ULONG cGlyphs
_In_ int _Inout_ LPRECT lprc