ltmmCaptureCtrl.ReadyCapture Method

Visual Basic Example

Syntax

object.ReadyCapture(Mode As Long)

Remarks

Prepares the capture graph for running.

This is an optional method that performs time consuming initialization, allowing immediate execution with StartCapture.

If this method is used, it must be called prior to calling StartCapture. However, you may call StartCapture without calling ReadyCapture, but capturing will not begin immediately. Places the object in the ltmmCapture_State_Pending state.

If the method fails, an error is raised. For more information, refer to the Error Codes.

Platforms

Win32, x64

See Also

Elements:

ltmmCaptureCtrl.State Property, ltmmCaptureCtrl.StartCapture Method, ltmmCaptureCtrl.StopCapture Method

Topics:

Multimedia Properties, Methods and Events