Trait itunes_com::sys::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§
sourceunsafe fn AddFile(
&self,
filePath: BSTR,
iStatus: *mut Option<IITOperationStatus>
) -> HRESULT
unsafe fn AddFile( &self, filePath: BSTR, iStatus: *mut Option<IITOperationStatus> ) -> HRESULT
Add the specified file path to the library.
sourceunsafe fn AddFiles(
&self,
filePaths: *const VARIANT,
iStatus: *mut Option<IITOperationStatus>
) -> HRESULT
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.