Nikolay Sivov : mf: Register file: scheme handler.

Alexandre Julliard julliard at winehq.org
Thu May 2 16:45:10 CDT 2019


Module: wine
Branch: master
Commit: 9e948c47f6c3d474eddbb026b88846bf393bd59e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=9e948c47f6c3d474eddbb026b88846bf393bd59e

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu May  2 17:09:08 2019 +0300

mf: Register file: scheme handler.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mf/Makefile.in |  2 ++
 dlls/mf/mf.rc       | 24 ++++++++++++++++++++++++
 dlls/mf/mf.rgs      | 19 +++++++++++++++++++
 3 files changed, 45 insertions(+)

diff --git a/dlls/mf/Makefile.in b/dlls/mf/Makefile.in
index 5e18ab4..3499a4a 100644
--- a/dlls/mf/Makefile.in
+++ b/dlls/mf/Makefile.in
@@ -8,3 +8,5 @@ C_SRCS = \
 	topology.c
 
 IDL_SRCS = mf.idl
+
+RC_SRCS = mf.rc
diff --git a/dlls/mf/mf.rc b/dlls/mf/mf.rc
new file mode 100644
index 0000000..90297b0
--- /dev/null
+++ b/dlls/mf/mf.rc
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2019 Nikolay Sivov 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
+ */
+
+#include "windef.h"
+
+LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
+
+/* @makedep: mf.rgs */
+1 WINE_REGISTRY mf.rgs
diff --git a/dlls/mf/mf.rgs b/dlls/mf/mf.rgs
new file mode 100644
index 0000000..f127df7
--- /dev/null
+++ b/dlls/mf/mf.rgs
@@ -0,0 +1,19 @@
+HKLM
+{
+    NoRemove 'Software'
+    {
+        NoRemove 'Microsoft'
+        {
+            NoRemove 'Windows Media Foundation'
+            {
+                NoRemove 'SchemeHandlers'
+                {
+                    'file:'
+                    {
+                        val '{477ec299-1421-4bdd-971f-7ccb933f21ad}' = s 'File Scheme Handler'
+                    }
+                }
+            }
+        }
+    }
+}




More information about the wine-cvs mailing list