diff --git a/reactos/subsystems/win32/win32k/eng/surface.c b/reactos/subsystems/win32/win32k/eng/surface.c index b5a446c6036..113568fa9f4 100644 --- a/reactos/subsystems/win32/win32k/eng/surface.c +++ b/reactos/subsystems/win32/win32k/eng/surface.c @@ -503,20 +503,6 @@ EngCreateDeviceSurface(IN DHSURF dhsurf, return hsurf; } -PFN FASTCALL DriverFunction(DRVENABLEDATA *DED, ULONG DriverFunc) -{ - ULONG i; - - for (i=0; ic; i++) - { - if (DED->pdrvfn[i].iFunc == DriverFunc) - { - return DED->pdrvfn[i].pfn; - } - } - return NULL; -} - /* * @implemented */ @@ -609,10 +595,6 @@ EngEraseSurface(SURFOBJ *pso, return FillSolid(pso, Rect, iColor); } -#define GDIBdyToHdr(body) \ - ((PGDIOBJHDR)(body) - 1) - - /* * @implemented */