Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

236 lines
3.9 KiB

  1. #include "windowspch.h"
  2. #pragma hdrstop
  3. #include <usp10.h>
  4. static
  5. HRESULT
  6. WINAPI
  7. ScriptStringAnalyse(
  8. HDC hdc,
  9. const void *pString,
  10. int cString,
  11. int cGlyphs,
  12. int iCharset,
  13. DWORD dwFlags,
  14. int iReqWidth,
  15. SCRIPT_CONTROL *psControl,
  16. SCRIPT_STATE *psState,
  17. const int *piDx,
  18. SCRIPT_TABDEF *pTabdef,
  19. const BYTE *pbInClass,
  20. SCRIPT_STRING_ANALYSIS *pssa
  21. )
  22. {
  23. return E_FAIL;
  24. }
  25. static
  26. HRESULT
  27. WINAPI
  28. ScriptStringFree(
  29. SCRIPT_STRING_ANALYSIS *pssa
  30. )
  31. {
  32. return E_FAIL;
  33. }
  34. static
  35. const SIZE*
  36. WINAPI
  37. ScriptString_pSize(
  38. SCRIPT_STRING_ANALYSIS ssa
  39. )
  40. {
  41. return NULL;
  42. }
  43. static
  44. HRESULT
  45. WINAPI
  46. ScriptStringOut(
  47. SCRIPT_STRING_ANALYSIS ssa,
  48. int iX,
  49. int iY,
  50. UINT uOptions,
  51. const RECT *prc,
  52. int iMinSel,
  53. int iMaxSel,
  54. BOOL fDisabled
  55. )
  56. {
  57. return E_FAIL;
  58. }
  59. static
  60. const int*
  61. WINAPI
  62. ScriptString_pcOutChars(
  63. SCRIPT_STRING_ANALYSIS ssa
  64. )
  65. {
  66. return NULL;
  67. }
  68. static
  69. const SCRIPT_LOGATTR*
  70. WINAPI
  71. ScriptString_pLogAttr(
  72. SCRIPT_STRING_ANALYSIS ssa
  73. )
  74. {
  75. return NULL;
  76. }
  77. static
  78. HRESULT
  79. WINAPI
  80. ScriptBreak(
  81. const WCHAR *pwcChars,
  82. int cChars,
  83. const SCRIPT_ANALYSIS *psa,
  84. SCRIPT_LOGATTR *psla
  85. )
  86. {
  87. return E_FAIL;
  88. }
  89. static
  90. HRESULT
  91. WINAPI
  92. ScriptTextOut(
  93. const HDC hdc,
  94. SCRIPT_CACHE *psc,
  95. int x,
  96. int y,
  97. UINT fuOptions,
  98. const RECT *lprc,
  99. const SCRIPT_ANALYSIS *psa,
  100. const WCHAR *pwcReserved,
  101. int iReserved,
  102. const WORD *pwGlyphs,
  103. int cGlyphs,
  104. const int *piAdvance,
  105. const int *piJustify,
  106. const GOFFSET *pGoffset
  107. )
  108. {
  109. return E_FAIL;
  110. }
  111. static
  112. HRESULT
  113. WINAPI
  114. ScriptFreeCache(
  115. SCRIPT_CACHE *psc
  116. )
  117. {
  118. return E_FAIL;
  119. }
  120. static
  121. HRESULT
  122. WINAPI
  123. ScriptGetFontProperties(
  124. HDC hdc,
  125. SCRIPT_CACHE *psc,
  126. SCRIPT_FONTPROPERTIES *sfp
  127. )
  128. {
  129. return E_FAIL;
  130. }
  131. static
  132. HRESULT
  133. WINAPI
  134. ScriptPlace(
  135. HDC hdc,
  136. SCRIPT_CACHE *psc,
  137. const WORD *pwGlyphs,
  138. int cGlyphs,
  139. const SCRIPT_VISATTR *psva,
  140. SCRIPT_ANALYSIS *psa,
  141. int *piAdvance,
  142. GOFFSET *pGoffset,
  143. ABC *pABC
  144. )
  145. {
  146. return E_FAIL;
  147. }
  148. static
  149. HRESULT
  150. WINAPI
  151. ScriptShape(
  152. HDC hdc,
  153. SCRIPT_CACHE *psc,
  154. const WCHAR *pwcChars,
  155. int cChars,
  156. int cMaxGlyphs,
  157. SCRIPT_ANALYSIS *psa,
  158. WORD *pwOutGlyphs,
  159. WORD *pwLogClust,
  160. SCRIPT_VISATTR *psva,
  161. int *pcGlyphs
  162. )
  163. {
  164. return E_FAIL;
  165. }
  166. static
  167. HRESULT
  168. WINAPI
  169. ScriptGetProperties(
  170. const SCRIPT_PROPERTIES *** ppSp,
  171. int *piNumScripts
  172. )
  173. {
  174. return E_FAIL;
  175. }
  176. static
  177. HRESULT
  178. WINAPI
  179. ScriptItemize(
  180. const WCHAR *pwcInChars,
  181. int cInChars,
  182. int cMaxItems,
  183. const SCRIPT_CONTROL *psControl,
  184. const SCRIPT_STATE *psState,
  185. SCRIPT_ITEM *pItems,
  186. int *pcItems
  187. )
  188. {
  189. return E_FAIL;
  190. }
  191. //
  192. // !! WARNING !! The entries below must be in alphabetical order,
  193. // and are CASE SENSITIVE (eg lower case comes last!)
  194. //
  195. DEFINE_PROCNAME_ENTRIES(usp10)
  196. {
  197. DLPENTRY(ScriptBreak)
  198. DLPENTRY(ScriptFreeCache)
  199. DLPENTRY(ScriptGetFontProperties)
  200. DLPENTRY(ScriptGetProperties)
  201. DLPENTRY(ScriptItemize)
  202. DLPENTRY(ScriptPlace)
  203. DLPENTRY(ScriptShape)
  204. DLPENTRY(ScriptStringAnalyse)
  205. DLPENTRY(ScriptStringFree)
  206. DLPENTRY(ScriptStringOut)
  207. DLPENTRY(ScriptString_pLogAttr)
  208. DLPENTRY(ScriptString_pSize)
  209. DLPENTRY(ScriptString_pcOutChars)
  210. DLPENTRY(ScriptTextOut)
  211. };
  212. DEFINE_PROCNAME_MAP(usp10)