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/dd…
==============================================================================
--- 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/dd…
==============================================================================
--- 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;
-
-}
+
/*