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.

152 lines
3.0 KiB

  1. /******************************Module*Header*******************************\
  2. * Module Name: atmstub.h
  3. *
  4. * Created: 23-Apr-1990
  5. * Author: Xudong Wu [tessiew]
  6. *
  7. * Copyright (c) 1990-1999 Microsoft Corporation
  8. *
  9. \**************************************************************************/
  10. DHPDEV APIENTRY atmfdEnablePDEV(
  11. DEVMODEW *pdm,
  12. LPWSTR pwszLogAddress,
  13. ULONG cPat,
  14. HSURF *phsurfPatterns,
  15. ULONG cjCaps,
  16. ULONG *pdevcaps,
  17. ULONG cjDevInfo,
  18. DEVINFO *pdi,
  19. HDEV hdev,
  20. LPWSTR pwszDeviceName,
  21. HANDLE hDriver
  22. );
  23. VOID APIENTRY atmfdCompletePDEV(
  24. DHPDEV dhpdev,
  25. HDEV hdev
  26. );
  27. VOID APIENTRY atmfdDisablePDEV(
  28. DHPDEV dhpdev
  29. );
  30. ULONG_PTR APIENTRY atmfdLoadFontFile(
  31. ULONG cFiles,
  32. ULONG_PTR *piFile,
  33. PVOID *ppvView,
  34. ULONG *pcjView,
  35. DESIGNVECTOR *pdv,
  36. ULONG ulLangID,
  37. ULONG ulFastCheckSum
  38. );
  39. LONG APIENTRY atmfdQueryFontFile(
  40. ULONG_PTR iFile,
  41. ULONG ulMode,
  42. ULONG cjBuf,
  43. ULONG *pulBuf
  44. );
  45. BOOL APIENTRY atmfdUnloadFontFile(
  46. ULONG_PTR iFile
  47. );
  48. PIFIMETRICS APIENTRY atmfdQueryFont(
  49. DHPDEV dhpdev,
  50. ULONG_PTR iFile,
  51. ULONG iFace,
  52. ULONG_PTR *pid
  53. );
  54. LONG APIENTRY atmfdQueryFontCaps(
  55. ULONG culCaps,
  56. ULONG *pulCaps
  57. );
  58. PVOID APIENTRY atmfdQueryFontTree(
  59. DHPDEV dhpdev,
  60. ULONG_PTR iFile,
  61. ULONG iFace,
  62. ULONG iMode,
  63. ULONG_PTR *pid
  64. );
  65. LONG APIENTRY atmfdQueryFontData(
  66. DHPDEV dhpdev,
  67. FONTOBJ *pfo,
  68. ULONG iMode,
  69. HGLYPH hg,
  70. GLYPHDATA *pgd,
  71. PVOID pv,
  72. ULONG cjSize
  73. );
  74. BOOL APIENTRY atmfdQueryAdvanceWidths(
  75. DHPDEV dhpdev,
  76. FONTOBJ *pfo,
  77. ULONG iMode,
  78. HGLYPH *phg,
  79. PVOID pvWidths,
  80. ULONG cGlyphs
  81. );
  82. LONG APIENTRY atmfdQueryTrueTypeOutline(
  83. DHPDEV dhpdev,
  84. FONTOBJ *pfo,
  85. HGLYPH hglyph,
  86. BOOL bMetricsOnly,
  87. GLYPHDATA *pgldt,
  88. ULONG cjBuf,
  89. TTPOLYGONHEADER *ppoly
  90. );
  91. LONG APIENTRY atmfdQueryTrueTypeTable(
  92. ULONG_PTR iFile,
  93. ULONG ulFont,
  94. ULONG ulTag,
  95. PTRDIFF dpStart,
  96. ULONG cjBuf,
  97. BYTE *pjBuf,
  98. PBYTE *ppjTable,
  99. ULONG *pcjTable
  100. );
  101. PFD_GLYPHATTR atmfdQueryGlyphAttrs (
  102. FONTOBJ *pfo,
  103. ULONG iMode
  104. );
  105. PVOID APIENTRY atmfdGetTrueTypeFile (
  106. ULONG_PTR iFile,
  107. ULONG *pcj
  108. );
  109. ULONG APIENTRY atmfdFontManagement(
  110. SURFOBJ *pso,
  111. FONTOBJ *pfo,
  112. ULONG iMode,
  113. ULONG cjIn,
  114. PVOID pvIn,
  115. ULONG cjOut,
  116. PVOID pvOut
  117. );
  118. VOID APIENTRY atmfdDestroyFont(
  119. FONTOBJ *pfo
  120. );
  121. VOID APIENTRY atmfdFree(
  122. PVOID pv,
  123. ULONG_PTR id
  124. );
  125. ULONG APIENTRY atmfdEscape(
  126. SURFOBJ *pso,
  127. ULONG iEsc,
  128. ULONG cjIn,
  129. PVOID pvIn,
  130. ULONG cjOut,
  131. PVOID pvOut
  132. );