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; +}