pub trait IWMPMediaCollection2_Impl: Sized + IWMPMediaCollection_Impl {
    // Required methods
    fn createQuery(&self) -> Result<IWMPQuery>;
    fn getPlaylistByQuery(
        &self,
        pquery: Option<&IWMPQuery>,
        bstrmediatype: &BSTR,
        bstrsortattribute: &BSTR,
        fsortascending: VARIANT_BOOL,
    ) -> Result<IWMPPlaylist>;
    fn getStringCollectionByQuery(
        &self,
        bstrattribute: &BSTR,
        pquery: Option<&IWMPQuery>,
        bstrmediatype: &BSTR,
        bstrsortattribute: &BSTR,
        fsortascending: VARIANT_BOOL,
    ) -> Result<IWMPStringCollection>;
    fn getByAttributeAndMediaType(
        &self,
        bstrattribute: &BSTR,
        bstrvalue: &BSTR,
        bstrmediatype: &BSTR,
    ) -> Result<IWMPPlaylist>;
}

Required Methods§

fn createQuery(&self) -> Result<IWMPQuery>

fn getPlaylistByQuery( &self, pquery: Option<&IWMPQuery>, bstrmediatype: &BSTR, bstrsortattribute: &BSTR, fsortascending: VARIANT_BOOL, ) -> Result<IWMPPlaylist>

fn getStringCollectionByQuery( &self, bstrattribute: &BSTR, pquery: Option<&IWMPQuery>, bstrmediatype: &BSTR, bstrsortattribute: &BSTR, fsortascending: VARIANT_BOOL, ) -> Result<IWMPStringCollection>

fn getByAttributeAndMediaType( &self, bstrattribute: &BSTR, bstrvalue: &BSTR, bstrmediatype: &BSTR, ) -> Result<IWMPPlaylist>

Object Safety§

This trait is not object safe.

Implementors§