From 49dc0b1e64022724cdb2b1990a5c138f424cb55c Mon Sep 17 00:00:00 2001 From: Brian Vincent Date: Fri, 15 Apr 2005 16:11:56 +0000 Subject: [PATCH] Add stub for DCICreatePrimary. --- dlls/dciman32/dciman32.spec | 2 +- dlls/dciman32/dciman_main.c | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/dlls/dciman32/dciman32.spec b/dlls/dciman32/dciman32.spec index 4a3927fb7ca..5a7aa7a7637 100644 --- a/dlls/dciman32/dciman32.spec +++ b/dlls/dciman32/dciman32.spec @@ -2,7 +2,7 @@ @ stdcall DCICloseProvider(long) @ stub DCICreateOffscreen @ stub DCICreateOverlay -@ stub DCICreatePrimary +@ stdcall DCICreatePrimary(long ptr) @ stub DCIDestroy @ stub DCIDraw @ stub DCIEndAccess diff --git a/dlls/dciman32/dciman_main.c b/dlls/dciman32/dciman_main.c index 2db2e2c3da5..f625ddaaacf 100644 --- a/dlls/dciman32/dciman_main.c +++ b/dlls/dciman32/dciman_main.c @@ -20,13 +20,15 @@ */ #include -#include +#include #include "windef.h" #include "winbase.h" #include "winerror.h" #include "wine/debug.h" +WINE_DEFAULT_DEBUG_CHANNEL(dciman); + /*********************************************************************** * DllEntryPoint (DCIMAN32.@) * @@ -56,3 +58,14 @@ 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; +}