LIBRARY GDI
DESCRIPTION 'WOW REPLACEMENT GDI'
EXETYPE WINDOWS
STUB '..\BIN\WINSTUB.EXE'
CODE PRELOAD MOVEABLE DISCARDABLE
DATA PRELOAD MOVEABLE SINGLE
HEAPSIZE 2048
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

;   BLTREGION                           @40



    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		;Internal

    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

    OPENJOB                             @240
    WRITESPOOL                          @241
    WRITEDIALOG                         @242
    CLOSEJOB                            @243
    DELETEJOB                           @244
    GETSPOOLJOB                         @245
    STARTSPOOLPAGE                      @246
    ENDSPOOLPAGE                        @247
    QUERYJOB                            @248		;Internal
    COPY				@250		;Internal
;   ADDFILESPOOLJOB                     @251
;   SPOOLESCAPE                         @252
    DELETESPOOLPAGE			@253		; new for 3.1
    SPOOLFILE				@254		; new for 3.1

    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
;;; 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

    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

    GDITASKTERMINATION                  @460            ;Internal
    SETOBJECTOWNER                      @461            ;Internal
    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                     @490             ; Internal

    CREATEDIBSECTION                    @489
    GETDIBCOLORTABLE                    @603
    SETDIBCOLORTABLE                    @602

;    ENGINEENUMERATEFONT		 @500		 ;Internal
;    ENGINEDELETEFONT			 @501		 ;internal
;    ENGINEREALIZEFONT			 @502		 ;Internal
;    ENGINEGETCHARWIDTH 		 @503		 ;internal
;    ENGINESETFONTCONTEXT		 @504		 ;Internal
;    ENGINEGETGLYPHBMP			 @505		 ;internal
;    ENGINEMAKEFONTDIR			 @506		 ;Internal
;    ENGINEGETABCWIDTHS 		 @507
;    ENGINEGETEXTTEXTMETRICS		 @508
;    APPGETENGINEOUTLINE		 @509
;    CREATESCALABLEFONTRESOURCE 	 @510

;    TEFTI for DNW


IMPORTS

    HandleParamError    = KERNEL.327
