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>
(cherry picked from commit 8eabf58dee)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-01-14 22:45:05 +03:00 committed by Michael Stefaniuc
parent 198c0579be
commit da2955cdb7
2 changed files with 9 additions and 1 deletions

View File

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

View File

@ -20,10 +20,18 @@
#include "windef.h"
#include "winbase.h"
#include "objidl.h"
#include "dxgi.h"
#include "wine/debug.h"
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)
{
FIXME("%p, %s, %p.\n", rendering_device, debugstr_guid(iid), device);