ReactOS 0.4.15-dev-7953-g1f49173
usp10.h File Reference
#include <windows.h>
Include dependency graph for usp10.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tag_SCRIPT_CONTROL
 
struct  SCRIPT_PROPERTIES
 
struct  tag_SCRIPT_STATE
 
struct  tag_SCRIPT_ANALYSIS
 
struct  tag_SCRIPT_ITEM
 
struct  tag_SCRIPT_DIGITSUBSTITUTE
 
struct  tag_SCRIPT_FONTPROPERTIES
 
struct  tag_SCRIPT_TABDEF
 
struct  tag_SCRIPT_VISATTR
 
struct  tag_SCRIPT_LOGATTR
 
struct  tagGOFFSET
 
struct  tagOPENTYPE_FEATURE_RECORD
 
struct  tagSCRIPT_GLYPHPROP
 
struct  tagSCRIPT_CHARPROP
 
struct  tagTEXTRANGE_PROPERTIES
 

Macros

#define SSA_PASSWORD   0x00000001
 
#define SSA_TAB   0x00000002
 
#define SSA_CLIP   0x00000004
 
#define SSA_FIT   0x00000008
 
#define SSA_DZWG   0x00000010
 
#define SSA_FALLBACK   0x00000020
 
#define SSA_BREAK   0x00000040
 
#define SSA_GLYPHS   0x00000080
 
#define SSA_RTL   0x00000100
 
#define SSA_GCP   0x00000200
 
#define SSA_HOTKEY   0x00000400
 
#define SSA_METAFILE   0x00000800
 
#define SSA_LINK   0x00001000
 
#define SSA_HIDEHOTKEY   0x00002000
 
#define SSA_HOTKEYONLY   0x00002400
 
#define SSA_FULLMEASURE   0x04000000
 
#define SSA_LPKANSIFALLBACK   0x08000000
 
#define SSA_PIDX   0x10000000
 
#define SSA_LAYOUTRTL   0x20000000
 
#define SSA_DONTGLYPH   0x40000000
 
#define SSA_NOKASHIDA   0x80000000
 
#define SIC_COMPLEX   1
 
#define SIC_ASCIIDIGIT   2
 
#define SIC_NEUTRAL   4
 
#define SGCM_RTL   0x00000001
 
#define SCRIPT_DIGITSUBSTITUTE_CONTEXT   0
 
#define SCRIPT_DIGITSUBSTITUTE_NONE   1
 
#define SCRIPT_DIGITSUBSTITUTE_NATIONAL   2
 
#define SCRIPT_DIGITSUBSTITUTE_TRADITIONAL   3
 
#define SCRIPT_UNDEFINED   0
 
#define USP_E_SCRIPT_NOT_IN_FONT   MAKE_HRESULT(SEVERITY_ERROR,FACILITY_ITF,0x200)
 

Typedefs

typedef enum tag_SCRIPT_JUSTIFY SCRIPT_JUSTIFY
 
typedef struct tag_SCRIPT_CONTROL SCRIPT_CONTROL
 
typedef struct tag_SCRIPT_STATE SCRIPT_STATE
 
typedef struct tag_SCRIPT_ANALYSIS SCRIPT_ANALYSIS
 
typedef struct tag_SCRIPT_ITEM SCRIPT_ITEM
 
typedef struct tag_SCRIPT_DIGITSUBSTITUTE SCRIPT_DIGITSUBSTITUTE
 
typedef struct tag_SCRIPT_FONTPROPERTIES SCRIPT_FONTPROPERTIES
 
typedef struct tag_SCRIPT_TABDEF SCRIPT_TABDEF
 
typedef struct tag_SCRIPT_VISATTR SCRIPT_VISATTR
 
typedef struct tag_SCRIPT_LOGATTR SCRIPT_LOGATTR
 
typedef voidSCRIPT_CACHE
 
typedef voidSCRIPT_STRING_ANALYSIS
 
typedef struct tagGOFFSET GOFFSET
 
typedef ULONG OPENTYPE_TAG
 
typedef struct tagOPENTYPE_FEATURE_RECORD OPENTYPE_FEATURE_RECORD
 
typedef struct tagSCRIPT_GLYPHPROP SCRIPT_GLYPHPROP
 
typedef struct tagSCRIPT_CHARPROP SCRIPT_CHARPROP
 
typedef struct tagTEXTRANGE_PROPERTIES TEXTRANGE_PROPERTIES
 

Enumerations

