Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This method reports progress made during a state operation.

Syntax

HRESULT ReportProgress(
  ULONG 
ulStatusCode,
  LPCWSTR 
szStatusText
);

Parameters

ulStatusCode

[in] BINDSTATUS value that indicates the status of the state operation.

szStatusText

[in] String value that describes the status of the state operation.

Return Value

Returns S_OK if successful or E_FAIL if called after IInternetProtocolRoot::Abort.

Remarks

Asynchronous pluggable protocol handlers should not generate the BINDSTATUS_BEGINDOWNLOADDATA, BINDSTATUS_ENDDOWNLOADDATA, and BINDSTATUS_DOWNLOADINGDATA reports, because they are generated internally when the data arrives.

Requirements

Header urlmon.h, urlmon.idl
Library urlmon.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also