msdasql: Register MSDASQL interfaces.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
48cc6ce421
commit
a5cee97c7e
|
@ -5,3 +5,7 @@ EXTRADLLFLAGS = -Wb,--prefer-native
|
|||
|
||||
C_SRCS = \
|
||||
msdasql_main.c
|
||||
|
||||
RC_SRCS = msdasql.rc
|
||||
|
||||
IDL_SRCS = msdasql_classes.idl
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright 2018 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
|
||||
*/
|
||||
|
||||
/* @makedep: msdasql.rgs */
|
||||
2 WINE_REGISTRY msdasql.rgs
|
|
@ -0,0 +1,11 @@
|
|||
HKCR
|
||||
{
|
||||
NoRemove CLSID
|
||||
{
|
||||
NoRemove {c8b522cb-5cf3-11ce-ade5-00aa0044773d} = s 'MSDASQL'
|
||||
{
|
||||
val 'OLEDB_SERVICES' = d 4294967295
|
||||
'OLE DB Provider' = s 'WINE OLE DB Provider for ODBC Drivers'
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,35 @@
|
|||
/*
|
||||
* 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
|
||||
|
||||
[
|
||||
progid("MSDASQL.1"),
|
||||
vi_progid("MSDASQL"),
|
||||
threading(both),
|
||||
uuid(c8b522cb-5cf3-11ce-ade5-00aa0044773d)
|
||||
]
|
||||
coclass MSDASQL { }
|
||||
|
||||
[
|
||||
progid("MSDASQLEnumerator.1"),
|
||||
vi_progid("MSDASQLEnumerator"),
|
||||
threading(both),
|
||||
uuid(c8b522cd-5cf3-11ce-ade5-00aa0044773d)
|
||||
]
|
||||
coclass MSDASQLEnumerator { }
|
|
@ -26,6 +26,9 @@
|
|||
#include "rpcproxy.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
#include "initguid.h"
|
||||
#include "msdasql.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(msdasql);
|
||||
|
||||
static HRESULT WINAPI ClassFactory_QueryInterface(IClassFactory *iface, REFIID riid, void **ppv)
|
||||
|
|
Loading…
Reference in New Issue