Module: wine
Branch: master
Commit: 6f95257b8bfdbee1d077f3d7245049168857316c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6f95257b8bfdbee1d077f3d72…
Author: Jacek Caban <jacek(a)codeweavers.com>
Date: Sat Jan 25 18:21:44 2014 +0100
wmp: Added typelib.
---
configure | 2 +-
configure.ac | 2 +-
dlls/wmp/Makefile.in | 2 ++
dlls/wmp/wmp_typelib.idl | 21 +++++++++++++++++++++
4 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index e3b45e2..312c19f 100755
--- a/configure
+++ b/configure
@@ -17103,7 +17103,7 @@ wine_fn_config_test dlls/wldap32/tests wldap32_test
wine_fn_config_dll wmi enable_wmi
wine_fn_config_dll wmiutils enable_wmiutils clean
wine_fn_config_test dlls/wmiutils/tests wmiutils_test
-wine_fn_config_dll wmp enable_wmp
+wine_fn_config_dll wmp enable_wmp clean
wine_fn_config_dll wmvcore enable_wmvcore
wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
wine_fn_config_dll wow32 enable_win16 implib
diff --git a/configure.ac b/configure.ac
index 7744044..fbfbb5c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3226,7 +3226,7 @@ WINE_CONFIG_TEST(dlls/wldap32/tests)
WINE_CONFIG_DLL(wmi)
WINE_CONFIG_DLL(wmiutils,,[clean])
WINE_CONFIG_TEST(dlls/wmiutils/tests)
-WINE_CONFIG_DLL(wmp)
+WINE_CONFIG_DLL(wmp,,[clean])
WINE_CONFIG_DLL(wmvcore)
WINE_CONFIG_DLL(wnaspi32,,[implib])
WINE_CONFIG_DLL(wow32,enable_win16,[implib])
diff --git a/dlls/wmp/Makefile.in b/dlls/wmp/Makefile.in
index 7d34324..36b78ed 100644
--- a/dlls/wmp/Makefile.in
+++ b/dlls/wmp/Makefile.in
@@ -2,3 +2,5 @@ MODULE = wmp.dll
C_SRCS = \
wmp_main.c
+
+IDL_SRCS = wmp_typelib.idl
diff --git a/dlls/wmp/wmp_typelib.idl b/dlls/wmp/wmp_typelib.idl
new file mode 100644
index 0000000..2c40b68
--- /dev/null
+++ b/dlls/wmp/wmp_typelib.idl
@@ -0,0 +1,21 @@
+/*
+ * Copyright 2014 Jacek Caban for CodeWeavers
+ *
+ * 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 regtypelib
+
+#include "wmp.idl"
Module: wine
Branch: master
Commit: d57ccd77ec74d98a223e0c725b354661e98f36a7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d57ccd77ec74d98a223e0c725…
Author: Jacek Caban <jacek(a)codeweavers.com>
Date: Sat Jan 25 18:21:18 2014 +0100
include: Added wmp.idl.
---
include/Makefile.in | 1 +
include/wmp.idl | 42 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+)
diff --git a/include/Makefile.in b/include/Makefile.in
index 0d0dab6..7153467 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -124,6 +124,7 @@ PUBLIC_IDL_H_SRCS = \
wine/svcctl.idl \
winsxs.idl \
wmiutils.idl \
+ wmp.idl \
wmsbuffer.idl \
wmsdkidl.idl \
wpcapi.idl \
diff --git a/include/wmp.idl b/include/wmp.idl
new file mode 100644
index 0000000..86e507d
--- /dev/null
+++ b/include/wmp.idl
@@ -0,0 +1,42 @@
+/*
+ * Copyright 2014 Jacek Caban for CodeWeavers
+ *
+ * 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
+ */
+
+import "oaidl.idl";
+import "ocidl.idl";
+
+#ifndef __WIDL__
+#define threading(model)
+#define progid(str)
+#define vi_progid(str)
+#endif
+
+[
+ helpstring("Windows Media Player"),
+ version(1.0),
+ uuid(6bf52a50-394a-11d3-b153-00c04f79Faa6)
+]
+library WMPLib {
+ [
+ helpstring("Windows Media Player"),
+ threading(apartment),
+ progid("WMPlayer.OCX"),
+ uuid(6bf52a52-394a-11d3-b153-00c04f79faa6)
+ ]
+ coclass WindowsMediaPlayer
+ {}
+}