[ros-diffs] [tkreuzer] 40072: Remove unused DriverFunction and GDIBdyToHdr

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Tue Mar 17 05:28:04 CET 2009


Author: tkreuzer
Date: Tue Mar 17 07:28:03 2009
New Revision: 40072

URL: http://svn.reactos.org/svn/reactos?rev=40072&view=rev
Log:
Remove unused DriverFunction and GDIBdyToHdr

Modified:
    trunk/reactos/subsystems/win32/win32k/eng/surface.c

Modified: trunk/reactos/subsystems/win32/win32k/eng/surface.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/eng/surface.c?rev=40072&r1=40071&r2=40072&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/eng/surface.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/eng/surface.c [iso-8859-1] Tue Mar 17 07:28:03 2009
@@ -503,20 +503,6 @@
     return hsurf;
 }
 
-PFN FASTCALL DriverFunction(DRVENABLEDATA *DED, ULONG DriverFunc)
-{
-    ULONG i;
-
-    for (i=0; i<DED->c; i++)
-    {
-        if (DED->pdrvfn[i].iFunc == DriverFunc)
-        {
-            return DED->pdrvfn[i].pfn;
-        }
-    }
-    return NULL;
-}
-
 /*
  * @implemented
  */
@@ -609,10 +595,6 @@
     return FillSolid(pso, Rect, iColor);
 }
 
-#define GDIBdyToHdr(body)                                                      \
-  ((PGDIOBJHDR)(body) - 1)
-
-
 /*
  * @implemented
  */



More information about the Ros-diffs mailing list