From: mohr@elektron.ikp.physik.tu-darmstadt.de (Andreas Mohr)
Newsgroups: local.list.wine.patches
Subject: DISPLAY driver addition take 2
Date: 16 Nov 1999 19:33:02 +0100
Organization: home
Lines: 103
Message-ID: <199911161313.OAA13466@hertz.ikp.physik.tu-darmstadt.de>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=ELM942758003-13460-0_
Content-Transfer-Encoding: 7bit
X-Resent-Date: Tue, 16 Nov 1999 06:13:37 -0700
X-To: wine-patches@winehq.com
X-Mailer: ELM [version 2.4ME+ PL47 (25)]
X-Resent-Message-ID: <sYNqV.A.goD.BiVM4@ursula.gmcl.com>
X-Resent-From: wine-patches@winehq.com
X-Reply-To: wine-devel@winehq.com
X-Mailing-List: <wine-patches@winehq.com> archive/latest/2133
X-Loop: wine-patches@winehq.com
X-Precedence: list
X-Resent-Sender: wine-patches-request@winehq.com


--ELM942758003-13460-0_
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi,

add some ordinals and GetDriverResourceID().                                    

And of course I added the info Huw gave :)

Andreas Mohr

--ELM942758003-13460-0_
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: attachment; filename=diff.display
Content-Description: /home/mohr/diff.display
Content-Transfer-Encoding: 7bit

Index: if1632/display.spec
===================================================================
RCS file: /home/wine/wine/if1632/display.spec,v
retrieving revision 1.5
diff -u -w -r1.5 display.spec
--- if1632/display.spec	1999/05/23 09:18:30	1.5
+++ if1632/display.spec	1999/11/16 14:03:35
@@ -22,6 +22,24 @@
 19  stub DeviceBitmapBits
 20  stub CreateBitmap
 21  stub DIBScreenBlt
+
+# ATI driver exports
+22 stub SetPalette
+23 stub GetPalette
+24 stub SetPaletteTranslate
+25 stub GetPaletteTranslate
+26 stub UpdateColors
+27 stub StretchBlt
+28 stub StrechDIBits
+29 stub SelectBitmap
+30 stub BitmapBits
+31 stub ReEnable
+# these conflict with ordinals 19-21, thus relocated to 39-41 !
+39 stub DIBBlt
+40 stub CreateDIBitmap
+41 stub DIBToDevice
+# ATI driver end
+
 90  stub Do_Polylines
 91  stub Do_Scanlines
 92  stub SaveScreenBitmap
@@ -29,7 +47,14 @@
 102 pascal16 SetCursor(ptr) DISPLAY_SetCursor
 103 pascal16 MoveCursor(word word) DISPLAY_MoveCursor
 104 pascal16 CheckCursor() DISPLAY_CheckCursor
+400 stub PExtTextOut
+401 stub PStrBlt
+402 stub RExtTextOut
+403 stub RStrBlt
+450 pascal GetDriverResourceID(word str) DISPLAY_GetDriverResourceID
 500 pascal16 UserRepaintDisable(word) UserRepaintDisable16
+501 stub ORDINAL_ONLY1
+502 stub ORDINAL_ONLY2
 600 stub InkReady
 601 stub GetLPDevice
 
Index: windows/display.c
===================================================================
RCS file: /home/wine/wine/windows/display.c,v
retrieving revision 1.16
diff -u -w -r1.16 display.c
--- windows/display.c	1999/07/04 16:09:20	1.16
+++ windows/display.c	1999/11/16 14:03:35
@@ -50,6 +50,25 @@
 }
 
 /***********************************************************************
+ *           DISPLAY_GetDriverResourceID                  (DISPLAY.450)
+ *
+ * Used by USER to check if driver contains better version of a builtin
+ * resource than USER.
+ * wQueriedResID is the ID USER asks about.
+ * lpsResName might often contain "OEMBIN".
+ * For now we just let USER use its own resource.
+ */
+DWORD WINAPI DISPLAY_GetDriverResourceID( WORD wQueriedResID, LPSTR lpsResName )
+{
+    FIXME("Return the display resource ID\n" );
+
+	if (wQueriedResID == 3)
+		return (DWORD)wQueriedResID/*FIXME resourceID*/;
+
+	return (DWORD)wQueriedResID;
+}
+
+/***********************************************************************
  *           UserRepaintDisable			(DISPLAY.500)
  */
 VOID WINAPI UserRepaintDisable16( BOOL16 disable )

--ELM942758003-13460-0_--

---
