Trait mf_IMFMediaSource

Source
pub trait mf_IMFMediaSource: mf_IMFMediaEventGenerator {
    // Provided methods
    fn GetCharacteristics(&self) -> HrResult<MFMEDIASOURCE> { ... }
    fn CreatePresentationDescriptor(
        &self,
    ) -> HrResult<IMFPresentationDescriptor> { ... }
    fn Pause(&self) -> HrResult<()> { ... }
    fn Shutdown(&self) -> HrResult<()> { ... }
    fn Start(
        &self,
        presentation_descriptor: IMFPresentationDescriptor,
        time_format: Option<&GUID>,
        start_position: &PropVariant,
    ) -> HrResult<()> { ... }
    fn Stop(&self) -> HrResult<()> { ... }
}
Available on crate features kernel and mf only.
Expand description

This trait is enabled with the mf feature, and provides methods for IMFMediaSource.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§