move dummy api / old api, that does not do anything to historic.c, they are left...
authorMagnus Olsen <magnus@greatlord.com>
Fri, 31 Aug 2007 15:49:19 +0000 (15:49 +0000)
committerMagnus Olsen <magnus@greatlord.com>
Fri, 31 Aug 2007 15:49:19 +0000 (15:49 +0000)
follow api moves from stubs.c to historic.c
GdiPlayDCScript, GdiPlayJournal, GdiPlayScript, GdiConvertBitmap, GdiConvertBrush, GdiConvertDC, GdiConvertFont, GdiConvertPalette, GdiConvertRegion, GdiSetAttrs, GdiSetServerAttr.

svn path=/trunk/; revision=28711

reactos/dll/win32/gdi32/gdi32.rbuild
reactos/dll/win32/gdi32/misc/historic.c [new file with mode: 0644]
reactos/dll/win32/gdi32/misc/stubs.c

index f36b5fd..0c5408a 100644 (file)
@@ -20,6 +20,7 @@
        <directory name="misc">
                <file>heap.c</file>
                <file>gdientry.c</file>
+               <file>historic.c</file>
                <file>misc.c</file>
                <file>stubs.c</file>
                <file>stubsa.c</file>
diff --git a/reactos/dll/win32/gdi32/misc/historic.c b/reactos/dll/win32/gdi32/misc/historic.c
new file mode 100644 (file)
index 0000000..2438645
--- /dev/null
@@ -0,0 +1,143 @@
+/* $Id: stubs.c 28709 2007-08-31 15:09:51Z greatlrd $
+ *
+ * reactos/lib/gdi32/misc/historic.c
+ *
+ * GDI32.DLL Stubs
+ *
+ * Api that does basic nothing, but is here for backwords compatible with older windows 
+ *
+ */
+
+#include "precomp.h"
+
+/*
+ * @implemented
+ */
+BOOL
+STDCALL
+GdiPlayDCScript(DWORD a0,
+                DWORD a1,
+                DWORD a2,
+                DWORD a3,
+                DWORD a4,
+                DWORD a5)
+{
+    /* FIXME fix the prototype right */
+    return FALSE;
+}
+
+/*
+ * @implemented
+ */
+BOOL
+STDCALL
+GdiPlayJournal(DWORD a0,
+               DWORD a1,
+               DWORD a2,
+               DWORD a3,
+               DWORD a4)
+{
+    /* FIXME fix the prototype right */
+    return FALSE;
+}
+
+/*
+ * @implemented
+ */
+BOOL
+STDCALL
+GdiPlayScript(DWORD a0,
+              DWORD a1,
+              DWORD a2,
+              DWORD a3,
+              DWORD a4,
+              DWORD a5,
+              DWORD a6)
+{
+    /* FIXME fix the prototype right */
+    return FALSE;
+}
+
+/*
+ * @implemented
+ */
+HBITMAP 
+STDCALL
+GdiConvertBitmap(HBITMAP hbm)
+{
+    return hbm;
+}
+
+/*
+ * @implemented
+ */
+HBRUSH
+STDCALL
+GdiConvertBrush(HBRUSH hbr)
+{
+    return hbr;
+}
+
+/*
+ * @implemented
+ */
+HDC 
+STDCALL
+GdiConvertDC(HDC hdc)
+{
+    return hdc;
+}
+
+/*
+ * @implemented
+ */
+HFONT 
+STDCALL
+GdiConvertFont(HFONT hfont)
+{
+    return hfont;
+}
+
+/*
+ * @implemented
+ */
+HPALETTE 
+STDCALL
+GdiConvertPalette(HPALETTE hpal)
+{
+    return hpal;
+}
+
+/*
+ * @implemented
+ */
+HRGN
+STDCALL
+GdiConvertRegion(HRGN hregion)
+{
+    return hregion;
+}
+
+/*
+ * @implemented
+ */
+BOOL
+STDCALL
+GdiSetAttrs(HDC hdc)
+{
+    return TRUE;
+}
+
+/*
+ * @implemented
+ */
+VOID 
+STDCALL
+GdiSetServerAttr(HDC hdc,DWORD attr)
+{
+    /* it does do nothing */
+}
+
+
+
+
index d56a6f0..5df604b 100644 (file)
@@ -1108,60 +1108,13 @@ wglSwapLayerBuffers(
  */
 
 
-/*
- * @implemented
- */
-BOOL
-STDCALL
-GdiPlayDCScript(
-       DWORD   a0,
-       DWORD   a1,
-       DWORD   a2,
-       DWORD   a3,
-       DWORD   a4,
-       DWORD   a5
-       )
-{
-    /* FIXME fix the prototype right */
-    return FALSE;
-}
 
 
-/*
- * @implemented
- */
-BOOL
-STDCALL
-GdiPlayJournal(
-       DWORD   a0,
-       DWORD   a1,
-       DWORD   a2,
-       DWORD   a3,
-       DWORD   a4
-       )
-{
-    /* FIXME fix the prototype right */
-    return FALSE;
-}
 
 
-/*
- * @implemented
- */
-BOOL
-STDCALL
-GdiPlayScript(
-       DWORD   a0,
-       DWORD   a1,
-       DWORD   a2,
-       DWORD   a3,
-       DWORD   a4,
-       DWORD   a5,
-       DWORD   a6)
-{
-    /* FIXME prototype */
-    return FALSE;
-}
+
+
+
 
 
 /*
@@ -1385,66 +1338,6 @@ GdiConvertAndCheckDC(HDC hdc)
        return 0;
 }
 
-/*
- * @implemented
- */
-HBITMAP 
-STDCALL
-GdiConvertBitmap(HBITMAP hbm)
-{
-    return hbm;
-}
-
-/*
- * @implemented
- */
-HBRUSH
-STDCALL
-GdiConvertBrush(HBRUSH hbr)
-{
-    return hbr;
-}
-
-/*
- * @implemented
- */
-HDC 
-STDCALL
-GdiConvertDC(HDC hdc)
-{
-    return hdc;
-}
-
-/*
- * @implemented
- */
-HFONT 
-STDCALL
-GdiConvertFont(HFONT hfont)
-{
-    return hfont;
-}
-
-/*
- * @implemented
- */
-HPALETTE 
-STDCALL
-GdiConvertPalette(HPALETTE hpal)
-{
-    return hpal;
-}
-
-/*
- * @implemented
- */
-HRGN
-STDCALL
-GdiConvertRegion(HRGN hregion)
-{
-    return hregion;
-}
-
 /*
  * @unimplemented
  */
@@ -1565,20 +1458,6 @@ GdiIsPlayMetafileDC(HDC hdc)
        return 0;
 }
 
-/*
- * @implemented
- */
-BOOL
-STDCALL
-GdiSetAttrs(HDC hdc)
-{
-    return TRUE;
-}
-
-
-
-
-
 /*
  * @unimplemented
  */
@@ -1591,18 +1470,6 @@ GdiValidateHandle(HGDIOBJ hobj)
        return 0;
 }
 
-
-
-/*
- * @implemented
- */
-VOID 
-STDCALL
-GdiSetServerAttr(HDC hdc,DWORD attr)
-{
-    /* it does do nothing */
-}
-
 /*
  * @unimplemented
  */