enum  tag_SCRIPT_JUSTIFY {
  SCRIPT_JUSTIFY_NONE = 0 , SCRIPT_JUSTIFY_ARABIC_BLANK = 1 , SCRIPT_JUSTIFY_CHARACTER = 2 , SCRIPT_JUSTIFY_RESERVED1 = 3 ,
  SCRIPT_JUSTIFY_BLANK = 4 , SCRIPT_JUSTIFY_RESERVED2 = 5 , SCRIPT_JUSTIFY_RESERVED3 = 6 , SCRIPT_JUSTIFY_ARABIC_NORMAL = 7 ,
  SCRIPT_JUSTIFY_ARABIC_KASHIDA = 8 , SCRIPT_JUSTIFY_ARABIC_ALEF = 9 , SCRIPT_JUSTIFY_ARABIC_HA = 10 , SCRIPT_JUSTIFY_ARABIC_RA = 11 ,
  SCRIPT_JUSTIFY_ARABIC_BA = 12 , SCRIPT_JUSTIFY_ARABIC_BARA = 13 , SCRIPT_JUSTIFY_ARABIC_SEEN = 14 , SCRIPT_JUSTIFY_ARABIC_SEEN_M = 15
}
 

Functions

_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 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 ScriptRecordDigitSubstitution (_In_ LCID Locale, _Out_writes_(1) SCRIPT_DIGITSUBSTITUTE *psds)
 
_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 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 ScriptGetFontProperties (_In_ HDC hdc, _Inout_updates_(1) SCRIPT_CACHE *psc, _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)
 

Macro Definition Documentation

◆ SCRIPT_DIGITSUBSTITUTE_CONTEXT

#define SCRIPT_DIGITSUBSTITUTE_CONTEXT   0

ScriptApplyDigitSubstitution

Definition at line 64 of file usp10.h.

◆ SCRIPT_DIGITSUBSTITUTE_NATIONAL

#define SCRIPT_DIGITSUBSTITUTE_NATIONAL   2

Definition at line 66 of file usp10.h.

◆ SCRIPT_DIGITSUBSTITUTE_NONE

#define SCRIPT_DIGITSUBSTITUTE_NONE   1

Definition at line 65 of file usp10.h.

◆ SCRIPT_DIGITSUBSTITUTE_TRADITIONAL

#define SCRIPT_DIGITSUBSTITUTE_TRADITIONAL   3

Definition at line 67 of file usp10.h.

◆ SCRIPT_UNDEFINED

#define SCRIPT_UNDEFINED   0

Definition at line 69 of file usp10.h.

◆ SGCM_RTL

#define SGCM_RTL   0x00000001

ScriptGetCMap

Definition at line 61 of file usp10.h.

◆ SIC_ASCIIDIGIT

#define SIC_ASCIIDIGIT   2

Definition at line 57 of file usp10.h.

◆ SIC_COMPLEX

#define SIC_COMPLEX   1

StringIsComplex

Definition at line 56 of file usp10.h.

◆ SIC_NEUTRAL

#define SIC_NEUTRAL   4

Definition at line 58 of file usp10.h.

◆ SSA_BREAK

#define SSA_BREAK   0x00000040

Definition at line 39 of file usp10.h.

◆ SSA_CLIP

#define SSA_CLIP   0x00000004

Definition at line 35 of file usp10.h.

◆ SSA_DONTGLYPH

#define SSA_DONTGLYPH   0x40000000

Definition at line 52 of file usp10.h.

◆ SSA_DZWG

#define SSA_DZWG   0x00000010

Definition at line 37 of file usp10.h.

◆ SSA_FALLBACK

#define SSA_FALLBACK   0x00000020

Definition at line 38 of file usp10.h.

◆ SSA_FIT

#define SSA_FIT   0x00000008

Definition at line 36 of file usp10.h.

◆ SSA_FULLMEASURE

#define SSA_FULLMEASURE   0x04000000

Definition at line 48 of file usp10.h.

◆ SSA_GCP

#define SSA_GCP   0x00000200

Definition at line 42 of file usp10.h.

◆ SSA_GLYPHS

#define SSA_GLYPHS   0x00000080

Definition at line 40 of file usp10.h.

◆ SSA_HIDEHOTKEY

#define SSA_HIDEHOTKEY   0x00002000

Definition at line 46 of file usp10.h.

◆ SSA_HOTKEY

#define SSA_HOTKEY   0x00000400

Definition at line 43 of file usp10.h.

◆ SSA_HOTKEYONLY

#define SSA_HOTKEYONLY   0x00002400

Definition at line 47 of file usp10.h.

◆ SSA_LAYOUTRTL

#define SSA_LAYOUTRTL   0x20000000

Definition at line 51 of file usp10.h.

◆ SSA_LINK

