Partager via


ICeFileFilterSite::ReportProgress

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method is called by a file filter to report the progress of a file conversion.

Syntax

STDMETHODIMP ICeFileFilterSite::ReportProgress(
  UINT nPercent
);

Parameters

  • nPercent
    [in] Specifies the completed percentage of the operation. For example, if the file filter has converted 25 percent of a file, this parameter should be set to 25.

Return Value

None.

Remarks

ActiveSync displays a progress bar that indicates the progress of a file conversion, and uses the percentage provided by the filter to set the current position of the progress bar. The filter should periodically call ReportProgress as the conversion progresses.

Updating the progress bar takes a significant amount of time, so you might want to limit how often the application calls ReportProgress.

Requirements

Header replfilt.h
Library coredll.lib
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later