object.SetMediaType(MediaType As ltmmMediaType) |
Remarks
Sets the media type of the sample source object.
The user should define the media type of the sample source object before the sample source object is added to any other multimedia object.
If the method fails, an error is raised. For more information, refer to the Error Codes.
Win32, x64
See Also
Elements: |
ltmmSampleSource.GetMediaType Method, ltmmSampleSource.DeliverEndOfStream Method, ltmmSampleSource.DeliverSample Method, ltmmSampleSource.GetSampleBuffer Method |
Topic: |
|
|