ReportProgress method

Reports progress made during a state operation.


HRESULT retVal = object.ReportProgress(ulStatusCode, szStatusText);


  • ulStatusCode [in]
    Type: unsigned long

    A BINDSTATUS value that indicates the status of the state operation.

  • szStatusText [in]
    Type: LPCWSTR

    A string value that describes the status of the state operation.


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