dcomp: Add DCompositionCreateDevice() stub.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50459
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-01-14 22:45:05 +03:00 committed by Alexandre Julliard
parent c9a0006e4f
commit 8eabf58dee
2 changed files with 9 additions and 1 deletions

View File

@ -15,7 +15,7 @@
@ stub DCompositionAttachMouseWheelToHwnd @ stub DCompositionAttachMouseWheelToHwnd
@ stdcall DCompositionCreateDevice2(ptr ptr ptr) @ stdcall DCompositionCreateDevice2(ptr ptr ptr)
@ stub DCompositionCreateDevice3 @ stub DCompositionCreateDevice3
@ stub DCompositionCreateDevice @ stdcall DCompositionCreateDevice(ptr ptr ptr)
@ stub DCompositionCreateSurfaceHandle @ stub DCompositionCreateSurfaceHandle
@ stub DeserializeEffectDescription @ stub DeserializeEffectDescription
@ stub DllCanUnloadNow @ stub DllCanUnloadNow

View File

@ -20,10 +20,18 @@
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "objidl.h" #include "objidl.h"
#include "dxgi.h"
#include "wine/debug.h" #include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(dcomp); WINE_DEFAULT_DEBUG_CHANNEL(dcomp);
HRESULT WINAPI DCompositionCreateDevice(IDXGIDevice *dxgi_device, REFIID iid, void **device)
{
FIXME("%p, %s, %p.\n", dxgi_device, debugstr_guid(iid), device);
return E_NOTIMPL;
}
HRESULT WINAPI DCompositionCreateDevice2(IUnknown *rendering_device, REFIID iid, void **device) HRESULT WINAPI DCompositionCreateDevice2(IUnknown *rendering_device, REFIID iid, void **device)
{ {
FIXME("%p, %s, %p.\n", rendering_device, debugstr_guid(iid), device); FIXME("%p, %s, %p.\n", rendering_device, debugstr_guid(iid), device);