Partager via


ReportProgress method

Reports progress made during a state operation.

Syntax

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

Parameters

  • 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.

Remarks

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.