directmanipulation: Register the DirectManipulationManager and DirectManipulationSharedManager classes.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2020-06-12 16:43:06 -05:00 committed by Alexandre Julliard
parent 5161554b9d
commit f2cd77668a
4 changed files with 54 additions and 2 deletions

View File

@ -2,5 +2,7 @@ MODULE = directmanipulation.dll
EXTRADLLFLAGS = -mno-cygwin
IDL_SRCS = directmanip.idl
C_SRCS = \
directmanipulation.c

View File

@ -0,0 +1,38 @@
/*
* Copyright 2019 Alistair Leslie-Hughes
*
* 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
*/
#pragma makedep register
[
uuid(54e211b6-3650-4f75-8334-fa359598e1c5),
threading(both)
]
coclass DirectManipulationManager
{
interface IDirectManipulationManager2;
[default] interface IDirectManipulationManager;
}
[
uuid(99793286-77cc-4b57-96db-3b354f6f9fb5),
threading(both)
]
coclass DirectManipulationSharedManager
{
interface IDirectManipulationManager2;
[default] interface IDirectManipulationManager;
}

View File

@ -20,6 +20,8 @@
#include "windef.h"
#include "winbase.h"
#include "oleidl.h"
#include "rpcproxy.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(manipulation);
@ -43,6 +45,16 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
return TRUE;
}
HRESULT WINAPI DllRegisterServer(void)
{
return __wine_register_resources( dm_instance );
}
HRESULT WINAPI DllUnregisterServer(void)
{
return __wine_unregister_resources( dm_instance );
}
HRESULT WINAPI DllCanUnloadNow(void)
{
return S_FALSE;

View File

@ -2,5 +2,5 @@
@ stdcall -private DllCanUnloadNow()
@ stub DllGetActivationFactory
@ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stub DllRegisterServer()
@ stub DllUnregisterServer()
@ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer()