diff --git a/configure b/configure index e4b9dd2f2bc..b9be11d0a14 100755 --- a/configure +++ b/configure @@ -1332,6 +1332,7 @@ enable_msxml2 enable_msxml3 enable_msxml4 enable_msxml6 +enable_mtxdm enable_ncrypt enable_nddeapi enable_ndis_sys @@ -18213,6 +18214,7 @@ wine_fn_config_dll msxml3 enable_msxml3 clean wine_fn_config_test dlls/msxml3/tests msxml3_test clean wine_fn_config_dll msxml4 enable_msxml4 clean wine_fn_config_dll msxml6 enable_msxml6 clean +wine_fn_config_dll mtxdm enable_mtxdm wine_fn_config_dll ncrypt enable_ncrypt wine_fn_config_dll nddeapi enable_nddeapi implib wine_fn_config_dll ndis.sys enable_ndis_sys diff --git a/configure.ac b/configure.ac index a2fc66d36ca..1a5b0de0e35 100644 --- a/configure.ac +++ b/configure.ac @@ -3247,6 +3247,7 @@ WINE_CONFIG_DLL(msxml3,,[clean]) WINE_CONFIG_TEST(dlls/msxml3/tests,[clean]) WINE_CONFIG_DLL(msxml4,,[clean]) WINE_CONFIG_DLL(msxml6,,[clean]) +WINE_CONFIG_DLL(mtxdm) WINE_CONFIG_DLL(ncrypt) WINE_CONFIG_DLL(nddeapi,,[implib]) WINE_CONFIG_DLL(ndis.sys) diff --git a/dlls/mtxdm/Makefile.in b/dlls/mtxdm/Makefile.in new file mode 100644 index 00000000000..63a99b6302f --- /dev/null +++ b/dlls/mtxdm/Makefile.in @@ -0,0 +1,5 @@ +MODULE = mtxdm.dll +IMPORTS = uuid ole32 + +C_SRCS = \ + mtxdm_main.c diff --git a/dlls/mtxdm/mtxdm.spec b/dlls/mtxdm/mtxdm.spec new file mode 100644 index 00000000000..4aad62f8613 --- /dev/null +++ b/dlls/mtxdm/mtxdm.spec @@ -0,0 +1 @@ +@ cdecl GetDispenserManager(ptr) diff --git a/dlls/mtxdm/mtxdm_main.c b/dlls/mtxdm/mtxdm_main.c new file mode 100644 index 00000000000..9b7e1dfe5c9 --- /dev/null +++ b/dlls/mtxdm/mtxdm_main.c @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2017 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 + */ + +#include "config.h" + +#include + +#include "windef.h" +#include "winbase.h" +#include "comsvcs.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(comsvcs); + + +HRESULT CDECL GetDispenserManager(IDispenserManager **dispenser) +{ + TRACE("%p\n", dispenser); + + return CoCreateInstance( &CLSID_DispenserManager, NULL, CLSCTX_ALL, &IID_IDispenserManager, (void**)dispenser); +} diff --git a/include/Makefile.in b/include/Makefile.in index 2384c93d8c4..f9cb7b49dc4 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -513,6 +513,7 @@ HEADER_SRCS = \ msxml2did.h \ msxml6did.h \ msxmldid.h \ + mtxdm.h \ nb30.h \ ncrypt.h \ ndrtypes.h \ diff --git a/include/mtxdm.h b/include/mtxdm.h new file mode 100644 index 00000000000..94098ea1011 --- /dev/null +++ b/include/mtxdm.h @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2017 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 + */ +#ifndef __MTXDM_H__ +#define __MTXDM_H__ + +#include "comsvcs.h" + +#ifdef __cplusplus +extern "C" { +#endif + +HRESULT CDECL GetDispenserManager(IDispenserManager**); + +#ifdef __cplusplus +} +#endif + + +#endif