windows::Win32::Media::MediaPlayer

Trait IWMPPlugin_Impl

pub trait IWMPPlugin_Impl: IUnknownImpl {
    // Required methods
    fn Init(&self, dwplaybackcontext: usize) -> Result<()>;
    fn Shutdown(&self) -> Result<()>;
    fn GetID(&self, pguid: *mut GUID) -> Result<()>;
    fn GetCaps(&self, pdwflags: *mut u32) -> Result<()>;
    fn AdviseWMPServices(
        &self,
        pwmpservices: Ref<'_, IWMPServices>,
    ) -> Result<()>;
    fn UnAdviseWMPServices(&self) -> Result<()>;
}

Required Methods§

fn Init(&self, dwplaybackcontext: usize) -> Result<()>

fn Shutdown(&self) -> Result<()>

fn GetID(&self, pguid: *mut GUID) -> Result<()>

fn GetCaps(&self, pdwflags: *mut u32) -> Result<()>

fn AdviseWMPServices(&self, pwmpservices: Ref<'_, IWMPServices>) -> Result<()>

fn UnAdviseWMPServices(&self) -> Result<()>

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§