user32: rename a 16-Bit File (display)

Detlef Riekenberg wine.dev at web.de
Wed Jan 31 16:13:37 CST 2007


Janatorial: 16-Bit Separation


- user32: rename a 16-Bit File (display.c)

-- 
 
By by ... Detlef

-------------- next part --------------
>From 2f6f2ebc3a743771182f420c3b8429382f205d87 Mon Sep 17 00:00:00 2001
From: Detlef Riekenberg <wine.dev at web.de>
Date: Wed, 31 Jan 2007 23:11:53 +0100
Subject: [PATCH] user32: rename a 16-Bit File (display.c)
---
 dlls/user32/Makefile.in |    2 -
 dlls/user32/display.c   |   96 -----------------------------------------------
 dlls/user32/display16.c |   96 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 97 insertions(+), 97 deletions(-)

diff --git a/dlls/user32/Makefile.in b/dlls/user32/Makefile.in
index 231a6a0..0e9bca3 100644
--- a/dlls/user32/Makefile.in
+++ b/dlls/user32/Makefile.in
@@ -68,7 +68,7 @@ C_SRCS = \
 C_SRCS16 = \
 	bidi16.c \
 	comm16.c \
-	display.c \
+	display16.c \
 	hook16.c \
 	kbd16.c \
 	mouse16.c \
diff --git a/dlls/user32/display.c b/dlls/user32/display.c
deleted file mode 100644
index 4288738..0000000
--- a/dlls/user32/display.c
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- * DISPLAY driver
- *
- * Copyright 1998 Ulrich Weigand
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
- */
-
-#include <stdarg.h>
-
-#include "wine/debug.h"
-#include "windef.h"
-#include "winbase.h"
-#include "user_private.h"
-#include "wine/winuser16.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(cursor);
-
-#include "pshpack1.h"
-typedef struct tagCURSORINFO16
-{
-    WORD wXMickeys;
-    WORD wYMickeys;
-} CURSORINFO16, *PCURSORINFO16, *LPCURSORINFO16;
-#include "poppack.h"
-
-/***********************************************************************
- *           Inquire			(DISPLAY.101)
- */
-WORD WINAPI DISPLAY_Inquire(LPCURSORINFO16 lpCursorInfo)
-{
-    lpCursorInfo->wXMickeys = 1;
-    lpCursorInfo->wYMickeys = 1;
-
-    return sizeof(CURSORINFO16);
-}
-
-/***********************************************************************
- *           SetCursor			(DISPLAY.102)
- */
-VOID WINAPI DISPLAY_SetCursor( struct tagCURSORICONINFO *lpCursor )
-{
-    USER_Driver->pSetCursor(lpCursor);
-}
-
-/***********************************************************************
- *           MoveCursor			(DISPLAY.103)
- */
-VOID WINAPI DISPLAY_MoveCursor( WORD wAbsX, WORD wAbsY )
-{
-    USER_Driver->pSetCursorPos(wAbsX, wAbsY);
-}
-
-/***********************************************************************
- *           CheckCursor                  (DISPLAY.104)
- */
-VOID WINAPI DISPLAY_CheckCursor( void )
-{
-    TRACE("stub\n" );
-}
-
-/***********************************************************************
- *           GetDriverResourceID                  (DISPLAY.450)
- *
- * Used by USER to check if driver contains better version of a builtin
- * resource than USER (yes, our DISPLAY does !).
- * wQueriedResID is the ID USER asks about.
- * lpsResName does often contain "OEMBIN".
- */
-DWORD WINAPI DISPLAY_GetDriverResourceID( WORD wQueriedResID, LPSTR lpsResName )
-{
-	if (wQueriedResID == 3)
-		return (DWORD)1;
-
-	return (DWORD)wQueriedResID;
-}
-
-/***********************************************************************
- *           UserRepaintDisable			(DISPLAY.500)
- */
-VOID WINAPI UserRepaintDisable16( BOOL16 disable )
-{
-    FIXME("stub\n");
-}
diff --git a/dlls/user32/display16.c b/dlls/user32/display16.c
new file mode 100644
index 0000000..4288738
--- /dev/null
+++ b/dlls/user32/display16.c
@@ -0,0 +1,96 @@
+/*
+ * DISPLAY driver
+ *
+ * Copyright 1998 Ulrich Weigand
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#include <stdarg.h>
+
+#include "wine/debug.h"
+#include "windef.h"
+#include "winbase.h"
+#include "user_private.h"
+#include "wine/winuser16.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(cursor);
+
+#include "pshpack1.h"
+typedef struct tagCURSORINFO16
+{
+    WORD wXMickeys;
+    WORD wYMickeys;
+} CURSORINFO16, *PCURSORINFO16, *LPCURSORINFO16;
+#include "poppack.h"
+
+/***********************************************************************
+ *           Inquire			(DISPLAY.101)
+ */
+WORD WINAPI DISPLAY_Inquire(LPCURSORINFO16 lpCursorInfo)
+{
+    lpCursorInfo->wXMickeys = 1;
+    lpCursorInfo->wYMickeys = 1;
+
+    return sizeof(CURSORINFO16);
+}
+
+/***********************************************************************
+ *           SetCursor			(DISPLAY.102)
+ */
+VOID WINAPI DISPLAY_SetCursor( struct tagCURSORICONINFO *lpCursor )
+{
+    USER_Driver->pSetCursor(lpCursor);
+}
+
+/***********************************************************************
+ *           MoveCursor			(DISPLAY.103)
+ */
+VOID WINAPI DISPLAY_MoveCursor( WORD wAbsX, WORD wAbsY )
+{
+    USER_Driver->pSetCursorPos(wAbsX, wAbsY);
+}
+
+/***********************************************************************
+ *           CheckCursor                  (DISPLAY.104)
+ */
+VOID WINAPI DISPLAY_CheckCursor( void )
+{
+    TRACE("stub\n" );
+}
+
+/***********************************************************************
+ *           GetDriverResourceID                  (DISPLAY.450)
+ *
+ * Used by USER to check if driver contains better version of a builtin
+ * resource than USER (yes, our DISPLAY does !).
+ * wQueriedResID is the ID USER asks about.
+ * lpsResName does often contain "OEMBIN".
+ */
+DWORD WINAPI DISPLAY_GetDriverResourceID( WORD wQueriedResID, LPSTR lpsResName )
+{
+	if (wQueriedResID == 3)
+		return (DWORD)1;
+
+	return (DWORD)wQueriedResID;
+}
+
+/***********************************************************************
+ *           UserRepaintDisable			(DISPLAY.500)
+ */
+VOID WINAPI UserRepaintDisable16( BOOL16 disable )
+{
+    FIXME("stub\n");
+}
-- 
1.4.1



More information about the wine-patches mailing list