object.SetAcceptedMediaType(MediaType As ltmmMediaType) |
Remarks
Sets the media type of the samples accepted by the object.
The user should define the media type of the sample target object before the target object is added to any other multimedia object. A partially defined media type is acceptable. By default, the target object will accept any media type.
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.
Win32, x64
See Also
Elements: |
ltmmSampleTarget.GetAcceptedMediaType Method, ltmmSampleTarget.GetConnectedMediaType Method, ltmmSampleTarget.GetSample Method |
Topics: |
|
|