MSHTML: Report BINDSTATUS_MIMETYPEAVAILABLE in AboutProtocol::Start
Jacek Caban
jack at itma.pwr.wroc.pl
Thu Aug 4 13:48:46 CDT 2005
This patch fixes some applications.
Changelog:
Report BINDSTATUS_MIMETYPEAVAILABLE in AboutProtocol::Start
-------------- next part --------------
Index: dlls/mshtml/protocol.c
===================================================================
RCS file: /home/wine/wine/dlls/mshtml/protocol.c,v
retrieving revision 1.7
diff -u -p -r1.7 protocol.c
--- dlls/mshtml/protocol.c 3 Aug 2005 10:56:26 -0000 1.7
+++ dlls/mshtml/protocol.c 4 Aug 2005 18:42:43 -0000
@@ -210,6 +210,7 @@ static HRESULT WINAPI AboutProtocol_Star
static const WCHAR html_end[] = {'<','/','H','T','M','L','>',0};
static const WCHAR wszBlank[] = {'b','l','a','n','k',0};
static const WCHAR wszAbout[] = {'a','b','o','u','t',':'};
+ static const WCHAR wszTextHtml[] = {'t','e','x','t','/','h','t','m','l',0};
/* NOTE:
* the about protocol seems not to work as I would expect. It creates html document
@@ -241,6 +242,8 @@ static HRESULT WINAPI AboutProtocol_Star
strcatW((LPWSTR)This->data, html_end);
This->cur = 0;
+
+ IInternetProtocolSink_ReportProgress(pOIProtSink, BINDSTATUS_MIMETYPEAVAILABLE, wszTextHtml);
IInternetProtocolSink_ReportData(pOIProtSink,
BSCF_FIRSTDATANOTIFICATION | BSCF_LASTDATANOTIFICATION | BSCF_DATAFULLYAVAILABLE,
More information about the wine-patches
mailing list