=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: mshtml: Add stub for QUERY_IS_CACHED_AND_USABLE_OFFLINE.
Alexandre Julliard
julliard at winehq.org
Wed Oct 12 14:31:17 CDT 2011
Module: wine
Branch: master
Commit: 296b79565502d83930da9d885d6df3eeb3e56fa7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=296b79565502d83930da9d885d6df3eeb3e56fa7
Author: André Hentschel <nerv at dawncrow.de>
Date: Tue Oct 11 19:14:20 2011 +0200
mshtml: Add stub for QUERY_IS_CACHED_AND_USABLE_OFFLINE.
---
dlls/mshtml/protocol.c | 3 +++
dlls/mshtml/tests/protocol.c | 1 +
include/urlmon.idl | 3 ++-
3 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/protocol.c b/dlls/mshtml/protocol.c
index 4304740..d9a008c 100644
--- a/dlls/mshtml/protocol.c
+++ b/dlls/mshtml/protocol.c
@@ -478,6 +478,9 @@ static HRESULT WINAPI AboutProtocolInfo_QueryInfo(IInternetProtocolInfo *iface,
case QUERY_USES_HISTORYFOLDER:
FIXME("Unsupported option QUERY_USES_HISTORYFOLDER\n");
return E_FAIL;
+ case QUERY_IS_CACHED_AND_USABLE_OFFLINE:
+ FIXME("Unsupported option QUERY_IS_CACHED_AND_USABLE_OFFLINE\n");
+ return E_NOTIMPL;
default:
return E_FAIL;
}
diff --git a/dlls/mshtml/tests/protocol.c b/dlls/mshtml/tests/protocol.c
index 07f424f..5825015 100644
--- a/dlls/mshtml/tests/protocol.c
+++ b/dlls/mshtml/tests/protocol.c
@@ -755,6 +755,7 @@ static void test_about_protocol(void)
case QUERY_IS_SECURE:
case QUERY_IS_SAFE:
case QUERY_USES_HISTORYFOLDER:
+ case QUERY_IS_CACHED_AND_USABLE_OFFLINE:
break;
default:
hres = IInternetProtocolInfo_QueryInfo(protocol_info, about_blank_url, i, 0,
diff --git a/include/urlmon.idl b/include/urlmon.idl
index a9d0791..a278be5 100644
--- a/include/urlmon.idl
+++ b/include/urlmon.idl
@@ -881,7 +881,8 @@ interface IInternetProtocolInfo : IUnknown
QUERY_USES_CACHE,
QUERY_IS_SECURE,
QUERY_IS_SAFE,
- QUERY_USES_HISTORYFOLDER
+ QUERY_USES_HISTORYFOLDER,
+ QUERY_IS_CACHED_AND_USABLE_OFFLINE
} QUERYOPTION;
HRESULT ParseUrl(
More information about the wine-cvs
mailing list