urlmon: More ReportProgress implementation.
This commit is contained in:
parent
2e62330c67
commit
2afdc8f591
|
@ -453,12 +453,19 @@ static HRESULT WINAPI BPInternetProtocolSink_ReportProgress(IInternetProtocolSin
|
||||||
switch(ulStatusCode) {
|
switch(ulStatusCode) {
|
||||||
case BINDSTATUS_FINDINGRESOURCE:
|
case BINDSTATUS_FINDINGRESOURCE:
|
||||||
case BINDSTATUS_CONNECTING:
|
case BINDSTATUS_CONNECTING:
|
||||||
|
case BINDSTATUS_BEGINDOWNLOADDATA:
|
||||||
case BINDSTATUS_SENDINGREQUEST:
|
case BINDSTATUS_SENDINGREQUEST:
|
||||||
case BINDSTATUS_CACHEFILENAMEAVAILABLE:
|
case BINDSTATUS_CACHEFILENAMEAVAILABLE:
|
||||||
|
case BINDSTATUS_DIRECTBIND:
|
||||||
|
case BINDSTATUS_MIMETYPEAVAILABLE:
|
||||||
|
if(!This->protocol_sink)
|
||||||
|
return S_OK;
|
||||||
return IInternetProtocolSink_ReportProgress(This->protocol_sink,
|
return IInternetProtocolSink_ReportProgress(This->protocol_sink,
|
||||||
ulStatusCode, szStatusText);
|
ulStatusCode, szStatusText);
|
||||||
|
|
||||||
case BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE:
|
case BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE:
|
||||||
case BINDSTATUS_MIMETYPEAVAILABLE:
|
if(!This->protocol_sink)
|
||||||
|
return S_OK;
|
||||||
return IInternetProtocolSink_ReportProgress(This->protocol_sink,
|
return IInternetProtocolSink_ReportProgress(This->protocol_sink,
|
||||||
BINDSTATUS_MIMETYPEAVAILABLE, szStatusText);
|
BINDSTATUS_MIMETYPEAVAILABLE, szStatusText);
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue