Alistair Leslie-Hughes : oledb32: Register typelib.

Alexandre Julliard julliard at winehq.org
Mon Sep 17 14:06:33 CDT 2012


Module: wine
Branch: master
Commit: 65a15809d57fd18a9283545f5b5652b07c479b4e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=65a15809d57fd18a9283545f5b5652b07c479b4e

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Mon Sep 17 13:58:17 2012 +1000

oledb32: Register typelib.

---

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

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
     {




More information about the wine-cvs mailing list