Trait windows::Win32::Media::MediaPlayer::IWMPCore_Impl

pub trait IWMPCore_Impl: Sized + 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: Option<&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: Option<&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: Option<&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: Option<&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<()>

Object Safety§

This trait is not object safe.

Implementors§