Trait IWMPEvents_Impl
pub trait IWMPEvents_Impl: IUnknownImpl {
Show 45 methods
// Required methods
fn OpenStateChange(&self, newstate: i32);
fn PlayStateChange(&self, newstate: i32);
fn AudioLanguageChange(&self, langid: i32);
fn StatusChange(&self);
fn ScriptCommand(&self, sctype: &BSTR, param: &BSTR);
fn NewStream(&self);
fn Disconnect(&self, result: i32);
fn Buffering(&self, start: VARIANT_BOOL);
fn Error(&self);
fn Warning(&self, warningtype: i32, param: i32, description: &BSTR);
fn EndOfStream(&self, result: i32);
fn PositionChange(&self, oldposition: f64, newposition: f64);
fn MarkerHit(&self, markernum: i32);
fn DurationUnitChange(&self, newdurationunit: i32);
fn CdromMediaChange(&self, cdromnum: i32);
fn PlaylistChange(
&self,
playlist: Ref<'_, IDispatch>,
change: WMPPlaylistChangeEventType,
);
fn CurrentPlaylistChange(&self, change: WMPPlaylistChangeEventType);
fn CurrentPlaylistItemAvailable(&self, bstritemname: &BSTR);
fn MediaChange(&self, item: Ref<'_, IDispatch>);
fn CurrentMediaItemAvailable(&self, bstritemname: &BSTR);
fn CurrentItemChange(&self, pdispmedia: Ref<'_, IDispatch>);
fn MediaCollectionChange(&self);
fn MediaCollectionAttributeStringAdded(
&self,
bstrattribname: &BSTR,
bstrattribval: &BSTR,
);
fn MediaCollectionAttributeStringRemoved(
&self,
bstrattribname: &BSTR,
bstrattribval: &BSTR,
);
fn MediaCollectionAttributeStringChanged(
&self,
bstrattribname: &BSTR,
bstroldattribval: &BSTR,
bstrnewattribval: &BSTR,
);
fn PlaylistCollectionChange(&self);
fn PlaylistCollectionPlaylistAdded(&self, bstrplaylistname: &BSTR);
fn PlaylistCollectionPlaylistRemoved(&self, bstrplaylistname: &BSTR);
fn PlaylistCollectionPlaylistSetAsDeleted(
&self,
bstrplaylistname: &BSTR,
varfisdeleted: VARIANT_BOOL,
);
fn ModeChange(&self, modename: &BSTR, newvalue: VARIANT_BOOL);
fn MediaError(&self, pmediaobject: Ref<'_, IDispatch>);
fn OpenPlaylistSwitch(&self, pitem: Ref<'_, IDispatch>);
fn DomainChange(&self, strdomain: &BSTR);
fn SwitchedToPlayerApplication(&self);
fn SwitchedToControl(&self);
fn PlayerDockedStateChange(&self);
fn PlayerReconnect(&self);
fn Click(&self, nbutton: i16, nshiftstate: i16, fx: i32, fy: i32);
fn DoubleClick(&self, nbutton: i16, nshiftstate: i16, fx: i32, fy: i32);
fn KeyDown(&self, nkeycode: i16, nshiftstate: i16);
fn KeyPress(&self, nkeyascii: i16);
fn KeyUp(&self, nkeycode: i16, nshiftstate: i16);
fn MouseDown(&self, nbutton: i16, nshiftstate: i16, fx: i32, fy: i32);
fn MouseMove(&self, nbutton: i16, nshiftstate: i16, fx: i32, fy: i32);
fn MouseUp(&self, nbutton: i16, nshiftstate: i16, fx: i32, fy: i32);
}
Required Methods§
fn OpenStateChange(&self, newstate: i32)
fn PlayStateChange(&self, newstate: i32)
fn AudioLanguageChange(&self, langid: i32)
fn StatusChange(&self)
fn ScriptCommand(&self, sctype: &BSTR, param: &BSTR)
fn NewStream(&self)
fn Disconnect(&self, result: i32)
fn Buffering(&self, start: VARIANT_BOOL)
fn Error(&self)
fn Warning(&self, warningtype: i32, param: i32, description: &BSTR)
fn EndOfStream(&self, result: i32)
fn PositionChange(&self, oldposition: f64, newposition: f64)
fn MarkerHit(&self, markernum: i32)
fn DurationUnitChange(&self, newdurationunit: i32)
fn CdromMediaChange(&self, cdromnum: i32)
fn PlaylistChange( &self, playlist: Ref<'_, IDispatch>, change: WMPPlaylistChangeEventType, )
fn CurrentPlaylistChange(&self, change: WMPPlaylistChangeEventType)
fn CurrentPlaylistItemAvailable(&self, bstritemname: &BSTR)
fn MediaChange(&self, item: Ref<'_, IDispatch>)
fn CurrentMediaItemAvailable(&self, bstritemname: &BSTR)
fn CurrentItemChange(&self, pdispmedia: Ref<'_, IDispatch>)
fn MediaCollectionChange(&self)
fn MediaCollectionAttributeStringAdded( &self, bstrattribname: &BSTR, bstrattribval: &BSTR, )
fn MediaCollectionAttributeStringRemoved( &self, bstrattribname: &BSTR, bstrattribval: &BSTR, )
fn MediaCollectionAttributeStringChanged( &self, bstrattribname: &BSTR, bstroldattribval: &BSTR, bstrnewattribval: &BSTR, )
fn PlaylistCollectionChange(&self)
fn PlaylistCollectionPlaylistAdded(&self, bstrplaylistname: &BSTR)
fn PlaylistCollectionPlaylistRemoved(&self, bstrplaylistname: &BSTR)
fn PlaylistCollectionPlaylistSetAsDeleted( &self, bstrplaylistname: &BSTR, varfisdeleted: VARIANT_BOOL, )
fn ModeChange(&self, modename: &BSTR, newvalue: VARIANT_BOOL)
fn MediaError(&self, pmediaobject: Ref<'_, IDispatch>)
fn OpenPlaylistSwitch(&self, pitem: Ref<'_, IDispatch>)
fn DomainChange(&self, strdomain: &BSTR)
fn SwitchedToPlayerApplication(&self)
fn SwitchedToControl(&self)
fn PlayerDockedStateChange(&self)
fn PlayerReconnect(&self)
fn Click(&self, nbutton: i16, nshiftstate: i16, fx: i32, fy: i32)
fn DoubleClick(&self, nbutton: i16, nshiftstate: i16, fx: i32, fy: i32)
fn KeyDown(&self, nkeycode: i16, nshiftstate: i16)
fn KeyPress(&self, nkeyascii: i16)
fn KeyUp(&self, nkeycode: i16, nshiftstate: i16)
fn MouseDown(&self, nbutton: i16, nshiftstate: i16, fx: i32, fy: i32)
fn MouseMove(&self, nbutton: i16, nshiftstate: i16, fx: i32, fy: i32)
fn MouseUp(&self, nbutton: i16, nshiftstate: i16, fx: i32, fy: i32)
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.