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.

343 lines
8.6 KiB

  1. NAME WIN32K.SYS
  2. EXPORTS
  3. ;
  4. ; ********** NEW OS SUPPORT ROUTINES FOR DISPLAY DRIVERS ******
  5. ;
  6. RtlRaiseException = NTOSKRNL.RtlRaiseException
  7. RtlUnwind = NTOSKRNL.RtlUnwind
  8. RtlAnsiCharToUnicodeChar = NTOSKRNL.RtlAnsiCharToUnicodeChar
  9. RtlMultiByteToUnicodeN = NTOSKRNL.RtlMultiByteToUnicodeN
  10. RtlUpcaseUnicodeChar = NTOSKRNL.RtlUpcaseUnicodeChar
  11. RtlUpcaseUnicodeToMultiByteN = NTOSKRNL.RtlUpcaseUnicodeToMultiByteN
  12. RtlUnicodeToMultiByteSize = NTOSKRNL.RtlUnicodeToMultiByteSize
  13. RtlUnicodeToMultiByteN = NTOSKRNL.RtlUnicodeToMultiByteN
  14. EngDebugBreak = NTOSKRNL.DbgBreakPoint
  15. EngBugCheckEx = NTOSKRNL.KeBugCheckEx
  16. EngDebugPrint
  17. EngAllocMem
  18. EngFreeMem
  19. EngAllocUserMem
  20. EngFreeUserMem
  21. EngAllocSectionMem
  22. EngFreeSectionMem
  23. EngMapSection
  24. EngProbeForRead
  25. EngProbeForReadAndWrite = NTOSKRNL.ProbeForWrite
  26. EngSecureMem
  27. EngUnsecureMem = NTOSKRNL.MmUnsecureVirtualMemory
  28. EngDeviceIoControl
  29. EngCreateSemaphore
  30. EngAcquireSemaphore
  31. EngReleaseSemaphore
  32. EngDeleteSemaphore
  33. EngInitializeSafeSemaphore
  34. EngDeleteSafeSemaphore
  35. EngIsSemaphoreOwned
  36. EngIsSemaphoreOwnedByCurrentThread
  37. ; DirectDraw heap entry points.
  38. HeapVidMemAllocAligned
  39. VidMemFree
  40. EngAllocPrivateUserMem
  41. EngFreePrivateUserMem
  42. EngDxIoctl
  43. ;
  44. ; ********** GDI ENTRY POINTS **************
  45. ;
  46. ;
  47. ; Engine callbacks for drivers
  48. ;
  49. EngAlphaBlend
  50. EngCreateDeviceBitmap
  51. EngCreateDeviceSurface
  52. EngCreateBitmap
  53. EngCreatePath
  54. EngDeletePath
  55. EngDeleteSurface
  56. EngFntCacheAlloc
  57. EngFntCacheFault
  58. EngFntCacheLookUp
  59. EngGradientFill
  60. EngLockSurface
  61. EngMarkBandingSurface
  62. EngUnlockSurface
  63. EngCopyBits
  64. EngBitBlt
  65. EngStretchBlt
  66. EngStretchBltROP
  67. EngPlgBlt
  68. EngPaint
  69. EngTextOut
  70. EngTransparentBlt
  71. EngEraseSurface
  72. EngAssociateSurface
  73. EngCheckAbort
  74. EngCreatePalette
  75. EngQueryPalette
  76. EngDeletePalette
  77. EngCreateClip
  78. EngDeleteClip
  79. EngFillPath
  80. EngLineTo
  81. EngStrokePath
  82. EngStrokeAndFillPath
  83. EngSetLastError
  84. EngGetLastError
  85. EngGetProcessHandle
  86. EngGetCurrentProcessId
  87. EngGetCurrentThreadId
  88. EngCreateDriverObj
  89. EngDeleteDriverObj
  90. EngLockDriverObj
  91. EngUnlockDriverObj
  92. EngGetType1FontList
  93. EngComputeGlyphSet
  94. EngGetCurrentCodePage
  95. EngMultiByteToWideChar
  96. EngWideCharToMultiByte
  97. EngLoadModuleForWrite
  98. EngGetFileChangeTime
  99. EngGetFilePath
  100. EngSaveFloatingPointState
  101. EngRestoreFloatingPointState
  102. EngSetPointerShape
  103. EngMovePointer
  104. EngSetPointerTag
  105. EngControlSprites
  106. EngLockDirectDrawSurface
  107. EngUnlockDirectDrawSurface
  108. EngMapFile
  109. EngUnmapFile
  110. EngDeleteFile
  111. EngDitherColor
  112. EngModifySurface
  113. EngQueryDeviceAttribute
  114. EngHangNotification
  115. EngNineGrid
  116. EngCreateEvent
  117. EngDeleteEvent
  118. EngMapEvent
  119. EngSetEvent
  120. EngUnmapEvent
  121. EngWaitForSingleObject
  122. EngClearEvent
  123. EngReadStateEvent
  124. EngLpkInstalled
  125. BRUSHOBJ_pvAllocRbrush
  126. BRUSHOBJ_pvGetRbrush
  127. BRUSHOBJ_ulGetBrushColor
  128. BRUSHOBJ_hGetColorTransform
  129. CLIPOBJ_cEnumStart
  130. CLIPOBJ_bEnum
  131. CLIPOBJ_ppoGetPath
  132. PALOBJ_cGetColors
  133. XLATEOBJ_iXlate
  134. XLATEOBJ_piVector
  135. XLATEOBJ_cGetPalette
  136. XLATEOBJ_hGetColorTransform
  137. XFORMOBJ_bApplyXform
  138. XFORMOBJ_iGetXform
  139. XFORMOBJ_iGetFloatObjXform
  140. FONTOBJ_cGetAllGlyphHandles
  141. FONTOBJ_vGetInfo
  142. FONTOBJ_cGetGlyphs
  143. FONTOBJ_pxoGetXform
  144. FONTOBJ_pifi
  145. FONTOBJ_pvTrueTypeFontFile
  146. FONTOBJ_pjOpenTypeTablePointer
  147. FONTOBJ_pwszFontFilePaths
  148. FONTOBJ_pfdg
  149. FONTOBJ_pQueryGlyphAttrs
  150. STROBJ_vEnumStart
  151. STROBJ_bEnum
  152. STROBJ_dwGetCodePage
  153. STROBJ_fxCharacterExtra
  154. STROBJ_fxBreakExtra
  155. STROBJ_bGetAdvanceWidths
  156. STROBJ_bEnumPositionsOnly
  157. PATHOBJ_vEnumStart
  158. PATHOBJ_bEnum
  159. PATHOBJ_vEnumStartClipLines
  160. PATHOBJ_bEnumClipLines
  161. PATHOBJ_vGetBounds
  162. PATHOBJ_bMoveTo
  163. PATHOBJ_bPolyLineTo
  164. PATHOBJ_bPolyBezierTo
  165. PATHOBJ_bCloseFigure
  166. EngCreateWnd
  167. EngDeleteWnd
  168. WNDOBJ_cEnumStart
  169. WNDOBJ_bEnum
  170. WNDOBJ_vSetConsumer
  171. ; ********** OS SUPPORT ROUTINES FOR PRINTER DRIVERS ******
  172. EngGetPrinterDriver
  173. EngGetPrinterData
  174. EngSetPrinterData
  175. EngGetPrinter
  176. EngGetForm
  177. EngWritePrinter
  178. EngEnumForms
  179. EngMulDiv
  180. EngSort
  181. EngLoadModule
  182. EngMapModule
  183. EngFindResource
  184. EngFreeModule
  185. EngGetPrinterDataFileName
  186. EngGetDriverName
  187. EngLoadImage
  188. EngFindImageProcAddress
  189. EngUnloadImage
  190. EngMapFontFile
  191. EngUnmapFontFile
  192. EngMapFontFileFD
  193. EngUnmapFontFileFD
  194. EngQueryPerformanceCounter
  195. EngQueryPerformanceFrequency
  196. EngQuerySystemAttribute
  197. EngUnicodeToMultiByteN
  198. EngMultiByteToUnicodeN
  199. EngQueryLocalTime
  200. HT_Get8BPPFormatPalette
  201. HT_Get8BPPMaskPalette
  202. HT_ComputeRGBGammaTable
  203. _itoa = NTOSKRNL._itoa
  204. _itow = NTOSKRNL._itow
  205. ;
  206. ; ********** PLATFORM SPECIFIC HELPER ROUTINES ******
  207. ;
  208. #if defined(i386)
  209. FLOATOBJ_Add
  210. FLOATOBJ_AddFloat
  211. FLOATOBJ_AddLong
  212. FLOATOBJ_AddFloatObj
  213. FLOATOBJ_Div
  214. FLOATOBJ_DivFloat
  215. FLOATOBJ_DivLong
  216. FLOATOBJ_DivFloatObj
  217. FLOATOBJ_Equal
  218. FLOATOBJ_EqualLong
  219. FLOATOBJ_GetFloat
  220. FLOATOBJ_GetLong
  221. FLOATOBJ_GreaterThan
  222. FLOATOBJ_GreaterThanLong
  223. FLOATOBJ_LessThan
  224. FLOATOBJ_LessThanLong
  225. FLOATOBJ_Mul
  226. FLOATOBJ_MulFloat
  227. FLOATOBJ_MulLong
  228. FLOATOBJ_MulFloatObj
  229. FLOATOBJ_Neg
  230. FLOATOBJ_SetFloat
  231. FLOATOBJ_SetLong
  232. FLOATOBJ_Sub
  233. FLOATOBJ_SubFloat
  234. FLOATOBJ_SubLong
  235. FLOATOBJ_SubFloatObj
  236. _abnormal_termination = NTOSKRNL._abnormal_termination
  237. _except_handler2 = NTOSKRNL._except_handler2
  238. _global_unwind2 = NTOSKRNL._global_unwind2
  239. _local_unwind2 = NTOSKRNL._local_unwind2
  240. #endif
  241. #if defined(_AMD64_)
  242. RtlCaptureContext = NTOSKRNL.RtlCaptureContext
  243. RtlCopyMemory = NTOSKRNL.RtlCopyMemory
  244. RtlCopyMemoryNonTemporal = NTOSKRNL.RtlCopyMemoryNonTemporal
  245. RtlFillMemory = NTOSKRNL.RtlFillMemory
  246. RtlMoveMemory = NTOSKRNL.RtlMoveMemory
  247. RtlPcToFileHeader = NTOSKRNL.RtlPcToFileHeader
  248. RtlRestoreContext = NTOSKRNL.RtlRestoreContext
  249. RtlLookupFunctionEntry = NTOSKRNL.RtlLookupFunctionEntry
  250. RtlVirtualUnwind = NTOSKRNL.RtlVirtualUnwind
  251. RtlUnwindEx = NTOSKRNL.RtlUnwindEx
  252. RtlZeroMemory = NTOSKRNL.RtlZeroMemory
  253. __C_specific_handler = NTOSKRNL.__C_specific_handler
  254. _local_unwind = NTOSKRNL._local_unwind
  255. __chkstk = NTOSKRNL.__chkstk
  256. _setjmp = NTOSKRNL._setjmp
  257. _setjmpex = NTOSKRNL._setjmpex
  258. longjmp = NTOSKRNL.longjmp
  259. memcmp = NTOSKRNL.memcmp
  260. memcpy = NTOSKRNL.memcpy
  261. memmove = NTOSKRNL.memmove
  262. memset = NTOSKRNL.memset
  263. #endif
  264. #if defined(IA64)
  265. RtlPcToFileHeader = NTOSKRNL.RtlPcToFileHeader
  266. RtlLookupFunctionEntry = NTOSKRNL.RtlLookupFunctionEntry
  267. RtlVirtualUnwind = NTOSKRNL.RtlVirtualUnwind
  268. RtlUnwind2 = NTOSKRNL.RtlUnwind2
  269. RtlMoveMemory = NTOSKRNL.memmove
  270. RtlCopyMemory = NTOSKRNL.memcpy
  271. RtlFillMemory = NTOSKRNL.RtlFillMemory
  272. RtlZeroMemory = NTOSKRNL.RtlZeroMemory
  273. memcmp = NTOSKRNL.memcmp
  274. memcpy = NTOSKRNL.memcpy PRIVATE
  275. memset = NTOSKRNL.memset PRIVATE
  276. abs = NTOSKRNL.abs
  277. WRITE_PORT_UCHAR = HAL.WRITE_PORT_UCHAR
  278. WRITE_PORT_USHORT = HAL.WRITE_PORT_USHORT
  279. WRITE_PORT_ULONG = HAL.WRITE_PORT_ULONG
  280. READ_PORT_UCHAR = HAL.READ_PORT_UCHAR
  281. READ_PORT_USHORT = HAL.READ_PORT_USHORT
  282. READ_PORT_ULONG = HAL.READ_PORT_ULONG
  283. __C_specific_handler = NTOSKRNL.__C_specific_handler
  284. #endif
  285. #ifdef _HYDRA_
  286. EngGetTickCount
  287. EngFileWrite
  288. EngFileIoControl
  289. #endif