ltmmMediaSample.SetMediaType Method
Visual
Basic example
|
object.SetMediaType(
As ltmmMediaType) |
Remarks
Assigns changes to the media type.
By default, every sample has the same media type as the previous sample.
Call this method to make limited changes to the media type, such as
changing the palette.
If the method fails, an error is raised. For more information, refer
to the Error Codes.
Platforms
Win32, x64
See Also
Elements: |
ltmmMediaSample.ActualDataLength
Property, ltmmMediaSample.Buffer
Property, ltmmMediaSample.BufferSize
Property, ltmmMediaSample.Discontinuity
Property, ltmmMediaSample.Preroll
Property, ltmmMediaSample.SyncPoint
Property, ltmmMediaSample.GetData
Method, ltmmMediaSample.GetMediaType
Method, ltmmMediaSample.GetMediaTime
Method, ltmmMediaSample.GetTime
Method, ltmmMediaSample.ResetMediaTime
Method, ltmmMediaSample.ResetTime
Method, ltmmMediaSample.SetData
Method, ltmmMediaSample.SetMediaTime
Method, ltmmMediaSample.SetTime
Method |
Topics: |
ltmmMediaSample
object |