mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:08:19 +00:00
dcomp: Add DCompositionCreateDevice2().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50357 Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c55dbcdb9a
commit
c9a0006e4f
|
@ -3,6 +3,7 @@ MODULE = dcomp.dll
|
|||
EXTRADLLFLAGS = -mno-cygwin
|
||||
|
||||
C_SRCS = \
|
||||
device.c \
|
||||
main.c
|
||||
|
||||
RC_SRCS = version.rc
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
@ stub CreateEffectDescription
|
||||
@ stub DCompositionAttachMouseDragToHwnd
|
||||
@ stub DCompositionAttachMouseWheelToHwnd
|
||||
@ stub DCompositionCreateDevice2
|
||||
@ stdcall DCompositionCreateDevice2(ptr ptr ptr)
|
||||
@ stub DCompositionCreateDevice3
|
||||
@ stub DCompositionCreateDevice
|
||||
@ stub DCompositionCreateSurfaceHandle
|
||||
|
|
32
dlls/dcomp/device.c
Normal file
32
dlls/dcomp/device.c
Normal file
|
@ -0,0 +1,32 @@
|
|||
/*
|
||||
* Copyright 2020 Nikolay Sivov for CodeWeavers
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "objidl.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(dcomp);
|
||||
|
||||
HRESULT WINAPI DCompositionCreateDevice2(IUnknown *rendering_device, REFIID iid, void **device)
|
||||
{
|
||||
FIXME("%p, %s, %p.\n", rendering_device, debugstr_guid(iid), device);
|
||||
|
||||
return E_NOTIMPL;
|
||||
}
|
Loading…
Reference in a new issue