oledb32: Register typelib

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Mon Sep 17 04:51:03 CDT 2012


Hi,


Changelog:
     oledb32: Register typelib


Best Regards
  Alistair Leslie-Hughes
-------------- next part --------------
>From 0b3fe7178b448c0fdc8e5ca78bca0f0e4447ff83 Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Mon, 17 Sep 2012 13:58:17 +1000
Subject: [PATCH] Add typelib support
To: wine-patches <wine-patches at winehq.org>

---
 dlls/oledb32/Makefile.in         |    2 ++
 dlls/oledb32/oledb32_typelib.idl |   20 ++++++++++++++++++++
 include/msdasc.idl               |    2 +-
 3 files changed, 23 insertions(+), 1 deletion(-)
 create mode 100644 dlls/oledb32/oledb32_typelib.idl

diff --git a/dlls/oledb32/Makefile.in b/dlls/oledb32/Makefile.in
index c5c11e4..5c66a2c 100644
--- a/dlls/oledb32/Makefile.in
+++ b/dlls/oledb32/Makefile.in
@@ -10,4 +10,6 @@ IDL_I_SRCS = convert.idl
 
 IDL_R_SRCS = oledb32_classes.idl
 
+IDL_TLB_SRCS = oledb32_typelib.idl
+
 @MAKE_DLL_RULES@
diff --git a/dlls/oledb32/oledb32_typelib.idl b/dlls/oledb32/oledb32_typelib.idl
new file mode 100644
index 0000000..e47ab8e
--- /dev/null
+++ b/dlls/oledb32/oledb32_typelib.idl
@@ -0,0 +1,20 @@
+/*
+ * Typelib Classes for oledb32
+ *
+ * Copyright 2012 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 "msdasc.idl"
diff --git a/include/msdasc.idl b/include/msdasc.idl
index 1033516..ca879e8 100644
--- a/include/msdasc.idl
+++ b/include/msdasc.idl
@@ -64,7 +64,7 @@ library MSDASC
     [
       uuid(2206CDB0-19C1-11D1-89E0-00C04FD7A829),
       progid("MSDASC.MSDAINITIALIZE.1"),
-      vi_progid("MSDASC.MSDAINITIALIZE.1"),
+      vi_progid("MSDASC.MSDAINITIALIZE"),
     ]
     coclass MSDAINITIALIZE
     {
-- 
1.7.9.5



More information about the wine-patches mailing list