Trait IWMPMedia_Impl
pub trait IWMPMedia_Impl: IDispatch_Impl {
Show 18 methods
// Required methods
fn get_isIdentical(
&self,
piwmpmedia: Ref<'_, IWMPMedia>,
pvbool: *mut VARIANT_BOOL,
) -> Result<()>;
fn sourceURL(&self, pbstrsourceurl: *mut BSTR) -> Result<()>;
fn name(&self, pbstrname: *mut BSTR) -> Result<()>;
fn Setname(&self, bstrname: &BSTR) -> Result<()>;
fn imageSourceWidth(&self, pwidth: *mut i32) -> Result<()>;
fn imageSourceHeight(&self, pheight: *mut i32) -> Result<()>;
fn markerCount(&self, pmarkercount: *mut i32) -> Result<()>;
fn getMarkerTime(&self, markernum: i32, pmarkertime: *mut f64) -> Result<()>;
fn getMarkerName(
&self,
markernum: i32,
pbstrmarkername: *mut BSTR,
) -> Result<()>;
fn duration(&self, pduration: *mut f64) -> Result<()>;
fn durationString(&self, pbstrduration: *mut BSTR) -> Result<()>;
fn attributeCount(&self, plcount: *mut i32) -> Result<()>;
fn getAttributeName(
&self,
lindex: i32,
pbstritemname: *mut BSTR,
) -> Result<()>;
fn getItemInfo(
&self,
bstritemname: &BSTR,
pbstrval: *mut BSTR,
) -> Result<()>;
fn setItemInfo(&self, bstritemname: &BSTR, bstrval: &BSTR) -> Result<()>;
fn getItemInfoByAtom(&self, latom: i32, pbstrval: *mut BSTR) -> Result<()>;
fn isMemberOf(
&self,
pplaylist: Ref<'_, IWMPPlaylist>,
pvarfismemberof: *mut VARIANT_BOOL,
) -> Result<()>;
fn isReadOnlyItem(
&self,
bstritemname: &BSTR,
pvarfisreadonly: *mut VARIANT_BOOL,
) -> Result<()>;
}
Required Methods§
fn get_isIdentical( &self, piwmpmedia: Ref<'_, IWMPMedia>, pvbool: *mut VARIANT_BOOL, ) -> Result<()>
fn sourceURL(&self, pbstrsourceurl: *mut BSTR) -> Result<()>
fn name(&self, pbstrname: *mut BSTR) -> Result<()>
fn Setname(&self, bstrname: &BSTR) -> Result<()>
fn imageSourceWidth(&self, pwidth: *mut i32) -> Result<()>
fn imageSourceHeight(&self, pheight: *mut i32) -> Result<()>
fn markerCount(&self, pmarkercount: *mut i32) -> Result<()>
fn getMarkerTime(&self, markernum: i32, pmarkertime: *mut f64) -> Result<()>
fn getMarkerName( &self, markernum: i32, pbstrmarkername: *mut BSTR, ) -> Result<()>
fn duration(&self, pduration: *mut f64) -> Result<()>
fn durationString(&self, pbstrduration: *mut BSTR) -> Result<()>
fn attributeCount(&self, plcount: *mut i32) -> Result<()>
fn getAttributeName(&self, lindex: i32, pbstritemname: *mut BSTR) -> Result<()>
fn getItemInfo(&self, bstritemname: &BSTR, pbstrval: *mut BSTR) -> Result<()>
fn setItemInfo(&self, bstritemname: &BSTR, bstrval: &BSTR) -> Result<()>
fn getItemInfoByAtom(&self, latom: i32, pbstrval: *mut BSTR) -> Result<()>
fn isMemberOf( &self, pplaylist: Ref<'_, IWMPPlaylist>, pvarfismemberof: *mut VARIANT_BOOL, ) -> Result<()>
fn isReadOnlyItem( &self, bstritemname: &BSTR, pvarfisreadonly: *mut VARIANT_BOOL, ) -> 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.