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.

Implementors§