IITUserPlaylist_Impl

Trait IITUserPlaylist_Impl 

Source
pub trait IITUserPlaylist_Impl: Sized + IITPlaylist_Impl {
Show 13 methods // 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; unsafe fn Shared(&self, isShared: *mut VARIANT_BOOL) -> HRESULT; unsafe fn set_Shared(&self, isShared: VARIANT_BOOL) -> HRESULT; unsafe fn Smart(&self, isSmart: *mut VARIANT_BOOL) -> HRESULT; unsafe fn SpecialKind( &self, SpecialKind: *mut ITUserPlaylistSpecialKind, ) -> HRESULT; unsafe fn Parent( &self, iParentPlayList: *mut Option<IITUserPlaylist>, ) -> HRESULT; unsafe fn CreatePlaylist( &self, playlistName: BSTR, iPlaylist: *mut Option<IITPlaylist>, ) -> HRESULT; unsafe fn CreateFolder( &self, folderName: BSTR, iFolder: *mut Option<IITPlaylist>, ) -> HRESULT; unsafe fn set_Parent(&self, iParentPlayList: *const VARIANT) -> HRESULT; unsafe fn Reveal(&self) -> HRESULT;
}

Required Methods§

Source

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

Add the specified file path to the user playlist.

Source

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

Add the specified array of file paths to the user playlist. 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 user playlist.

Source

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

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

Source

unsafe fn Shared(&self, isShared: *mut VARIANT_BOOL) -> HRESULT

True if the user playlist is being shared.

Source

unsafe fn set_Shared(&self, isShared: VARIANT_BOOL) -> HRESULT

True if the user playlist is being shared.

Source

unsafe fn Smart(&self, isSmart: *mut VARIANT_BOOL) -> HRESULT

True if this is a smart playlist.

Source

unsafe fn SpecialKind( &self, SpecialKind: *mut ITUserPlaylistSpecialKind, ) -> HRESULT

The playlist special kind.

Source

unsafe fn Parent( &self, iParentPlayList: *mut Option<IITUserPlaylist>, ) -> HRESULT

The parent of this playlist.

Source

unsafe fn CreatePlaylist( &self, playlistName: BSTR, iPlaylist: *mut Option<IITPlaylist>, ) -> HRESULT

Creates a new playlist in a folder playlist.

Source

unsafe fn CreateFolder( &self, folderName: BSTR, iFolder: *mut Option<IITPlaylist>, ) -> HRESULT

Creates a new folder in a folder playlist.

Source

unsafe fn set_Parent(&self, iParentPlayList: *const VARIANT) -> HRESULT

The parent of this playlist.

Source

unsafe fn Reveal(&self) -> HRESULT

Reveal the user playlist in the main browser window.

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§