ltmmSampleSource.GetMediaType Method

Visual Basic Example

Syntax

object.GetMediaType() As ltmmMediaType

Remarks

Retrieves the media type of the sample source object.

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

See Also

Elements:

ltmmSampleSource.SetMediaType Method, ltmmSampleSource.DeliverEndOfStream Method, ltmmSampleSource.DeliverSample Method, ltmmSampleSource.GetSampleBuffer Method

Topic:

ltmmSampleSource Object

 

Implementing an ltmmSampleSource Object