Compartilhar via


IAMCopyCaptureFileProgress::Progress

 
Microsoft DirectShow 9.0

IAMCopyCaptureFileProgress::Progress

The Progress method is called periodically by the ICaptureGraphBuilder2::CopyCaptureFile method while it copies the file.

Syntax

  HRESULT Progress(
  int iProgress
);

Parameters

iProgress

[in]  Specifies the percentage of the copy operation that has completed, as a value between 0 and 100.

Return Values

Returns S_OK or an HRESULT error code.

Remarks

Applications typically use the value of iProgress to update a progress bar on the user interface.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also