ltmmCaptureCtrl.EditGraph Method

Visual Basic Example

Syntax

object.EditGraph()

Remarks

Registers the current graph and runs the DirectShow GraphEdit utility.

This method will display a modal dialog box indicating that the graph has been registered. The current thread is suspended during this time. The toolkit then attempts to invoke the GraphEdit utility from the DirectShow SDK. You can use GraphEdit’s "Connect" menu option to view the registered graph. When done, exit GraphEdit, and click on the dialog’s ‘OK’ button to continue program execution.

This function is intended for debugging purposes only. Modification of the graph can render it unusable.

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

See Also

Elements:

ltmmCaptureCtrl Objectr

Topics:

Multimedia Properties, Methods and Events