[ros-diffs] [greatlrd] 33056: take pfnDxDdCanCreateSurface offline for now

greatlrd at svn.reactos.org greatlrd at svn.reactos.org
Sun Apr 20 15:08:25 CEST 2008


Author: greatlrd
Date: Sun Apr 20 08:08:25 2008
New Revision: 33056

URL: http://svn.reactos.org/svn/reactos?rev=33056&view=rev
Log:
take pfnDxDdCanCreateSurface offline for now

Modified:
    trunk/reactos/subsystems/win32/win32k/ntddraw/dd.c

Modified: trunk/reactos/subsystems/win32/win32k/ntddraw/dd.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntddraw/dd.c?rev=33056&r1=33055&r2=33056&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntddraw/dd.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntddraw/dd.c [iso-8859-1] Sun Apr 20 08:08:25 2008
@@ -29,11 +29,11 @@
    
     if (pfnDdCreateSurface == NULL)
     {
-        DPRINT1("Warring no pfnDdCreateSurface");
+        DPRINT1("Warring no pfnDdCreateSurface\n");
         return DDHAL_DRIVER_NOTHANDLED;
     }
 
-    DPRINT1("Calling on dxg.sys pfnDdCreateSurface");
+    DPRINT1("Calling on dxg.sys pfnDdCreateSurface\n");
     return pfnDdCreateSurface(hDirectDrawLocal,hSurface,puSurfaceDescription,puSurfaceGlobalData,
                               puSurfaceLocalData,puSurfaceMoreData,puCreateSurfaceData,puhSurface);
 }
@@ -50,11 +50,11 @@
    
     if (pfnDdWaitForVerticalBlank == NULL)
     {
-        DPRINT1("Warring no pfnDdWaitForVerticalBlank");
+        DPRINT1("Warring no pfnDdWaitForVerticalBlank\n");
         return DDHAL_DRIVER_NOTHANDLED;
     }
 
-    DPRINT1("Calling on dxg.sys pfnDdWaitForVerticalBlank");
+    DPRINT1("Calling on dxg.sys pfnDdWaitForVerticalBlank\n");
     return pfnDdWaitForVerticalBlank(hDirectDraw, puWaitForVerticalBlankData);
 }
 
@@ -70,12 +70,15 @@
     
     if (pfnDdCanCreateSurface == NULL)
     {
-        DPRINT1("Warring no pfnDdCanCreateSurface");
+        DPRINT1("Warring no pfnDdCanCreateSurface\n");
         return DDHAL_DRIVER_NOTHANDLED;
     }
 
-    DPRINT1("Calling on dxg.sys DdCanCreateSurface");
-    return pfnDdCanCreateSurface(hDirectDrawLocal,puCanCreateSurfaceData);
+    DPRINT1("Calling on dxg.sys DdCanCreateSurface\n");
+    DPRINT1("FIXME it crash when it trying call on pfnDdCanCreateSurface\n");
+    /* FIXME it crash when it trying call on pfnDdCanCreateSurface */
+    // return pfnDdCanCreateSurface(hDirectDrawLocal,puCanCreateSurfaceData);
+    return 0;
 }
 
 /************************************************************************/
@@ -90,11 +93,11 @@
    
     if (pfnDdGetScanLine == NULL)
     {
-        DPRINT1("Warring no pfnDdGetScanLine");
+        DPRINT1("Warring no pfnDdGetScanLine\n");
         return DDHAL_DRIVER_NOTHANDLED;
     }
 
-    DPRINT1("Calling on dxg.sys pfnDdGetScanLine");
+    DPRINT1("Calling on dxg.sys pfnDdGetScanLine\n");
     DPRINT1("FIXME it crash when it trying call on pfnDdGetScanLine\n");
     /* FIXME it crash when it trying call on pfnDdGetScanLine */
     // return pfnDdGetScanLine(hDirectDrawLocal,puGetScanLineData);
@@ -120,11 +123,11 @@
    
     if (pfnDdCreateSurfaceEx == NULL)
     {
-        DPRINT1("Warring no pfnDdCreateSurfaceEx");
+        DPRINT1("Warring no pfnDdCreateSurfaceEx\n");
         return DDHAL_DRIVER_NOTHANDLED;
     }
 
-    DPRINT1("Calling on dxg.sys pfnDdCreateSurfaceEx");
+    DPRINT1("Calling on dxg.sys pfnDdCreateSurfaceEx\n");
     return pfnDdCreateSurfaceEx(hDirectDraw,hSurface,dwSurfaceHandle);
 
 }



More information about the Ros-diffs mailing list