Jacek Caban : mshtml: Added JSProtocolInfo::ParseUrl implementation.

Alexandre Julliard julliard at winehq.org
Wed Sep 9 09:56:01 CDT 2009


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Sep  8 22:28:00 2009 +0200

mshtml: Added JSProtocolInfo::ParseUrl implementation.

---

 dlls/mshtml/protocol.c |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/dlls/mshtml/protocol.c b/dlls/mshtml/protocol.c
index b25bf94..2ca5c8c 100644
--- a/dlls/mshtml/protocol.c
+++ b/dlls/mshtml/protocol.c
@@ -953,9 +953,21 @@ static HRESULT WINAPI JSProtocolInfo_ParseUrl(IInternetProtocolInfo *iface, LPCW
         PARSEACTION ParseAction, DWORD dwParseFlags, LPWSTR pwzResult, DWORD cchResult,
         DWORD* pcchResult, DWORD dwReserved)
 {
-    FIXME("%p)->(%s %d %x %p %d %p %d)\n", iface, debugstr_w(pwzUrl), ParseAction,
+    TRACE("%p)->(%s %d %x %p %d %p %d)\n", iface, debugstr_w(pwzUrl), ParseAction,
           dwParseFlags, pwzResult, cchResult, pcchResult, dwReserved);
-    return E_NOTIMPL;
+
+    switch(ParseAction) {
+    case PARSE_SECURITY_URL:
+        FIXME("PARSE_SECURITY_URL\n");
+        return E_NOTIMPL;
+    case PARSE_DOMAIN:
+        FIXME("PARSE_DOMAIN\n");
+        return E_NOTIMPL;
+    default:
+        return INET_E_DEFAULT_ACTION;
+    }
+
+    return S_OK;
 }
 
 static HRESULT WINAPI JSProtocolInfo_QueryInfo(IInternetProtocolInfo *iface, LPCWSTR pwzUrl,




More information about the wine-cvs mailing list