windows::Win32::Media::MediaPlayer

Trait IWMPPlaylist_Impl

pub trait IWMPPlaylist_Impl: IDispatch_Impl {
Show 14 methods // Required methods fn count(&self, plcount: *mut i32) -> Result<()>; fn name(&self, pbstrname: *mut BSTR) -> Result<()>; fn Setname(&self, bstrname: &BSTR) -> Result<()>; fn attributeCount(&self, plcount: *mut i32) -> Result<()>; fn get_attributeName( &self, lindex: i32, pbstrattributename: *mut BSTR, ) -> Result<()>; fn get_item(&self, lindex: i32) -> Result<IWMPMedia>; fn getItemInfo(&self, bstrname: &BSTR, pbstrval: *mut BSTR) -> Result<()>; fn setItemInfo(&self, bstrname: &BSTR, bstrvalue: &BSTR) -> Result<()>; fn get_isIdentical( &self, piwmpplaylist: Ref<'_, IWMPPlaylist>, pvbool: *mut VARIANT_BOOL, ) -> Result<()>; fn clear(&self) -> Result<()>; fn insertItem( &self, lindex: i32, piwmpmedia: Ref<'_, IWMPMedia>, ) -> Result<()>; fn appendItem(&self, piwmpmedia: Ref<'_, IWMPMedia>) -> Result<()>; fn removeItem(&self, piwmpmedia: Ref<'_, IWMPMedia>) -> Result<()>; fn moveItem(&self, lindexold: i32, lindexnew: i32) -> Result<()>;
}

Required Methods§

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

fn name(&self, pbstrname: *mut BSTR) -> Result<()>

fn Setname(&self, bstrname: &BSTR) -> Result<()>

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

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

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

fn getItemInfo(&self, bstrname: &BSTR, pbstrval: *mut BSTR) -> Result<()>

fn setItemInfo(&self, bstrname: &BSTR, bstrvalue: &BSTR) -> Result<()>

fn get_isIdentical( &self, piwmpplaylist: Ref<'_, IWMPPlaylist>, pvbool: *mut VARIANT_BOOL, ) -> Result<()>

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

fn insertItem(&self, lindex: i32, piwmpmedia: Ref<'_, IWMPMedia>) -> Result<()>

fn appendItem(&self, piwmpmedia: Ref<'_, IWMPMedia>) -> Result<()>

fn removeItem(&self, piwmpmedia: Ref<'_, IWMPMedia>) -> Result<()>

fn moveItem(&self, lindexold: i32, lindexnew: i32) -> 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§