Misha Koshelev : urlmon: Implement HttpProtocol::Terminate.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jul 19 07:59:48 CDT 2007


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

Author: Misha Koshelev <mk144210 at bcm.edu>
Date:   Wed Jul 18 20:00:01 2007 -0500

urlmon: Implement HttpProtocol::Terminate.

---

 dlls/urlmon/http.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/dlls/urlmon/http.c b/dlls/urlmon/http.c
index d2d0241..6a8e603 100644
--- a/dlls/urlmon/http.c
+++ b/dlls/urlmon/http.c
@@ -633,8 +633,11 @@ static HRESULT WINAPI HttpProtocol_Abort(IInternetProtocol *iface, HRESULT hrRea
 static HRESULT WINAPI HttpProtocol_Terminate(IInternetProtocol *iface, DWORD dwOptions)
 {
     HttpProtocol *This = PROTOCOL_THIS(iface);
-    FIXME("(%p)->(%08x)\n", This, dwOptions);
-    return E_NOTIMPL;
+
+    TRACE("(%p)->(%08x)\n", This, dwOptions);
+    HTTPPROTOCOL_Close(This);
+
+    return S_OK;
 }
 
 static HRESULT WINAPI HttpProtocol_Suspend(IInternetProtocol *iface)




More information about the wine-cvs mailing list