#define SSA_LINK   0x00001000

Definition at line 45 of file usp10.h.

◆ SSA_LPKANSIFALLBACK

#define SSA_LPKANSIFALLBACK   0x08000000

Definition at line 49 of file usp10.h.

◆ SSA_METAFILE

#define SSA_METAFILE   0x00000800

Definition at line 44 of file usp10.h.

◆ SSA_NOKASHIDA

#define SSA_NOKASHIDA   0x80000000

Definition at line 53 of file usp10.h.

◆ SSA_PASSWORD

#define SSA_PASSWORD   0x00000001

ScriptStringAnalyse

Definition at line 33 of file usp10.h.

◆ SSA_PIDX

#define SSA_PIDX   0x10000000

Definition at line 50 of file usp10.h.

◆ SSA_RTL

#define SSA_RTL   0x00000100

Definition at line 41 of file usp10.h.

◆ SSA_TAB

#define SSA_TAB   0x00000002

Definition at line 34 of file usp10.h.

◆ USP_E_SCRIPT_NOT_IN_FONT

#define USP_E_SCRIPT_NOT_IN_FONT   MAKE_HRESULT(SEVERITY_ERROR,FACILITY_ITF,0x200)

Definition at line 71 of file usp10.h.

Typedef Documentation

◆ GOFFSET

◆ OPENTYPE_FEATURE_RECORD

◆ OPENTYPE_TAG

Definition at line 205 of file usp10.h.

◆ SCRIPT_ANALYSIS

◆ SCRIPT_CACHE

typedef void* SCRIPT_CACHE

Definition at line 195 of file usp10.h.

◆ SCRIPT_CHARPROP

◆ SCRIPT_CONTROL

◆ SCRIPT_DIGITSUBSTITUTE

◆ SCRIPT_FONTPROPERTIES

◆ SCRIPT_GLYPHPROP

◆ SCRIPT_ITEM

◆ SCRIPT_JUSTIFY

◆ SCRIPT_LOGATTR

◆ SCRIPT_STATE

◆ SCRIPT_STRING_ANALYSIS

Definition at line 196 of file usp10.h.

◆ SCRIPT_TABDEF

◆ SCRIPT_VISATTR

◆ TEXTRANGE_PROPERTIES

Enumeration Type Documentation

◆ tag_SCRIPT_JUSTIFY

Enumerator
SCRIPT_JUSTIFY_NONE 
SCRIPT_JUSTIFY_ARABIC_BLANK 
SCRIPT_JUSTIFY_CHARACTER 
SCRIPT_JUSTIFY_RESERVED1 
SCRIPT_JUSTIFY_BLANK 
SCRIPT_JUSTIFY_RESERVED2 
SCRIPT_JUSTIFY_RESERVED3 
SCRIPT_JUSTIFY_ARABIC_NORMAL 
SCRIPT_JUSTIFY_ARABIC_KASHIDA 
SCRIPT_JUSTIFY_ARABIC_ALEF 
SCRIPT_JUSTIFY_ARABIC_HA 
SCRIPT_JUSTIFY_ARABIC_RA 
SCRIPT_JUSTIFY_ARABIC_BA 
SCRIPT_JUSTIFY_ARABIC_BARA 
SCRIPT_JUSTIFY_ARABIC_SEEN 
SCRIPT_JUSTIFY_ARABIC_SEEN_M 

Definition at line 73 of file usp10.h.

73 {
enum tag_SCRIPT_JUSTIFY SCRIPT_JUSTIFY
@ SCRIPT_JUSTIFY_ARABIC_RA
Definition: usp10.h:85
@ SCRIPT_JUSTIFY_ARABIC_HA
Definition: usp10.h:84
@ SCRIPT_JUSTIFY_RESERVED3
Definition: usp10.h:80
@ SCRIPT_JUSTIFY_ARABIC_SEEN
Definition: usp10.h:88
@ SCRIPT_JUSTIFY_ARABIC_BLANK
Definition: usp10.h:75
@ SCRIPT_JUSTIFY_ARABIC_NORMAL
Definition: usp10.h:81
@ SCRIPT_JUSTIFY_RESERVED1
Definition: usp10.h:77
@ SCRIPT_JUSTIFY_ARABIC_BA
Definition: usp10.h:86
@ SCRIPT_JUSTIFY_RESERVED2
Definition: usp10.h:79
@ SCRIPT_JUSTIFY_ARABIC_SEEN_M
Definition: usp10.h:89
@ SCRIPT_JUSTIFY_NONE
Definition: usp10.h:74
@ SCRIPT_JUSTIFY_ARABIC_BARA
Definition: usp10.h:87
@ SCRIPT_JUSTIFY_BLANK
Definition: usp10.h:78
@ SCRIPT_JUSTIFY_CHARACTER
Definition: usp10.h:76
@ SCRIPT_JUSTIFY_ARABIC_ALEF
Definition: usp10.h:83
@ SCRIPT_JUSTIFY_ARABIC_KASHIDA
Definition: usp10.h:82

Function Documentation

◆ ScriptApplyDigitSubstitution()

_Check_return_ HRESULT WINAPI ScriptApplyDigitSubstitution ( _In_reads_(1) const SCRIPT_DIGITSUBSTITUTE psds,
_Out_writes_(1) SCRIPT_CONTROL psc,
_Out_writes_(1) SCRIPT_STATE pss 
)

◆ ScriptApplyLogicalWidth()

_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 
)

