IMediaSource Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a media source that delivers media samples to a media pipeline.
public interface class IMediaSource
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3888100761, 41117, 19489, 188, 223, 32, 175, 79, 134, 179, 217)]
struct IMediaSource
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3888100761, 41117, 19489, 188, 223, 32, 175, 79, 134, 179, 217)]
public interface IMediaSource
Public Interface IMediaSource
- Derived
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Remarks
The IMediaSource interface is implemented by the MediaStreamSource runtime class and can also be implemented by other runtime classes.
Runtime classes that implement this interface must also implement the IMFGetService interface and must support returning an IMFMediaSource or an IMFMediaSourceExtension interface when IMFGetService.GetService method is invoked for the MF_MEDIASOURCE_SERVICE service.