ltmmSampleTarget.GetConnectedMediaType Method

Visual Basic Example

Visual Basic Example 2

 

Syntax

object.GetConnectedMediaType() As ltmmMediaType

Remarks

Gets a copy of the connected media type.

The returned value represents the actual media type of the samples that will be delivered.

For more information on accepted versus connected media types, refer to ltmmSampleTarget.GetAcceptedMediaType Method.

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

See Also

Elements:

ltmmSampleTarget.SetAcceptedMediaType Method, ltmmSampleTarget.GetAcceptedMediaType Method, ltmmSampleTarget.GetSample Method

Topics:

ltmmSampleTarget Object

 

ltmmMediaType Object