Jacek Caban : wmp: Added missing registry entries for WindowsMediaPlayer coclass registration.

Alexandre Julliard julliard at winehq.org
Tue Feb 11 13:32:40 CST 2014


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Feb 11 11:49:29 2014 +0100

wmp: Added missing registry entries for WindowsMediaPlayer coclass registration.

---

 dlls/wmp/Makefile.in |    1 +
 dlls/wmp/rsrc.rc     |   24 ++++++++++++++++++++++++
 dlls/wmp/wmp.rgs     |   20 ++++++++++++++++++++
 3 files changed, 45 insertions(+)

diff --git a/dlls/wmp/Makefile.in b/dlls/wmp/Makefile.in
index 47e7ce6..6db31eb 100644
--- a/dlls/wmp/Makefile.in
+++ b/dlls/wmp/Makefile.in
@@ -4,4 +4,5 @@ C_SRCS = \
 	oleobj.c \
 	wmp_main.c
 
+RC_SRCS = rsrc.rc
 IDL_SRCS = wmp_typelib.idl
diff --git a/dlls/wmp/rsrc.rc b/dlls/wmp/rsrc.rc
new file mode 100644
index 0000000..cc6c199
--- /dev/null
+++ b/dlls/wmp/rsrc.rc
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2014 Jacek Caban
+ *
+ * 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 <windef.h>
+
+LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
+
+/* @makedep: wmp.rgs */
+2 WINE_REGISTRY wmp.rgs
diff --git a/dlls/wmp/wmp.rgs b/dlls/wmp/wmp.rgs
new file mode 100644
index 0000000..fa40fa7
--- /dev/null
+++ b/dlls/wmp/wmp.rgs
@@ -0,0 +1,20 @@
+HKCR
+{
+    NoRemove CLSID
+    {
+        '{6BF52A52-394A-11D3-B153-00C04F79FAA6}'
+        {
+            Control
+            Insertable
+            MiscStatus = s '0'
+            {
+                1 = s '131473'
+            }
+            Programmable
+        }
+    }
+    'WMPlayer.OCX.7' = s 'Windows Media Player'
+    {
+        Insertable
+    }
+}




More information about the wine-cvs mailing list