Trait winsafe::prelude::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: Option<&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§

Object Safety§

This trait is not object safe.

Implementors§