windows::Win32::Media::MediaPlayer

Trait IWMPSubscriptionService_Impl

pub trait IWMPSubscriptionService_Impl: IUnknownImpl {
    // Required methods
    fn allowPlay(
        &self,
        hwnd: HWND,
        pmedia: Ref<'_, IWMPMedia>,
        pfallowplay: *mut BOOL,
    ) -> Result<()>;
    fn allowCDBurn(
        &self,
        hwnd: HWND,
        pplaylist: Ref<'_, IWMPPlaylist>,
        pfallowburn: *mut BOOL,
    ) -> Result<()>;
    fn allowPDATransfer(
        &self,
        hwnd: HWND,
        pplaylist: Ref<'_, IWMPPlaylist>,
        pfallowtransfer: *mut BOOL,
    ) -> Result<()>;
    fn startBackgroundProcessing(&self, hwnd: HWND) -> Result<()>;
}

Required Methods§

fn allowPlay( &self, hwnd: HWND, pmedia: Ref<'_, IWMPMedia>, pfallowplay: *mut BOOL, ) -> Result<()>

fn allowCDBurn( &self, hwnd: HWND, pplaylist: Ref<'_, IWMPPlaylist>, pfallowburn: *mut BOOL, ) -> Result<()>

fn allowPDATransfer( &self, hwnd: HWND, pplaylist: Ref<'_, IWMPPlaylist>, pfallowtransfer: *mut BOOL, ) -> Result<()>

fn startBackgroundProcessing(&self, hwnd: HWND) -> 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§