inetcomm: Register mhtml protocol handler.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2017-01-25 12:05:32 +01:00 committed by Alexandre Julliard
parent 0e8c7bece6
commit d5d9aa361a
4 changed files with 42 additions and 0 deletions

View File

@ -11,4 +11,6 @@ C_SRCS = \
pop3transport.c \
smtptransport.c
RC_SRCS = inetcomm.rc
IDL_SRCS = inetcomm.idl

View File

@ -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; }

20
dlls/inetcomm/inetcomm.rc Normal file
View File

@ -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

View File

@ -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}'
}
}
}
}