PrApi: CaptureStatus

CaptureStatus

Returns the state of an image capture process started with the CaptureStart() method.

 Public Function CaptureStatus(
	  ByVal reqid As Long,
	  ByRef Status As Long ) As Boolean

Parameters

reqid
Id for the capture returned by teh CaptureStart() method.
Status
The value of the result is in percent, it can be negative when the capture is in preprocess state.

Return Values

On error false is returned and the error code and string of the control is set appropriately.

Languages

[Visual Basic] Public Function CaptureStatus(ByVal reqid As Long, ByRef status As Long) As Boolean

[Delphi] function CaptureStatus(reqid: Integer; var status: Integer): Boolean;

[C++] bool CaptureStatus(long reqid, long* status);

Remarks

See Also

Class PrApi Overview PrApi Properties PrApi Methods CaptureStart CaptureWait