From 5a60ebf89a0a51af95e0a766ca4a526a0494ba6f Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Tue, 11 Feb 2014 11:49:29 +0100 Subject: [PATCH] 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(+) create mode 100644 dlls/wmp/rsrc.rc create mode 100644 dlls/wmp/wmp.rgs diff --git a/dlls/wmp/Makefile.in b/dlls/wmp/Makefile.in index 47e7ce6ea72..6db31eb4110 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 00000000000..cc6c199a609 --- /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 + +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 00000000000..fa40fa7dee3 --- /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 + } +}