From 48d393bdfef5655063a7fd98d56ed6acd79d9e11 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Sun, 4 Nov 2007 17:09:20 +0100 Subject: [PATCH] urlmon: Added https protocol class factory stub implementation. --- dlls/urlmon/http.c | 6 ++++++ dlls/urlmon/urlmon_main.c | 4 ++++ dlls/urlmon/urlmon_main.h | 1 + 3 files changed, 11 insertions(+) diff --git a/dlls/urlmon/http.c b/dlls/urlmon/http.c index b86dbef83a9..89bdec36032 100644 --- a/dlls/urlmon/http.c +++ b/dlls/urlmon/http.c @@ -943,3 +943,9 @@ HRESULT HttpProtocol_Construct(IUnknown *pUnkOuter, LPVOID *ppobj) return S_OK; } + +HRESULT HttpSProtocol_Construct(IUnknown *pUnkOuter, LPVOID *ppobj) +{ + FIXME("(%p %p)\n", pUnkOuter, ppobj); + return E_NOINTERFACE; +} diff --git a/dlls/urlmon/urlmon_main.c b/dlls/urlmon/urlmon_main.c index a8c2d5ae534..10d3d9587d7 100644 --- a/dlls/urlmon/urlmon_main.c +++ b/dlls/urlmon/urlmon_main.c @@ -181,6 +181,8 @@ static const ClassFactory FtpProtocolCF = { &ClassFactoryVtbl, FtpProtocol_Construct}; static const ClassFactory HttpProtocolCF = { &ClassFactoryVtbl, HttpProtocol_Construct}; +static const ClassFactory HttpSProtocolCF = + { &ClassFactoryVtbl, HttpSProtocol_Construct}; static const ClassFactory MkProtocolCF = { &ClassFactoryVtbl, MkProtocol_Construct}; static const ClassFactory SecurityManagerCF = @@ -198,6 +200,7 @@ struct object_creation_info static const WCHAR wszFile[] = {'f','i','l','e',0}; static const WCHAR wszFtp[] = {'f','t','p',0}; static const WCHAR wszHttp[] = {'h','t','t','p',0}; +static const WCHAR wszHttps[] = {'h','t','t','p','s',0}; static const WCHAR wszMk[] = {'m','k',0}; static const struct object_creation_info object_creation[] = @@ -205,6 +208,7 @@ static const struct object_creation_info object_creation[] = { &CLSID_FileProtocol, CLASSFACTORY(&FileProtocolCF), wszFile }, { &CLSID_FtpProtocol, CLASSFACTORY(&FtpProtocolCF), wszFtp }, { &CLSID_HttpProtocol, CLASSFACTORY(&HttpProtocolCF), wszHttp }, + { &CLSID_HttpSProtocol, CLASSFACTORY(&HttpSProtocolCF), wszHttps }, { &CLSID_MkProtocol, CLASSFACTORY(&MkProtocolCF), wszMk }, { &CLSID_InternetSecurityManager, CLASSFACTORY(&SecurityManagerCF), NULL }, { &CLSID_InternetZoneManager, CLASSFACTORY(&ZoneManagerCF), NULL } diff --git a/dlls/urlmon/urlmon_main.h b/dlls/urlmon/urlmon_main.h index 46ec6714b9f..6c2887e57c7 100644 --- a/dlls/urlmon/urlmon_main.h +++ b/dlls/urlmon/urlmon_main.h @@ -29,6 +29,7 @@ extern HRESULT SecManagerImpl_Construct(IUnknown *pUnkOuter, LPVOID *ppobj); extern HRESULT ZoneMgrImpl_Construct(IUnknown *pUnkOuter, LPVOID *ppobj); extern HRESULT FileProtocol_Construct(IUnknown *pUnkOuter, LPVOID *ppobj); extern HRESULT HttpProtocol_Construct(IUnknown *pUnkOuter, LPVOID *ppobj); +extern HRESULT HttpSProtocol_Construct(IUnknown *pUnkOuter, LPVOID *ppobj); extern HRESULT FtpProtocol_Construct(IUnknown *pUnkOuter, LPVOID *ppobj); extern HRESULT MkProtocol_Construct(IUnknown *pUnkOuter, LPVOID *ppobj);