mtxdm: Implement GetDispenserManager.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0636249b0e
commit
3abb995842
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
MODULE = mtxdm.dll
|
||||
IMPORTS = uuid ole32
|
||||
|
||||
C_SRCS = \
|
||||
mtxdm_main.c
|
|
@ -0,0 +1 @@
|
|||
@ cdecl GetDispenserManager(ptr)
|
|
@ -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 <stdarg.h>
|
||||
|
||||
#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);
|
||||
}
|
|
@ -513,6 +513,7 @@ HEADER_SRCS = \
|
|||
msxml2did.h \
|
||||
msxml6did.h \
|
||||
msxmldid.h \
|
||||
mtxdm.h \
|
||||
nb30.h \
|
||||
ncrypt.h \
|
||||
ndrtypes.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
|
Loading…
Reference in New Issue