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§
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 user playlist.
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 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.
Sourceunsafe fn AddURL(
&self,
URL: BSTR,
iURLTrack: *mut Option<IITURLTrack>,
) -> HRESULT
unsafe fn AddURL( &self, URL: BSTR, iURLTrack: *mut Option<IITURLTrack>, ) -> HRESULT
Add the specified streaming audio URL to the user playlist.
Sourceunsafe fn AddTrack(
&self,
iTrackToAdd: *const VARIANT,
iAddedTrack: *mut Option<IITTrack>,
) -> HRESULT
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.
True if the user playlist is being shared.
True if the user playlist is being shared.
Sourceunsafe fn Smart(&self, isSmart: *mut VARIANT_BOOL) -> HRESULT
unsafe fn Smart(&self, isSmart: *mut VARIANT_BOOL) -> HRESULT
True if this is a smart playlist.
Sourceunsafe fn SpecialKind(
&self,
SpecialKind: *mut ITUserPlaylistSpecialKind,
) -> HRESULT
unsafe fn SpecialKind( &self, SpecialKind: *mut ITUserPlaylistSpecialKind, ) -> HRESULT
The playlist special kind.
Sourceunsafe fn Parent(
&self,
iParentPlayList: *mut Option<IITUserPlaylist>,
) -> HRESULT
unsafe fn Parent( &self, iParentPlayList: *mut Option<IITUserPlaylist>, ) -> HRESULT
The parent of this playlist.
Sourceunsafe fn CreatePlaylist(
&self,
playlistName: BSTR,
iPlaylist: *mut Option<IITPlaylist>,
) -> HRESULT
unsafe fn CreatePlaylist( &self, playlistName: BSTR, iPlaylist: *mut Option<IITPlaylist>, ) -> HRESULT
Creates a new playlist in a folder playlist.
Sourceunsafe fn CreateFolder(
&self,
folderName: BSTR,
iFolder: *mut Option<IITPlaylist>,
) -> HRESULT
unsafe fn CreateFolder( &self, folderName: BSTR, iFolder: *mut Option<IITPlaylist>, ) -> HRESULT
Creates a new folder in a folder playlist.
Sourceunsafe fn set_Parent(&self, iParentPlayList: *const VARIANT) -> HRESULT
unsafe fn set_Parent(&self, iParentPlayList: *const VARIANT) -> HRESULT
The parent of this playlist.
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.