[ros-diffs] [greatlrd] 26727: start reimplement createsurface

greatlrd at svn.reactos.org greatlrd at svn.reactos.org
Fri Jun 8 17:41:10 CEST 2007


Author: greatlrd
Date: Sat May 12 19:50:26 2007
New Revision: 26727

URL: http://svn.reactos.org/svn/reactos?rev=26727&view=rev
Log:
start reimplement createsurface

Modified:
    trunk/reactos/dll/directx/ddraw/Ddraw/ddraw_main.c
    trunk/reactos/dll/directx/ddraw/Ddraw/ddraw_stubs.c

Modified: trunk/reactos/dll/directx/ddraw/Ddraw/ddraw_main.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ddraw/Ddraw/ddraw_main.c?rev=26727&r1=26726&r2=26727&view=diff
==============================================================================
--- trunk/reactos/dll/directx/ddraw/Ddraw/ddraw_main.c (original)
+++ trunk/reactos/dll/directx/ddraw/Ddraw/ddraw_main.c Sat May 12 19:50:26 2007
@@ -116,6 +116,22 @@
     return DD_OK;
 }
 
+
+/*
+ */
+HRESULT WINAPI Main_DirectDraw_CreateSurface (LPDIRECTDRAW7 iface, LPDDSURFACEDESC2 pDDSD,
+                                            LPDIRECTDRAWSURFACE7 *ppSurf, IUnknown *pUnkOuter)
+{
+
+  DX_WINDBG_trace();
+  EnterCriticalSection(&ddcs);
+
+  /* code here */
+
+  LeaveCriticalSection(&ddcs);
+
+  DX_STUB;
+}
 
 /*
  */

Modified: trunk/reactos/dll/directx/ddraw/Ddraw/ddraw_stubs.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ddraw/Ddraw/ddraw_stubs.c?rev=26727&r1=26726&r2=26727&view=diff
==============================================================================
--- trunk/reactos/dll/directx/ddraw/Ddraw/ddraw_stubs.c (original)
+++ trunk/reactos/dll/directx/ddraw/Ddraw/ddraw_stubs.c Sat May 12 19:50:26 2007
@@ -36,19 +36,7 @@
 }
 
 
-/*
- * stub
- * Status not done
- */
-HRESULT WINAPI Main_DirectDraw_CreateSurface (LPDIRECTDRAW7 iface, LPDDSURFACEDESC2 pDDSD,
-                                            LPDIRECTDRAWSURFACE7 *ppSurf, IUnknown *pUnkOuter)
-{
-
-  DX_WINDBG_trace();
-
-   DX_STUB;
-
-}
+
 
 
 /*




More information about the Ros-diffs mailing list