Commit f2cd7766 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

directmanipulation: Register the DirectManipulationManager and…

directmanipulation: Register the DirectManipulationManager and DirectManipulationSharedManager classes. Signed-off-by: 's avatarAlistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: 's avatarVijay Kiran Kamuju <infyquest@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 5161554b
...@@ -2,5 +2,7 @@ MODULE = directmanipulation.dll ...@@ -2,5 +2,7 @@ MODULE = directmanipulation.dll
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin
IDL_SRCS = directmanip.idl
C_SRCS = \ C_SRCS = \
directmanipulation.c directmanipulation.c
/*
* 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;
}
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "oleidl.h"
#include "rpcproxy.h"
#include "wine/debug.h" #include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(manipulation); WINE_DEFAULT_DEBUG_CHANNEL(manipulation);
...@@ -43,6 +45,16 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved) ...@@ -43,6 +45,16 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
return TRUE; 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) HRESULT WINAPI DllCanUnloadNow(void)
{ {
return S_FALSE; return S_FALSE;
......
...@@ -2,5 +2,5 @@ ...@@ -2,5 +2,5 @@
@ stdcall -private DllCanUnloadNow() @ stdcall -private DllCanUnloadNow()
@ stub DllGetActivationFactory @ stub DllGetActivationFactory
@ stdcall -private DllGetClassObject(ptr ptr ptr) @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stub DllRegisterServer() @ stdcall -private DllRegisterServer()
@ stub DllUnregisterServer() @ stdcall -private DllUnregisterServer()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment