Some DirectDraw stubs
Mike Hearn
mh at codeweavers.com
Mon Mar 22 11:44:21 CST 2004
The parameters for these functions have not been verified as in native ddraw.dll
they are some kind of circular forward, it's rather confusing.
Mike Hearn <mh at codeweavers.com>
Add a couple of internal DirectDraw stubs.
Index: dlls/ddraw/ddraw.spec
===================================================================
RCS file: /cvstrees/crossover/office/wine/dlls/ddraw/ddraw.spec,v
retrieving revision 1.1.1.6
diff -u -r1.1.1.6 ddraw.spec
--- dlls/ddraw/ddraw.spec 14 Aug 2003 00:07:49 -0000 1.1.1.6
+++ dlls/ddraw/ddraw.spec 22 Mar 2004 17:36:23 -0000
@@ -19,6 +19,8 @@
@ stub HeapVidMemAllocAligned
@ stub InternalLock
@ stub InternalUnlock
+@ stdcall AcquireDDThreadLock()
+@ stdcall ReleaseDDThreadLock()
@ stub LateAllocateSurfaceMem
@ stub VidMemAlloc
@ stub VidMemAmountFree
Index: dlls/ddraw/main.c
===================================================================
RCS file: /cvstrees/crossover/office/wine/dlls/ddraw/main.c,v
retrieving revision 1.1.1.12
diff -u -r1.1.1.12 main.c
--- dlls/ddraw/main.c 29 Oct 2003 00:12:56 -0000 1.1.1.12
+++ dlls/ddraw/main.c 22 Mar 2004 17:36:24 -0000
@@ -648,3 +648,25 @@
pitch = width * (bpp / 8);
return pitch + (8 - (pitch % 8)) % 8;
}
+
+/*******************************************************************************
+ * AquireDDThreadLock [DDRAW.@] Undocumented.
+ *
+ * RETURNS
+ * Unknown
+ */
+void AcquireDDThreadLock()
+{
+ FIXME("stub\n");
+}
+
+/*******************************************************************************
+ * ReleaseDDThreadLock [DDRAW.@] Undocumented.
+ *
+ * RETURNS
+ * Unknown
+ */
+void ReleaseDDThreadLock()
+{
+ FIXME("stub\n");
+}
More information about the wine-patches
mailing list