windows::Win32::Media::MediaPlayer

Trait IWMPLibrary_Impl

pub trait IWMPLibrary_Impl: IUnknownImpl {
    // Required methods
    fn name(&self, pbstrname: *mut BSTR) -> Result<()>;
    fn type(&self, pwmplt: *mut WMPLibraryType) -> Result<()>;
    fn mediaCollection(&self) -> Result<IWMPMediaCollection>;
    fn isIdentical(
        &self,
        piwmplibrary: Ref<'_, IWMPLibrary>,
        pvbool: *mut VARIANT_BOOL,
    ) -> Result<()>;
}

Required Methods§

fn name(&self, pbstrname: *mut BSTR) -> Result<()>

fn type(&self, pwmplt: *mut WMPLibraryType) -> Result<()>

fn mediaCollection(&self) -> Result<IWMPMediaCollection>

fn isIdentical( &self, piwmplibrary: Ref<'_, IWMPLibrary>, pvbool: *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.

Implementors§