windows::Win32::Media::MediaPlayer

Trait IWMPControls3_Impl

pub trait IWMPControls3_Impl: IWMPControls2_Impl {
    // Required methods
    fn audioLanguageCount(&self, plcount: *mut i32) -> Result<()>;
    fn getAudioLanguageID(&self, lindex: i32, pllangid: *mut i32) -> Result<()>;
    fn getAudioLanguageDescription(
        &self,
        lindex: i32,
        pbstrlangdesc: *mut BSTR,
    ) -> Result<()>;
    fn currentAudioLanguage(&self, pllangid: *mut i32) -> Result<()>;
    fn SetcurrentAudioLanguage(&self, llangid: i32) -> Result<()>;
    fn currentAudioLanguageIndex(&self, plindex: *mut i32) -> Result<()>;
    fn SetcurrentAudioLanguageIndex(&self, lindex: i32) -> Result<()>;
    fn getLanguageName(
        &self,
        llangid: i32,
        pbstrlangname: *mut BSTR,
    ) -> Result<()>;
    fn currentPositionTimecode(&self, bstrtimecode: *mut BSTR) -> Result<()>;
    fn SetcurrentPositionTimecode(&self, bstrtimecode: &BSTR) -> Result<()>;
}

Required Methods§

fn audioLanguageCount(&self, plcount: *mut i32) -> Result<()>

fn getAudioLanguageID(&self, lindex: i32, pllangid: *mut i32) -> Result<()>

fn getAudioLanguageDescription( &self, lindex: i32, pbstrlangdesc: *mut BSTR, ) -> Result<()>

fn currentAudioLanguage(&self, pllangid: *mut i32) -> Result<()>

fn SetcurrentAudioLanguage(&self, llangid: i32) -> Result<()>

fn currentAudioLanguageIndex(&self, plindex: *mut i32) -> Result<()>

fn SetcurrentAudioLanguageIndex(&self, lindex: i32) -> Result<()>

fn getLanguageName(&self, llangid: i32, pbstrlangname: *mut BSTR) -> Result<()>

fn currentPositionTimecode(&self, bstrtimecode: *mut BSTR) -> Result<()>

fn SetcurrentPositionTimecode(&self, bstrtimecode: &BSTR) -> 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§