DCIMAN32: stub for DCICreatePrimary
Brian Vincent
vinn at theshell.com
Thu Apr 14 01:00:50 CDT 2005
Thanks to Mike M. for showing me some debug stuff.
ChangeLog:
add stub for DCICreatePrimary
Index: dciman32.spec
===================================================================
RCS file: /home/wine/wine/dlls/dciman32/dciman32.spec,v
retrieving revision 1.12
diff -u -u -r1.12 dciman32.spec
--- dciman32.spec 3 Jan 2005 20:47:48 -0000 1.12
+++ dciman32.spec 14 Apr 2005 05:47:28 -0000
@@ -2,7 +2,7 @@
@ stdcall DCICloseProvider(long)
@ stub DCICreateOffscreen
@ stub DCICreateOverlay
-@ stub DCICreatePrimary
+@ stdcall DCICreatePrimary(long ptr)
@ stub DCIDestroy
@ stub DCIDraw
@ stub DCIEndAccess
Index: dciman_main.c
===================================================================
RCS file: /home/wine/wine/dlls/dciman32/dciman_main.c,v
retrieving revision 1.8
diff -u -u -r1.8 dciman_main.c
--- dciman_main.c 15 Dec 2004 10:52:57 -0000 1.8
+++ dciman_main.c 14 Apr 2005 05:47:28 -0000
@@ -20,13 +20,15 @@
*/
#include <stdarg.h>
-#include <stdio.h>
+#include <stdio.h>
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "wine/debug.h"
+WINE_DEFAULT_DEBUG_CHANNEL(dciman);
+
/***********************************************************************
* DllEntryPoint (DCIMAN32.@)
*
@@ -54,5 +56,16 @@
void WINAPI
DCICloseProvider(HDC hdc) {
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return;
+}
+
+/**************************************************************************
+ * DCICreatePrimary (DCIMAN32.@)
+ */
+void WINAPI
+DCICreatePrimary(HDC hdc, LPVOID pDciSurfaceInfo)
+{
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ FIXME("%p %p\n", hdc, pDciSurfaceInfo);
return;
}
More information about the wine-patches
mailing list