Jacek Caban : inetcomm: Register mhtml protocol handler.

Alexandre Julliard julliard at winehq.org
Wed Jan 25 13:18:52 CST 2017


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Wed Jan 25 12:05:32 2017 +0100

inetcomm: Register mhtml protocol handler.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/inetcomm/Makefile.in  |  2 ++
 dlls/inetcomm/inetcomm.idl |  7 +++++++
 dlls/inetcomm/inetcomm.rc  | 20 ++++++++++++++++++++
 dlls/inetcomm/inetcomm.rgs | 13 +++++++++++++
 4 files changed, 42 insertions(+)

diff --git a/dlls/inetcomm/Makefile.in b/dlls/inetcomm/Makefile.in
index d00aa67..df25a68 100644
--- a/dlls/inetcomm/Makefile.in
+++ b/dlls/inetcomm/Makefile.in
@@ -11,4 +11,6 @@ C_SRCS = \
 	pop3transport.c \
 	smtptransport.c
 
+RC_SRCS = inetcomm.rc
+
 IDL_SRCS = inetcomm.idl
diff --git a/dlls/inetcomm/inetcomm.idl b/dlls/inetcomm/inetcomm.idl
index 03cd20a..ea4d716 100644
--- a/dlls/inetcomm/inetcomm.idl
+++ b/dlls/inetcomm/inetcomm.idl
@@ -124,3 +124,10 @@ coclass IPropFindRequest { interface IPropFindRequest; }
     uuid(ea678830-235d-11d2-a8b6-0000f8084f96)
 ]
 coclass IPropPatchRequest { interface IPropPatchRequest; }
+
+[
+    helpstring("MHTML Asynchronous Pluggable Protocol Handler"),
+    threading(both),
+    uuid(05300401-bcbc-11d0-85e3-00c04fd85ab4)
+]
+coclass MimeHtmlProtocol { interface IInternetProtocol; }
diff --git a/dlls/inetcomm/inetcomm.rc b/dlls/inetcomm/inetcomm.rc
new file mode 100644
index 0000000..94f51ce
--- /dev/null
+++ b/dlls/inetcomm/inetcomm.rc
@@ -0,0 +1,20 @@
+/*
+ * Copyright 2016 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
+ */
+
+/* @makedep: inetcomm.rgs */
+1 WINE_REGISTRY inetcomm.rgs
diff --git a/dlls/inetcomm/inetcomm.rgs b/dlls/inetcomm/inetcomm.rgs
new file mode 100644
index 0000000..dbbae08
--- /dev/null
+++ b/dlls/inetcomm/inetcomm.rgs
@@ -0,0 +1,13 @@
+HKCR
+{
+    NoRemove PROTOCOLS
+    {
+        NoRemove Handler
+        {
+            ForceRemove mhtml = s 'MHTML Asynchronous Pluggable Protocol Handler'
+            {
+                val CLSID = s '{05300401-bcbc-11d0-85e3-00c04fd85ab4}'
+            }
+        }
+    }
+}




More information about the wine-cvs mailing list