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