windows::Win32::Media::MediaPlayer

Trait IWMPDownloadCollection_Impl

pub trait IWMPDownloadCollection_Impl: IDispatch_Impl {
    // Required methods
    fn id(&self, plid: *mut i32) -> Result<()>;
    fn count(&self, plcount: *mut i32) -> Result<()>;
    fn item(&self, litem: i32) -> Result<IWMPDownloadItem2>;
    fn startDownload(
        &self,
        bstrsourceurl: &BSTR,
        bstrtype: &BSTR,
    ) -> Result<IWMPDownloadItem2>;
    fn removeItem(&self, litem: i32) -> Result<()>;
    fn Clear(&self) -> Result<()>;
}

Required Methods§

fn id(&self, plid: *mut i32) -> Result<()>

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

fn item(&self, litem: i32) -> Result<IWMPDownloadItem2>

fn startDownload( &self, bstrsourceurl: &BSTR, bstrtype: &BSTR, ) -> Result<IWMPDownloadItem2>

fn removeItem(&self, litem: i32) -> Result<()>

fn Clear(&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§