IITLibraryPlaylist_Impl

Trait IITLibraryPlaylist_Impl 

Source
pub trait IITLibraryPlaylist_Impl: Sized + IITPlaylist_Impl {
    // Required methods
    unsafe fn AddFile(
        &self,
        filePath: BSTR,
        iStatus: *mut Option<IITOperationStatus>,
    ) -> HRESULT;
    unsafe fn AddFiles(
        &self,
        filePaths: *const VARIANT,
        iStatus: *mut Option<IITOperationStatus>,
    ) -> HRESULT;
    unsafe fn AddURL(
        &self,
        URL: BSTR,
        iURLTrack: *mut Option<IITURLTrack>,
    ) -> HRESULT;
    unsafe fn AddTrack(
        &self,
        iTrackToAdd: *const VARIANT,
        iAddedTrack: *mut Option<IITTrack>,
    ) -> HRESULT;
}

Required Methods§

Source

unsafe fn AddFile( &self, filePath: BSTR, iStatus: *mut Option<IITOperationStatus>, ) -> HRESULT

Add the specified file path to the library.

Source

unsafe fn AddFiles( &self, filePaths: *const VARIANT, iStatus: *mut Option<IITOperationStatus>, ) -> HRESULT

Add the specified array of file paths to the library. filePaths can be of type VT_ARRAY|VT_VARIANT, where each entry is a VT_BSTR, or VT_ARRAY|VT_BSTR. You can also pass a JScript Array object.

Source

unsafe fn AddURL( &self, URL: BSTR, iURLTrack: *mut Option<IITURLTrack>, ) -> HRESULT

Add the specified streaming audio URL to the library.

Source

unsafe fn AddTrack( &self, iTrackToAdd: *const VARIANT, iAddedTrack: *mut Option<IITTrack>, ) -> HRESULT

Add the specified track to the library. iTrackToAdd is a VARIANT of type VT_DISPATCH that points to an IITTrack.

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§