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,
const SIZE *WINAPI ScriptString_pSize(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa)
_In_ int _Inout_ LPRECT lprc
static SCRIPT_CACHE SCRIPT_ANALYSIS OPENTYPE_TAG OPENTYPE_TAG int TEXTRANGE_PROPERTIES int const WCHAR int int WORD * pwLogClust
_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)
#define _At_(target, annos)
const SCRIPT_LOGATTR *WINAPI ScriptString_pLogAttr(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa)
_In_ FONTOBJ _In_ ULONG _In_ ULONG cGlyphs
struct tag_SCRIPT_FONTPROPERTIES SCRIPT_FONTPROPERTIES
#define _Out_writes_to_(size, count)
_Check_return_ HRESULT WINAPI ScriptStringCPtoX(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa, _In_ int icp, _In_ BOOL fTrailing, _Out_writes_(1) int *pX)
DWORD fInvertPostBoundDir
struct tag_SCRIPT_VISATTR SCRIPT_VISATTR
GLint GLint GLint GLint GLint x
_Check_return_ HRESULT WINAPI ScriptCacheGetHeight(_In_ HDC hdc, _Inout_updates_(1) SCRIPT_CACHE *psc, _Out_writes_(1) LONG *tmHeight)
static int int const SCRIPT_CONTROL const SCRIPT_STATE SCRIPT_ITEM ULONG int * pcItems
_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)
struct tagSCRIPT_CHARPROP SCRIPT_CHARPROP
enum tag_SCRIPT_JUSTIFY SCRIPT_JUSTIFY
_Check_return_ HRESULT WINAPI ScriptGetFontProperties(_In_ HDC hdc, _Inout_updates_(1) SCRIPT_CACHE *psc, _Out_writes_(1) SCRIPT_FONTPROPERTIES *sfp)
#define _In_reads_opt_(size)
_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 tag_SCRIPT_LOGATTR SCRIPT_LOGATTR
_Check_return_ HRESULT WINAPI ScriptStringValidate(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa)
_Check_return_ HRESULT WINAPI ScriptStringGetLogicalWidths(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa, _Out_ int *piDx)
_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)
struct tagSCRIPT_GLYPHPROP SCRIPT_GLYPHPROP
_Check_return_ HRESULT WINAPI ScriptStringFree(_Inout_updates_(1) SCRIPT_STRING_ANALYSIS *pssa)
#define _Inout_updates_opt_(size)
void * SCRIPT_STRING_ANALYSIS
_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)
struct tagTEXTRANGE_PROPERTIES TEXTRANGE_PROPERTIES
_Check_return_ HRESULT WINAPI ScriptRecordDigitSubstitution(_In_ LCID Locale, _Out_writes_(1) SCRIPT_DIGITSUBSTITUTE *psds)
static int int const SCRIPT_CONTROL const SCRIPT_STATE SCRIPT_ITEM * pItems
static SCRIPT_CACHE SCRIPT_ANALYSIS OPENTYPE_TAG OPENTYPE_TAG int TEXTRANGE_PROPERTIES int const WCHAR int cChars
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 SCRIPT_CACHE SCRIPT_ANALYSIS OPENTYPE_TAG OPENTYPE_TAG int TEXTRANGE_PROPERTIES int const WCHAR int int cMaxGlyphs
_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 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)
DWORD TraditionalDigitLanguage
static int int const SCRIPT_CONTROL * psControl
DWORD fNeedsCharacterJustify
DWORD NationalDigitLanguage
_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 ScriptGetProperties(_Outptr_result_buffer_(*piNumScripts) const SCRIPT_PROPERTIES ***ppSp, _Out_ int *piNumScripts)
_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)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
_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)
_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 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)
static SCRIPT_CACHE SCRIPT_ANALYSIS OPENTYPE_TAG OPENTYPE_TAG int TEXTRANGE_PROPERTIES int const WCHAR int int WORD SCRIPT_CHARPROP WORD * pwOutGlyphs
struct tag_SCRIPT_ITEM SCRIPT_ITEM
const int *WINAPI ScriptString_pcOutChars(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa)
#define _Out_writes_all_opt_(size)
_Check_return_ HRESULT WINAPI ScriptStringGetOrder(_In_reads_(1) SCRIPT_STRING_ANALYSIS ssa, _Out_ UINT *puOrder)
static SCRIPT_CACHE SCRIPT_ANALYSIS OPENTYPE_TAG OPENTYPE_TAG int TEXTRANGE_PROPERTIES int const WCHAR * pwcChars
struct tag_SCRIPT_ANALYSIS SCRIPT_ANALYSIS
_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)
static SCRIPT_CACHE * psc
static int int const SCRIPT_CONTROL const SCRIPT_STATE * psState
_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)
struct tag_SCRIPT_STATE SCRIPT_STATE
_Check_return_ HRESULT WINAPI ScriptIsComplex(_In_reads_(cInChars) const WCHAR *pwcInChars, _In_ int cInChars, _In_ DWORD dwFlags)
GLint GLint GLint GLint GLint GLint y
_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 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 ScriptFreeCache(_Inout_updates_(1) _At_(*psc, _Post_null_) SCRIPT_CACHE *psc)
_In_ ULONG _In_ ULONG _Inout_updates_(8 *8) ULONG *pul)
static SCRIPT_CACHE SCRIPT_ANALYSIS * psa
struct tagOPENTYPE_FEATURE_RECORD OPENTYPE_FEATURE_RECORD
#define _Out_writes_all_(size)
struct tag_SCRIPT_DIGITSUBSTITUTE SCRIPT_DIGITSUBSTITUTE
struct tag_SCRIPT_TABDEF SCRIPT_TABDEF
#define _Outptr_result_buffer_(size)
_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)
struct tagGOFFSET GOFFSET
struct tag_SCRIPT_CONTROL SCRIPT_CONTROL
#define _Out_writes_(size)