Trait itunes_com::sys::IITFileOrCDTrack_Impl
source · pub trait IITFileOrCDTrack_Impl: Sized + IITTrack_Impl {
Show 60 methods
// Required methods
unsafe fn Location(&self, Location: *mut BSTR) -> HRESULT;
unsafe fn UpdateInfoFromFile(&self) -> HRESULT;
unsafe fn Podcast(&self, isPodcast: *mut VARIANT_BOOL) -> HRESULT;
unsafe fn UpdatePodcastFeed(&self) -> HRESULT;
unsafe fn RememberBookmark(
&self,
RememberBookmark: *mut VARIANT_BOOL
) -> HRESULT;
unsafe fn set_RememberBookmark(
&self,
RememberBookmark: VARIANT_BOOL
) -> HRESULT;
unsafe fn ExcludeFromShuffle(
&self,
ExcludeFromShuffle: *mut VARIANT_BOOL
) -> HRESULT;
unsafe fn set_ExcludeFromShuffle(
&self,
ExcludeFromShuffle: VARIANT_BOOL
) -> HRESULT;
unsafe fn Lyrics(&self, Lyrics: *mut BSTR) -> HRESULT;
unsafe fn set_Lyrics(&self, Lyrics: BSTR) -> HRESULT;
unsafe fn Category(&self, Category: *mut BSTR) -> HRESULT;
unsafe fn set_Category(&self, Category: BSTR) -> HRESULT;
unsafe fn Description(&self, Description: *mut BSTR) -> HRESULT;
unsafe fn set_Description(&self, Description: BSTR) -> HRESULT;
unsafe fn LongDescription(&self, LongDescription: *mut BSTR) -> HRESULT;
unsafe fn set_LongDescription(&self, LongDescription: BSTR) -> HRESULT;
unsafe fn BookmarkTime(&self, BookmarkTime: *mut i32) -> HRESULT;
unsafe fn set_BookmarkTime(&self, BookmarkTime: i32) -> HRESULT;
unsafe fn VideoKind(&self, VideoKind: *mut ITVideoKind) -> HRESULT;
unsafe fn set_VideoKind(&self, VideoKind: ITVideoKind) -> HRESULT;
unsafe fn SkippedCount(&self, SkippedCount: *mut i32) -> HRESULT;
unsafe fn set_SkippedCount(&self, SkippedCount: i32) -> HRESULT;
unsafe fn SkippedDate(&self, SkippedDate: *mut f64) -> HRESULT;
unsafe fn set_SkippedDate(&self, SkippedDate: f64) -> HRESULT;
unsafe fn PartOfGaplessAlbum(
&self,
PartOfGaplessAlbum: *mut VARIANT_BOOL
) -> HRESULT;
unsafe fn set_PartOfGaplessAlbum(
&self,
PartOfGaplessAlbum: VARIANT_BOOL
) -> HRESULT;
unsafe fn AlbumArtist(&self, AlbumArtist: *mut BSTR) -> HRESULT;
unsafe fn set_AlbumArtist(&self, AlbumArtist: BSTR) -> HRESULT;
unsafe fn Show(&self, showName: *mut BSTR) -> HRESULT;
unsafe fn set_Show(&self, showName: BSTR) -> HRESULT;
unsafe fn SeasonNumber(&self, SeasonNumber: *mut i32) -> HRESULT;
unsafe fn set_SeasonNumber(&self, SeasonNumber: i32) -> HRESULT;
unsafe fn EpisodeID(&self, EpisodeID: *mut BSTR) -> HRESULT;
unsafe fn set_EpisodeID(&self, EpisodeID: BSTR) -> HRESULT;
unsafe fn EpisodeNumber(&self, EpisodeNumber: *mut i32) -> HRESULT;
unsafe fn set_EpisodeNumber(&self, EpisodeNumber: i32) -> HRESULT;
unsafe fn Size64High(&self, sizeHigh: *mut i32) -> HRESULT;
unsafe fn Size64Low(&self, sizeLow: *mut i32) -> HRESULT;
unsafe fn Unplayed(&self, isUnplayed: *mut VARIANT_BOOL) -> HRESULT;
unsafe fn set_Unplayed(&self, isUnplayed: VARIANT_BOOL) -> HRESULT;
unsafe fn SortAlbum(&self, Album: *mut BSTR) -> HRESULT;
unsafe fn set_SortAlbum(&self, Album: BSTR) -> HRESULT;
unsafe fn SortAlbumArtist(&self, AlbumArtist: *mut BSTR) -> HRESULT;
unsafe fn set_SortAlbumArtist(&self, AlbumArtist: BSTR) -> HRESULT;
unsafe fn SortArtist(&self, Artist: *mut BSTR) -> HRESULT;
unsafe fn set_SortArtist(&self, Artist: BSTR) -> HRESULT;
unsafe fn SortComposer(&self, Composer: *mut BSTR) -> HRESULT;
unsafe fn set_SortComposer(&self, Composer: BSTR) -> HRESULT;
unsafe fn SortName(&self, Name: *mut BSTR) -> HRESULT;
unsafe fn set_SortName(&self, Name: BSTR) -> HRESULT;
unsafe fn SortShow(&self, showName: *mut BSTR) -> HRESULT;
unsafe fn set_SortShow(&self, showName: BSTR) -> HRESULT;
unsafe fn Reveal(&self) -> HRESULT;
unsafe fn AlbumRating(&self, Rating: *mut i32) -> HRESULT;
unsafe fn set_AlbumRating(&self, Rating: i32) -> HRESULT;
unsafe fn AlbumRatingKind(&self, ratingKind: *mut ITRatingKind) -> HRESULT;
unsafe fn ratingKind(&self, ratingKind: *mut ITRatingKind) -> HRESULT;
unsafe fn Playlists(
&self,
iPlaylistCollection: *mut Option<IITPlaylistCollection>
) -> HRESULT;
unsafe fn set_Location(&self, Location: BSTR) -> HRESULT;
unsafe fn ReleaseDate(&self, ReleaseDate: *mut f64) -> HRESULT;
}Required Methods§
sourceunsafe fn Location(&self, Location: *mut BSTR) -> HRESULT
unsafe fn Location(&self, Location: *mut BSTR) -> HRESULT
The full path to the file represented by this track.
sourceunsafe fn UpdateInfoFromFile(&self) -> HRESULT
unsafe fn UpdateInfoFromFile(&self) -> HRESULT
Update this track’s information with the information stored in its file.
sourceunsafe fn Podcast(&self, isPodcast: *mut VARIANT_BOOL) -> HRESULT
unsafe fn Podcast(&self, isPodcast: *mut VARIANT_BOOL) -> HRESULT
True if this is a podcast track.
sourceunsafe fn UpdatePodcastFeed(&self) -> HRESULT
unsafe fn UpdatePodcastFeed(&self) -> HRESULT
Update the podcast feed for this track.
sourceunsafe fn RememberBookmark(
&self,
RememberBookmark: *mut VARIANT_BOOL
) -> HRESULT
unsafe fn RememberBookmark( &self, RememberBookmark: *mut VARIANT_BOOL ) -> HRESULT
True if playback position is remembered.
sourceunsafe fn set_RememberBookmark(&self, RememberBookmark: VARIANT_BOOL) -> HRESULT
unsafe fn set_RememberBookmark(&self, RememberBookmark: VARIANT_BOOL) -> HRESULT
True if playback position is remembered.
sourceunsafe fn ExcludeFromShuffle(
&self,
ExcludeFromShuffle: *mut VARIANT_BOOL
) -> HRESULT
unsafe fn ExcludeFromShuffle( &self, ExcludeFromShuffle: *mut VARIANT_BOOL ) -> HRESULT
True if track is skipped when shuffling.
sourceunsafe fn set_ExcludeFromShuffle(
&self,
ExcludeFromShuffle: VARIANT_BOOL
) -> HRESULT
unsafe fn set_ExcludeFromShuffle( &self, ExcludeFromShuffle: VARIANT_BOOL ) -> HRESULT
True if track is skipped when shuffling.
sourceunsafe fn set_Lyrics(&self, Lyrics: BSTR) -> HRESULT
unsafe fn set_Lyrics(&self, Lyrics: BSTR) -> HRESULT
Lyrics for the track.
sourceunsafe fn set_Category(&self, Category: BSTR) -> HRESULT
unsafe fn set_Category(&self, Category: BSTR) -> HRESULT
Category for the track.
sourceunsafe fn Description(&self, Description: *mut BSTR) -> HRESULT
unsafe fn Description(&self, Description: *mut BSTR) -> HRESULT
Description for the track.
sourceunsafe fn set_Description(&self, Description: BSTR) -> HRESULT
unsafe fn set_Description(&self, Description: BSTR) -> HRESULT
Description for the track.
sourceunsafe fn LongDescription(&self, LongDescription: *mut BSTR) -> HRESULT
unsafe fn LongDescription(&self, LongDescription: *mut BSTR) -> HRESULT
Long description for the track.
sourceunsafe fn set_LongDescription(&self, LongDescription: BSTR) -> HRESULT
unsafe fn set_LongDescription(&self, LongDescription: BSTR) -> HRESULT
Long description for the track.
sourceunsafe fn BookmarkTime(&self, BookmarkTime: *mut i32) -> HRESULT
unsafe fn BookmarkTime(&self, BookmarkTime: *mut i32) -> HRESULT
The bookmark time of the track (in seconds).
sourceunsafe fn set_BookmarkTime(&self, BookmarkTime: i32) -> HRESULT
unsafe fn set_BookmarkTime(&self, BookmarkTime: i32) -> HRESULT
The bookmark time of the track (in seconds).
sourceunsafe fn VideoKind(&self, VideoKind: *mut ITVideoKind) -> HRESULT
unsafe fn VideoKind(&self, VideoKind: *mut ITVideoKind) -> HRESULT
The video track kind.
sourceunsafe fn set_VideoKind(&self, VideoKind: ITVideoKind) -> HRESULT
unsafe fn set_VideoKind(&self, VideoKind: ITVideoKind) -> HRESULT
The video track kind.
sourceunsafe fn SkippedCount(&self, SkippedCount: *mut i32) -> HRESULT
unsafe fn SkippedCount(&self, SkippedCount: *mut i32) -> HRESULT
The number of times the track has been skipped.
sourceunsafe fn set_SkippedCount(&self, SkippedCount: i32) -> HRESULT
unsafe fn set_SkippedCount(&self, SkippedCount: i32) -> HRESULT
The number of times the track has been skipped.
sourceunsafe fn SkippedDate(&self, SkippedDate: *mut f64) -> HRESULT
unsafe fn SkippedDate(&self, SkippedDate: *mut f64) -> HRESULT
The date and time the track was last skipped. A value of zero means no skipped date.
sourceunsafe fn set_SkippedDate(&self, SkippedDate: f64) -> HRESULT
unsafe fn set_SkippedDate(&self, SkippedDate: f64) -> HRESULT
The date and time the track was last skipped. A value of zero means no skipped date.
sourceunsafe fn PartOfGaplessAlbum(
&self,
PartOfGaplessAlbum: *mut VARIANT_BOOL
) -> HRESULT
unsafe fn PartOfGaplessAlbum( &self, PartOfGaplessAlbum: *mut VARIANT_BOOL ) -> HRESULT
True if track is part of a gapless album.
sourceunsafe fn set_PartOfGaplessAlbum(
&self,
PartOfGaplessAlbum: VARIANT_BOOL
) -> HRESULT
unsafe fn set_PartOfGaplessAlbum( &self, PartOfGaplessAlbum: VARIANT_BOOL ) -> HRESULT
True if track is part of a gapless album.
sourceunsafe fn AlbumArtist(&self, AlbumArtist: *mut BSTR) -> HRESULT
unsafe fn AlbumArtist(&self, AlbumArtist: *mut BSTR) -> HRESULT
The album artist of the track.
sourceunsafe fn set_AlbumArtist(&self, AlbumArtist: BSTR) -> HRESULT
unsafe fn set_AlbumArtist(&self, AlbumArtist: BSTR) -> HRESULT
The album artist of the track.
sourceunsafe fn SeasonNumber(&self, SeasonNumber: *mut i32) -> HRESULT
unsafe fn SeasonNumber(&self, SeasonNumber: *mut i32) -> HRESULT
The season number of the track.
sourceunsafe fn set_SeasonNumber(&self, SeasonNumber: i32) -> HRESULT
unsafe fn set_SeasonNumber(&self, SeasonNumber: i32) -> HRESULT
The season number of the track.
sourceunsafe fn set_EpisodeID(&self, EpisodeID: BSTR) -> HRESULT
unsafe fn set_EpisodeID(&self, EpisodeID: BSTR) -> HRESULT
The episode ID of the track.
sourceunsafe fn EpisodeNumber(&self, EpisodeNumber: *mut i32) -> HRESULT
unsafe fn EpisodeNumber(&self, EpisodeNumber: *mut i32) -> HRESULT
The episode number of the track.
sourceunsafe fn set_EpisodeNumber(&self, EpisodeNumber: i32) -> HRESULT
unsafe fn set_EpisodeNumber(&self, EpisodeNumber: i32) -> HRESULT
The episode number of the track.
sourceunsafe fn Size64High(&self, sizeHigh: *mut i32) -> HRESULT
unsafe fn Size64High(&self, sizeHigh: *mut i32) -> HRESULT
The high 32-bits of the size of the track (in bytes).
sourceunsafe fn Size64Low(&self, sizeLow: *mut i32) -> HRESULT
unsafe fn Size64Low(&self, sizeLow: *mut i32) -> HRESULT
The low 32-bits of the size of the track (in bytes).
sourceunsafe fn Unplayed(&self, isUnplayed: *mut VARIANT_BOOL) -> HRESULT
unsafe fn Unplayed(&self, isUnplayed: *mut VARIANT_BOOL) -> HRESULT
True if track has not been played.
sourceunsafe fn set_Unplayed(&self, isUnplayed: VARIANT_BOOL) -> HRESULT
unsafe fn set_Unplayed(&self, isUnplayed: VARIANT_BOOL) -> HRESULT
True if track has not been played.
sourceunsafe fn set_SortAlbum(&self, Album: BSTR) -> HRESULT
unsafe fn set_SortAlbum(&self, Album: BSTR) -> HRESULT
The album used for sorting.
sourceunsafe fn SortAlbumArtist(&self, AlbumArtist: *mut BSTR) -> HRESULT
unsafe fn SortAlbumArtist(&self, AlbumArtist: *mut BSTR) -> HRESULT
The album artist used for sorting.
sourceunsafe fn set_SortAlbumArtist(&self, AlbumArtist: BSTR) -> HRESULT
unsafe fn set_SortAlbumArtist(&self, AlbumArtist: BSTR) -> HRESULT
The album artist used for sorting.
sourceunsafe fn SortArtist(&self, Artist: *mut BSTR) -> HRESULT
unsafe fn SortArtist(&self, Artist: *mut BSTR) -> HRESULT
The artist used for sorting.
sourceunsafe fn set_SortArtist(&self, Artist: BSTR) -> HRESULT
unsafe fn set_SortArtist(&self, Artist: BSTR) -> HRESULT
The artist used for sorting.
sourceunsafe fn SortComposer(&self, Composer: *mut BSTR) -> HRESULT
unsafe fn SortComposer(&self, Composer: *mut BSTR) -> HRESULT
The composer used for sorting.
sourceunsafe fn set_SortComposer(&self, Composer: BSTR) -> HRESULT
unsafe fn set_SortComposer(&self, Composer: BSTR) -> HRESULT
The composer used for sorting.
sourceunsafe fn set_SortName(&self, Name: BSTR) -> HRESULT
unsafe fn set_SortName(&self, Name: BSTR) -> HRESULT
The track name used for sorting.
sourceunsafe fn set_SortShow(&self, showName: BSTR) -> HRESULT
unsafe fn set_SortShow(&self, showName: BSTR) -> HRESULT
The show name used for sorting.
sourceunsafe fn AlbumRating(&self, Rating: *mut i32) -> HRESULT
unsafe fn AlbumRating(&self, Rating: *mut i32) -> HRESULT
The user or computed rating of the album that this track belongs to (0 to 100).
sourceunsafe fn set_AlbumRating(&self, Rating: i32) -> HRESULT
unsafe fn set_AlbumRating(&self, Rating: i32) -> HRESULT
The user or computed rating of the album that this track belongs to (0 to 100).
sourceunsafe fn AlbumRatingKind(&self, ratingKind: *mut ITRatingKind) -> HRESULT
unsafe fn AlbumRatingKind(&self, ratingKind: *mut ITRatingKind) -> HRESULT
The album rating kind.
sourceunsafe fn ratingKind(&self, ratingKind: *mut ITRatingKind) -> HRESULT
unsafe fn ratingKind(&self, ratingKind: *mut ITRatingKind) -> HRESULT
The track rating kind.
sourceunsafe fn Playlists(
&self,
iPlaylistCollection: *mut Option<IITPlaylistCollection>
) -> HRESULT
unsafe fn Playlists( &self, iPlaylistCollection: *mut Option<IITPlaylistCollection> ) -> HRESULT
Returns a collection of playlists that contain the song that this track represents.
sourceunsafe fn set_Location(&self, Location: BSTR) -> HRESULT
unsafe fn set_Location(&self, Location: BSTR) -> HRESULT
The full path to the file represented by this track.
sourceunsafe fn ReleaseDate(&self, ReleaseDate: *mut f64) -> HRESULT
unsafe fn ReleaseDate(&self, ReleaseDate: *mut f64) -> HRESULT
The release date of the track. A value of zero means no release date.