Trait IWMPCore_Impl
pub trait IWMPCore_Impl: IDispatch_Impl {
Show 21 methods
// Required methods
fn close(&self) -> Result<()>;
fn URL(&self, pbstrurl: *mut BSTR) -> Result<()>;
fn SetURL(&self, bstrurl: &BSTR) -> Result<()>;
fn openState(&self, pwmpos: *mut WMPOpenState) -> Result<()>;
fn playState(&self, pwmpps: *mut WMPPlayState) -> Result<()>;
fn controls(&self) -> Result<IWMPControls>;
fn settings(&self) -> Result<IWMPSettings>;
fn currentMedia(&self) -> Result<IWMPMedia>;
fn SetcurrentMedia(&self, pmedia: Ref<'_, IWMPMedia>) -> Result<()>;
fn mediaCollection(&self) -> Result<IWMPMediaCollection>;
fn playlistCollection(&self) -> Result<IWMPPlaylistCollection>;
fn versionInfo(&self, pbstrversioninfo: *mut BSTR) -> Result<()>;
fn launchURL(&self, bstrurl: &BSTR) -> Result<()>;
fn network(&self) -> Result<IWMPNetwork>;
fn currentPlaylist(&self) -> Result<IWMPPlaylist>;
fn SetcurrentPlaylist(&self, ppl: Ref<'_, IWMPPlaylist>) -> Result<()>;
fn cdromCollection(&self) -> Result<IWMPCdromCollection>;
fn closedCaption(&self) -> Result<IWMPClosedCaption>;
fn isOnline(&self, pfonline: *mut VARIANT_BOOL) -> Result<()>;
fn error(&self) -> Result<IWMPError>;
fn status(&self, pbstrstatus: *mut BSTR) -> Result<()>;
}
Required Methods§
fn close(&self) -> Result<()>
fn URL(&self, pbstrurl: *mut BSTR) -> Result<()>
fn SetURL(&self, bstrurl: &BSTR) -> Result<()>
fn openState(&self, pwmpos: *mut WMPOpenState) -> Result<()>
fn playState(&self, pwmpps: *mut WMPPlayState) -> Result<()>
fn controls(&self) -> Result<IWMPControls>
fn settings(&self) -> Result<IWMPSettings>
fn currentMedia(&self) -> Result<IWMPMedia>
fn SetcurrentMedia(&self, pmedia: Ref<'_, IWMPMedia>) -> Result<()>
fn mediaCollection(&self) -> Result<IWMPMediaCollection>
fn playlistCollection(&self) -> Result<IWMPPlaylistCollection>
fn versionInfo(&self, pbstrversioninfo: *mut BSTR) -> Result<()>
fn launchURL(&self, bstrurl: &BSTR) -> Result<()>
fn network(&self) -> Result<IWMPNetwork>
fn currentPlaylist(&self) -> Result<IWMPPlaylist>
fn SetcurrentPlaylist(&self, ppl: Ref<'_, IWMPPlaylist>) -> Result<()>
fn cdromCollection(&self) -> Result<IWMPCdromCollection>
fn closedCaption(&self) -> Result<IWMPClosedCaption>
fn isOnline(&self, pfonline: *mut VARIANT_BOOL) -> Result<()>
fn error(&self) -> Result<IWMPError>
fn status(&self, pbstrstatus: *mut 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.