IAMCopyCaptureFileProgress Interface

The IAMCopyCaptureFileProgress interface contains one method, Progress, which the ICaptureGraphBuilder::CopyCaptureFile method can call to receive information on the percentage complete of a copy operation.

Capture applications implement this method when they need to receive information on the percentage complete of a copy operation.

Use this interface when applications need to check the copying progress of a captured file.

Methods in Vtable Order

IUnknown methodsDescription
QueryInterface Retrieves pointers to supported interfaces.
AddRef Increments the reference count.
Release Decrements the reference count.
IAMCopyCaptureFileProgress methodsDescription
Progress Sends applications the progress (percentage complete) of a copy operation that the ICaptureGraphBuilder::CopyCaptureFile method is performing.

IAMCopyCaptureFileProgress::Progress

IAMCopyCaptureFileProgress Interface

Sends applications the progress (percentage complete) of a copy operation that the ICaptureGraphBuilder::CopyCaptureFile method is performing.

Syntax

HRESULT Progress(
  int iProgress
  );

Parameters

iProgress
[in] Percentage of copy complete between 0 and 100.

Return Value

Returns S_OK if successful or S_FALSE if the operation is aborted.

Remarks

The ICaptureGraphBuilder::CopyCaptureFile can call this method to inform applications of the copy operation's progress.

This method is called periodically while ICaptureGraphBuilder::CopyCaptureFile is running.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.