Source code of Windows XP (NT5)
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.

497 lines
23 KiB

  1. LIBRARY GDI
  2. DESCRIPTION 'Microsoft Windows WOW gdi.exe'
  3. EXETYPE WINDOWS
  4. STUB '..\BIN\WINSTUB.EXE'
  5. CODE MOVEABLE
  6. DATA PRELOAD MOVEABLE SINGLE
  7. HEAPSIZE 0
  8. EXPORTS
  9. WEP ;Internal
  10. SETBKCOLOR @ 1
  11. SETBKMODE @ 2 NODATA
  12. SETMAPMODE @ 3
  13. SETROP2 @ 4 NODATA
  14. SETRELABS @ 5 NODATA ;Internal
  15. SETPOLYFILLMODE @ 6 NODATA
  16. SETSTRETCHBLTMODE @ 7 NODATA
  17. SETTEXTCHARACTEREXTRA @ 8
  18. SETTEXTCOLOR @ 9
  19. SETTEXTJUSTIFICATION @10
  20. SETWINDOWORG @11
  21. SETWINDOWEXT @12 NODATA
  22. SETVIEWPORTORG @13
  23. SETVIEWPORTEXT @14 NODATA
  24. OFFSETWINDOWORG @15 NODATA
  25. SCALEWINDOWEXT @16 NODATA
  26. OFFSETVIEWPORTORG @17 NODATA
  27. SCALEVIEWPORTEXT @18 NODATA
  28. LINETO @19
  29. MOVETO @20
  30. EXCLUDECLIPRECT @21 NODATA
  31. INTERSECTCLIPRECT @22 NODATA
  32. ARC @23
  33. ELLIPSE @24
  34. FLOODFILL @25
  35. PIE @26
  36. RECTANGLE @27
  37. ROUNDRECT @28
  38. PATBLT @29
  39. SAVEDC @30
  40. SETPIXEL @31
  41. OFFSETCLIPRGN @32
  42. TEXTOUT @33
  43. BITBLT @34
  44. STRETCHBLT @35
  45. POLYGON @36
  46. POLYLINE @37
  47. ESCAPE @38 ; Patched by ATM
  48. RESTOREDC @39
  49. FILLRGN @40
  50. FRAMERGN @41
  51. INVERTRGN @42
  52. PAINTRGN @43
  53. SELECTCLIPRGN @44
  54. SELECTOBJECT @45 ; Patched by ATM
  55. ;;;;BITMAPBITS @46 ;Internal
  56. ;
  57. ; GP fault exception handler table
  58. ;
  59. __GP @46 RESIDENTNAME ;Internal
  60. COMBINERGN @47
  61. CREATEBITMAP @48
  62. CREATEBITMAPINDIRECT @49
  63. CREATEBRUSHINDIRECT @50
  64. CREATECOMPATIBLEBITMAP @51 NODATA
  65. CREATECOMPATIBLEDC @52
  66. CREATEDC @53 NODATA ; Patched by ATM
  67. CREATEELLIPTICRGN @54
  68. CREATEELLIPTICRGNINDIRECT @55
  69. CREATEFONT @56
  70. CREATEFONTINDIRECT @57
  71. CREATEHATCHBRUSH @58
  72. CREATEPATTERNBRUSH @60
  73. CREATEPEN @61
  74. CREATEPENINDIRECT @62
  75. CREATEPOLYGONRGN @63
  76. CREATERECTRGN @64
  77. CREATERECTRGNINDIRECT @65
  78. CREATESOLIDBRUSH @66
  79. DPTOLP @67 NODATA
  80. DELETEDC @68 ; Patched by ATM
  81. DELETEOBJECT @69
  82. ENUMFONTS @70 ; Patched by ATM
  83. ENUMOBJECTS @71
  84. EQUALRGN @72
  85. EXCLUDEVISRECT @73 NODATA ;Internal
  86. GETBITMAPBITS @74 NODATA
  87. GETBKCOLOR @75
  88. GETBKMODE @76 NODATA
  89. GETCLIPBOX @77
  90. GETCURRENTPOSITION @78 NODATA
  91. GETDCORG @79 NODATA
  92. GETDEVICECAPS @80
  93. GETMAPMODE @81 NODATA
  94. GETOBJECT @82
  95. GETPIXEL @83
  96. GETPOLYFILLMODE @84 NODATA
  97. GETROP2 @85 NODATA
  98. GETRELABS @86 NODATA ;Internal
  99. GETSTOCKOBJECT @87
  100. GETSTRETCHBLTMODE @88 NODATA
  101. GETTEXTCHARACTEREXTRA @89
  102. GETTEXTCOLOR @90
  103. GETTEXTEXTENT @91 ; Patched by ATM
  104. GETTEXTFACE @92
  105. GETTEXTMETRICS @93
  106. GETVIEWPORTEXT @94 NODATA
  107. GETVIEWPORTORG @95 NODATA
  108. GETWINDOWEXT @96 NODATA
  109. GETWINDOWORG @97 NODATA
  110. INTERSECTVISRECT @98 NODATA ;Internal
  111. LPTODP @99 NODATA
  112. LINEDDA @100
  113. OFFSETRGN @101
  114. OFFSETVISRGN @102 ;Internal
  115. PTVISIBLE @103
  116. RECTVISIBLE @104
  117. SELECTVISRGN @105 ;Internal
  118. SETBITMAPBITS @106 NODATA
  119. SETDCORG @117 ;Internal
  120. ;;;;INTERNALCREATEDC @118 ;Internal
  121. ADDFONTRESOURCE @119
  122. ; GETCONTINUINGTEXTEXTENT @120
  123. DEATH @121 ;Internal
  124. RESURRECTION @122 ;Internal
  125. PLAYMETAFILE @123 ; Patched by ATM
  126. GETMETAFILE @124
  127. CREATEMETAFILE @125
  128. CLOSEMETAFILE @126
  129. DELETEMETAFILE @127
  130. MULDIV @128
  131. SAVEVISRGN @129 ;Internal
  132. RESTOREVISRGN @130 ;Internal
  133. INQUIREVISRGN @131 ;Internal
  134. SETENVIRONMENT @132
  135. GETENVIRONMENT @133
  136. GETRGNBOX @134
  137. SCANLR @135 ;Internal
  138. REMOVEFONTRESOURCE @136
  139. ;;;;GSV @137 ;Internal
  140. ;;;;DPXLATE @138 ;Internal
  141. ;;;;SETWINVIEWEXT @139 ;Internal
  142. ;;;;SCALEEXT @140 ;Internal
  143. ;;;;WORDSET @141 ;Internal
  144. ;;;;RECTSTUFF @142 ;Internal
  145. ;;;;OFFSETORG @143 ;Internal
  146. ; LOCKDC @144 NODATA
  147. ; UNLOCKDC @145 NODATA
  148. ; LOCKUNLOCK @146
  149. ; GDI_FARFRAME = _TEXT_FARFRAME @147
  150. SETBRUSHORG @148
  151. GETBRUSHORG @149 NODATA
  152. UNREALIZEOBJECT @150
  153. COPYMETAFILE @151
  154. ;; GDIINITAPP @152
  155. CREATEIC @153 NODATA
  156. GETNEARESTCOLOR @154
  157. QUERYABORT @155
  158. CREATEDISCARDABLEBITMAP @156 NODATA
  159. ;;;;COMPATIBLEBITMAP @157 ;Internal
  160. ;;;;ENUMCALLBACK @158 ;Internal
  161. GETMETAFILEBITS @159
  162. SETMETAFILEBITS @160
  163. PTINREGION @161
  164. GETBITMAPDIMENSION @162
  165. SETBITMAPDIMENSION @163
  166. ;;;;PIXTOLINE @164 ;Internal
  167. ; CREATELVB @165
  168. ; SELECTLVB @166
  169. ; ENABLELVB @167
  170. ; UPDATELVB @168
  171. ISDCDIRTY @169 ;Internal
  172. SETDCSTATUS @170 ;Internal
  173. ;;;;LVBUNION @171 ;Internal
  174. ; GETLVB @171
  175. SETRECTRGN @172
  176. GETCLIPRGN @173 ;Internal
  177. ; BLOAT @174
  178. ENUMMETAFILE @175
  179. PLAYMETAFILERECORD @176
  180. ;;;;RCOS @177 ;Internal
  181. ;;;;RSIN @178 ;Internal
  182. GETDCSTATE @179 ;Internal
  183. SETDCSTATE @180 ;Internal
  184. RECTINREGION @181
  185. ; REQUESTSEM @182
  186. ; CLEARSEM @183
  187. ;;;;STUFFVISIBLE @184 ;Internal
  188. ;;;;STUFFINREGION @185 ;Internal
  189. ;;;;DELETEABOVELINEFONTS @186 ;Internal
  190. ; SETFONTMAPPERWEIGHTS @187
  191. GETTEXTEXTENTEX @188
  192. SETDCHOOK @190 ;Internal
  193. GETDCHOOK @191 ;Internal
  194. SETHOOKFLAGS @192 ;Internal
  195. SETBOUNDSRECT @193
  196. GETBOUNDSRECT @194
  197. SELECTBITMAP @195 ;Internal
  198. SETMETAFILEBITSBETTER @196 ;New for 3.1
  199. DMBITBLT @201 NODATA
  200. DMCOLORINFO @202 NODATA
  201. DMENUMDFONTS @206 NODATA
  202. DMENUMOBJ @207 NODATA
  203. DMOUTPUT @208 NODATA
  204. DMPIXEL @209 NODATA
  205. DMREALIZEOBJECT @210 NODATA
  206. DMSTRBLT @211
  207. DMSCANLR @212 NODATA
  208. ; BRUTE @213
  209. DMEXTTEXTOUT @214
  210. DMGETCHARWIDTH @215
  211. DMSTRETCHBLT @216
  212. DMDIBBITS @217
  213. DMSTRETCHDIBITS @218
  214. DMSETDIBTODEV @219
  215. DMTRANSPOSE @220
  216. CREATEPQ @230 NODATA
  217. MINPQ @231 NODATA
  218. EXTRACTPQ @232 NODATA
  219. INSERTPQ @233 NODATA
  220. SIZEPQ @234 NODATA
  221. DELETEPQ @235 NODATA
  222. ; OPENJOBEX @239 ;Chicago
  223. OPENJOB @240
  224. WRITESPOOL @241
  225. WRITEDIALOG @242
  226. CLOSEJOB @243
  227. DELETEJOB @244
  228. ; GETSPOOLJOB @245 ;Internal
  229. STARTSPOOLPAGE @246
  230. ENDSPOOLPAGE @247
  231. QUERYJOB @248 ;Internal
  232. ;only for 3.1 apps
  233. COPY @250 ;Internal
  234. ; ADDFILESPOOLJOB @251 ;What are these???
  235. ; SPOOLESCAPE @252 ;What are these???
  236. DELETESPOOLPAGE @253 ;New for 3.1
  237. SPOOLFILE @254 ;New for 3.1
  238. ;only for 3.1 apps
  239. ;; ---- new spooler API ---- all internal
  240. OPENPRINTERA @266 ;Internal
  241. STARTDOCPRINTERA @267 ;Internal
  242. STARTPAGEPRINTER @268 ;Internal
  243. WRITEPRINTER @269 ;Internal
  244. ENDPAGEPRINTER @270 ;Internal
  245. ABORTPRINTER @271 ;Internal
  246. ENDDOCPRINTER @272 ;Internal
  247. CLOSEPRINTER @274 ;Internal
  248. GETREALDRIVERINFO @280 ;Internal
  249. DRVSETPRINTERDATA @281
  250. DRVGETPRINTERDATA @282
  251. ENGINEGETCHARWIDTHEX @299 ;Internal
  252. ENGINEENUMERATEFONT @300 ;Internal
  253. ENGINEDELETEFONT @301 ;Internal
  254. ENGINEREALIZEFONT @302 ;Internal
  255. ENGINEGETCHARWIDTH @303 ;Internal
  256. ENGINESETFONTCONTEXT @304 ;Internal
  257. ENGINEGETGLYPHBMP @305 ;Internal
  258. ENGINEMAKEFONTDIR @306 ;Internal
  259. GETCHARABCWIDTHS @307
  260. GETOUTLINETEXTMETRICS @308
  261. GETGLYPHOUTLINE @309
  262. CREATESCALABLEFONTRESOURCE @310
  263. GETFONTDATA @311
  264. CONVERTOUTLINEFONTFILE @312 ;Internal
  265. GETRASTERIZERCAPS @313
  266. ENGINEEXTTEXTOUT @314 ;Internal
  267. ENGINEREALIZEFONTEXT @315 ;Internal
  268. ENGINEGETCHARWIDTHSTR @316 ;Internal
  269. ENGINEGETGLYPHBMPEXT @317 ;Internal
  270. ;;; DUMPEFT @320
  271. ENUMFONTFAMILIES @330
  272. ;;;;ENUMFONTSINTERNAL @331 ;Internal
  273. GETKERNINGPAIRS @332
  274. GETTEXTALIGN @345
  275. SETTEXTALIGN @346
  276. ;;;;MFDRAWTEXT @347 ;Internal
  277. CHORD @348
  278. SETMAPPERFLAGS @349
  279. GETCHARWIDTH @350 ; Patched by ATM
  280. EXTTEXTOUT @351 ; Patched by ATM
  281. GETPHYSICALFONTHANDLE @352 ;Internal
  282. GETASPECTRATIOFILTER @353
  283. SHRINKGDIHEAP @354 ;Internal
  284. FTRAPPING0 @355 ;Internal
  285. CREATEPALETTE @360
  286. GDISELECTPALETTE @361 ;Internal
  287. GDIREALIZEPALETTE @362 ;Internal
  288. GETPALETTEENTRIES @363
  289. SETPALETTEENTRIES @364
  290. REALIZEDEFAULTPALETTE @365 ;Internal
  291. UPDATECOLORS @366
  292. ANIMATEPALETTE @367
  293. RESIZEPALETTE @368
  294. GETNEARESTPALETTEINDEX @370
  295. ;; SELECTCOLORMATCHER @371
  296. EXTFLOODFILL @372
  297. SETSYSTEMPALETTEUSE @373
  298. GETSYSTEMPALETTEUSE @374
  299. GETSYSTEMPALETTEENTRIES @375
  300. RESETDC @376
  301. STARTDOC @377
  302. ENDDOC @378
  303. STARTPAGE @379
  304. ENDPAGE @380
  305. SETABORTPROC @381
  306. ABORTDOC @382
  307. FASTWINDOWFRAME @400 ;Internal
  308. GDIMOVEBITMAP @401 ;Internal
  309. GDIINIT2 @403 ;Internal
  310. GETTTGLYPHINDEXMAP @404 ;Internal
  311. FINALGDIINIT @405 ;Internal
  312. ;;;;CREATEREALBITMAPINDIRECT @406 ;Internal
  313. CREATEUSERBITMAP @407 NODATA ;Internal
  314. ;;;;CREATEREALBITMAP @408 ;Internal
  315. CREATEUSERDISCARDABLEBITMAP @409 NODATA ;Internal
  316. ISVALIDMETAFILE @410 ;Internal
  317. GETCURLOGFONT @411 ;Internal
  318. ISDCCURRENTPALETTE @412 ;Internal
  319. ; GETCLIPPINGRGN @435
  320. STRETCHDIBITS @439
  321. SETDIBITS @440
  322. GETDIBITS @441
  323. CREATEDIBITMAP @442
  324. SETDIBITSTODEVICE @443
  325. CREATEROUNDRECTRGN @444
  326. CREATEDIBPATTERNBRUSH @445
  327. ; GETFONTMAPPERWEIGHTS @446
  328. ; LOCKMONOBITMAP @447
  329. ; UNLOCKMONOBITMAP @448
  330. DEVICECOLORMATCH @449 ;Internal
  331. POLYPOLYGON @450
  332. CREATEPOLYPOLYGONRGN @451
  333. GDISEEGDIDO @452 ;Internal
  334. SETOBJECTOWNER @461
  335. ISGDIOBJECT @462
  336. MAKEOBJECTPRIVATE @463 ;Internal
  337. FIXUPBOGUSPUBLISHERMETAFILE @464 ;Internal
  338. RECTVISIBLE_EHH @465
  339. RECTINREGION_EHH @466
  340. UNICODETOANSI @467 ;Internal
  341. ; the following functions are added for the NT windows group.
  342. GETBITMAPDIMENSIONEX @468
  343. GETBRUSHORGEX @469 NODATA
  344. GETCURRENTPOSITIONEX @470 NODATA
  345. GETTEXTEXTENTPOINT @471
  346. GETVIEWPORTEXTEX @472 NODATA
  347. GETVIEWPORTORGEX @473 NODATA
  348. GETWINDOWEXTEX @474 NODATA
  349. GETWINDOWORGEX @475 NODATA
  350. OFFSETVIEWPORTORGEX @476 NODATA
  351. OFFSETWINDOWORGEX @477 NODATA
  352. SETBITMAPDIMENSIONEX @478
  353. SETVIEWPORTEXTEX @479 NODATA
  354. SETVIEWPORTORGEX @480
  355. SETWINDOWEXTEX @481 NODATA
  356. SETWINDOWORGEX @482
  357. MOVETOEX @483
  358. SCALEVIEWPORTEXTEX @484 NODATA
  359. SCALEWINDOWEXTEX @485 NODATA
  360. GETASPECTRATIOFILTEREX @486
  361. POLYPOLYLINEWOW @487 ; Internal
  362. ; New Chicago APIs.
  363. CREATEDIBSECTION @489 ;Internal
  364. CLOSEENHMETAFILE @490 ;Internal
  365. COPYENHMETAFILE @491 ;Internal
  366. CREATEENHMETAFILE @492 ;Internal
  367. DELETEENHMETAFILE @493 ;Internal
  368. GDICOMMENT @495 ;Internal
  369. GETENHMETAFILE @496 ;Internal
  370. GETENHMETAFILEBITS @497 ;Internal
  371. GETENHMETAFILEDESCRIPTION @498 ;Internal
  372. GETENHMETAFILEHEADER @499 ;Internal
  373. GETENHMETAFILEPALETTEENTRIES @501 ;Internal
  374. POLYBEZIER @502 ;Internal
  375. POLYBEZIERTO @503 ;Internal
  376. PLAYENHMETAFILERECORD @504 ;Internal
  377. SETENHMETAFILEBITS @505 ;Internal
  378. SETMETARGN @506 ;Internal
  379. EXTSELECTCLIPRGN @508 ;Internal
  380. ABORTPATH @511 ;Internal
  381. BEGINPATH @512 ;Internal
  382. CLOSEFIGURE @513 ;Internal
  383. ENDPATH @514 ;Internal
  384. FILLPATH @515 ;Internal
  385. FLATTENPATH @516 ;Internal
  386. GETPATH @517 ;Internal
  387. PATHTOREGION @518 ;Internal
  388. SELECTCLIPPATH @519 ;Internal
  389. STROKEANDFILLPATH @520 ;Internal
  390. STROKEPATH @521 ;Internal
  391. WIDENPATH @522 ;Internal
  392. EXTCREATEPEN @523 ;Internal
  393. GETARCDIRECTION @524 ;Internal
  394. SETARCDIRECTION @525 ;Internal
  395. GETMITERLIMIT @526 ;Internal
  396. SETMITERLIMIT @527 ;Internal
  397. GDIPARAMETERSINFO @528 ;Internal
  398. CREATEHALFTONEPALETTE @529 ;Internal
  399. ; Few more DIB APIs
  400. SETDIBCOLORTABLE @602 ;Internal
  401. GETDIBCOLORTABLE @603 ;Internal
  402. ; Private support routines for USER
  403. SETSOLIDBRUSH @604 ;Internal
  404. SYSDELETEOBJECT @605 ;Internal
  405. SETMAGICCOLORS @606 ;Internal
  406. GETREGIONDATA @607 ;Internal
  407. EXTCREATEREGION @608 ;Internal
  408. GDIFREERESOURCES @609 ;Internal
  409. GDISIGNALPROC32 @610 ;Internal
  410. GETRANDOMRGN @611 ;Internal
  411. GETTEXTCHARSET @612 ;Internal
  412. ENUMFONTFAMILIESEX @613 ;Internal
  413. ADDLPKTOGDI @614 ;Internal
  414. GETCHARACTERPLACEMENT @615 ;Internal
  415. GETFONTLANGUAGEINFO @616 ;Internal
  416. ; ENABLESEGTRAPPER @617 ;Internal
  417. ; TRAPSEG @618 ;Internal
  418. ; API for the DIBENG to call to build a 32k Inverse table.
  419. BUILDINVERSETABLEDIB @650 ;Internal
  420. ; Table of vital pointers for 32-bit half of GDI thunks
  421. ;WOW GDITHKCONNECTIONDATALS @701 ;Internal
  422. ;WOW FT_GDIFTHKTHKCONNECTIONDATA @702 ;Internal
  423. ;WOW FDTHKCONNECTIONDATASL @703 ;Internal
  424. ;WOW ICMTHKCONNECTIONDATASL @704 ;Internal
  425. ; SETICMMODE @801 ;Internal
  426. ; ENUMPROFILES @804 ;Internal
  427. ; SETGAMUTMATCHINGMETHOD @805 ;Internal
  428. ; CHECKCOLORINGAMUT @806 ;Internal
  429. ; CHECKCOLORSINGAMUT @807 ;Internal
  430. ; GETCOLORSPACE @808 ;Internal
  431. ; GETLOGCOLORSPACE @809 ;Internal
  432. ; CREATECOLORSPACE @810 ;Internal
  433. ; SETCOLORSPACE @811 ;Internal
  434. ; DELETECOLORSPACE @812 ;Internal
  435. ; GETICMPROFILE @813 ;Internal
  436. ; SETICMPROFILE @814 ;Internal
  437. ; GETDEVICEGAMMARAMP @815 ;Internal
  438. ; SETDEVICEGAMMARAMP @816 ;Internal
  439. ; COLORMATCHTOTARGET @817 ;Internal
  440. ICMCREATETRANSFORM @820
  441. ICMDELETETRANSFORM @821
  442. ICMTRANSLATERGB @822
  443. ICMTRANSLATERGBS @823
  444. ICMCHECKCOLORSINGAMUT @824
  445. IMPORTS
  446. HandleParamError = KERNEL.327