◆ ScriptBreak()

◆ ScriptCacheGetHeight()

_Check_return_ HRESULT WINAPI ScriptCacheGetHeight ( _In_ HDC  hdc,
_Inout_updates_(1) SCRIPT_CACHE psc,
_Out_writes_(1) LONG tmHeight 
)

◆ ScriptCPtoX()

_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 
)

◆ ScriptFreeCache()

◆ ScriptGetCMap()

_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 
)

◆ ScriptGetFontProperties()

_Check_return_ HRESULT WINAPI ScriptGetFontProperties ( _In_ HDC  hdc,
_Inout_updates_(1) SCRIPT_CACHE psc,
_Out_writes_(1) SCRIPT_FONTPROPERTIES sfp 
)

◆ ScriptGetGlyphABCWidth()

_Check_return_ HRESULT WINAPI ScriptGetGlyphABCWidth ( _In_ HDC  hdc,
_Inout_updates_(1) SCRIPT_CACHE psc,
_In_ WORD  wGlyph,
_Out_writes_(1) ABC pABC 
)

◆ ScriptGetLogicalWidths()

_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 
)

◆ ScriptGetProperties()

_Check_return_ HRESULT WINAPI ScriptGetProperties ( _Outptr_result_buffer_ *piNumScripts const SCRIPT_PROPERTIES ***  ppSp,
_Out_ int piNumScripts 
)

◆ ScriptIsComplex()

_Check_return_ HRESULT WINAPI ScriptIsComplex ( _In_reads_(cInChars) const WCHAR pwcInChars,
_In_ int  cInChars,
_In_ DWORD  dwFlags 
)

◆ ScriptItemize()

_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 
)

◆ ScriptJustify()

_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 
)

◆ ScriptLayout()

_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 
)

◆ ScriptPlace()

_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 
)

◆ ScriptRecordDigitSubstitution()

_Check_return_ HRESULT WINAPI ScriptRecordDigitSubstitution ( _In_ LCID  Locale,
_Out_writes_(1) SCRIPT_DIGITSUBSTITUTE psds 
)

◆ ScriptShape()

_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 
)

◆ ScriptString_pcOutChars()

const int *WINAPI ScriptString_pcOutChars ( _In_reads_(1) SCRIPT_STRING_ANALYSIS  ssa)

◆ ScriptString_pLogAttr()

const SCRIPT_LOGATTR *WINAPI ScriptString_pLogAttr ( _In_reads_(1) SCRIPT_STRING_ANALYSIS  ssa)

◆ ScriptString_pSize()

const SIZE *WINAPI ScriptString_pSize ( _In_reads_(1) SCRIPT_STRING_ANALYSIS  ssa)

◆ ScriptStringAnalyse()

_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 
)

◆ ScriptStringCPtoX()

_Check_return_ HRESULT WINAPI ScriptStringCPtoX ( _In_reads_(1) SCRIPT_STRING_ANALYSIS  ssa,
_In_ int  icp,
_In_ BOOL  fTrailing,
_Out_writes_(1) int pX 
)

◆ ScriptStringFree()

◆ ScriptStringGetLogicalWidths()

_Check_return_ HRESULT WINAPI ScriptStringGetLogicalWidths ( _In_reads_(1) SCRIPT_STRING_ANALYSIS  ssa,
_Out_ int piDx 
)

◆ ScriptStringGetOrder()

_Check_return_ HRESULT WINAPI ScriptStringGetOrder ( _In_reads_(1) SCRIPT_STRING_ANALYSIS  ssa,
_Out_ UINT puOrder 
)

◆ ScriptStringOut()

_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 
)

◆ ScriptStringValidate()

◆ ScriptStringXtoCP()

_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 
)

◆ ScriptTextOut()

_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 
)

◆ ScriptXtoCP()

_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 
)