iTunes COM Interface: iTunes COM Interface Changes

iTunes COM

iTunes COM Interface Changes

The iTunes COM interface was first released with iTunes 4.5, which included version 1.0 of the iTunes type library.

Use IiTunes::CheckVersion() with the major and minor version of the type library to determine if the version of iTunes currently installed supports the interface you need.

Version 1.12 Changes

iTunes 8.1 included version 1.12 of the iTunes type library.

Version 1.11 Changes

iTunes 7.7 included version 1.11 of the iTunes type library.

IiTunes

IITSourceCollection

IITPlaylistCollection

IITTrackCollection

IITArtwork

IITFileOrCDTrack

IITURLTrack

Version 1.10 Changes

iTunes 7.4 included version 1.10 of the iTunes type library.

IITUserPlaylist

IITAudioCDPlaylist

IITFileOrCDTrack

IITURLTrack

Version 1.9 Changes

iTunes 7.1 included version 1.9 of the iTunes type library.

IITFileOrCDTrack

Version 1.8 Changes

iTunes 7.0 included version 1.8 of the iTunes type library.

IiTunes

IITArtwork

IITFileOrCDTrack

IITUserPlaylist

Version 1.7 Changes

iTunes 6.0.2 included version 1.7 of the iTunes type library.

IiTunes

IITUserPlaylist

IITFileOrCDTrack

Version 1.6 Changes

iTunes 6.0 included version 1.6 of the iTunes type library.

IITUserPlaylist

Version 1.5 Changes

iTunes 5.0 included version 1.5 of the iTunes type library.

iTunes Errors

IiTunes

IITFileOrCDTrack

IITURLTrack

IITUserPlaylist

Version 1.4 Changes

iTunes 4.9 included version 1.4 of the iTunes type library.

IiTunes

IITUserPlaylist

IITFileOrCDTrack

IITURLTrack

Version 1.3 Changes

iTunes 4.8 and 4.8.1 included version 1.3 of the iTunes type library.

IiTunes

IITIPodSource

_IITConvertOperationStatusEvents

Version 1.2 Changes

iTunes 4.7 and 4.7.1 included version 1.2 of the iTunes type library.

iTunes Errors

_IiTunesEvents

IiTunes

IITEQPreset

IITFileOrCDTrack

IITIPodSource

IEnumVARIANT

  • Added IEnumVARIANT support to iTunes collection objects to allow clients to use enumeration semantics to iterate collections. For example, you can now use foreach in C#:

        IiTunes                 iTunes = new iTunesAppClass();
        IITPlaylistCollection   iPlaylists = iTunes.LibrarySource.Playlists;
    
        foreach (IITPlaylist iPlaylist in iPlaylists)
        {
            Console.WriteLine(iPlaylist.Name);
        }
    

  • You can also use For Each in VBScript:

        Set iTunesApp = WScript.CreateObject("iTunes.Application")
    
        Dim aPlaylist
    
        For Each aPlaylist In iTunesApp.LibrarySource.Playlists
            WScript.Echo(aPlaylist.Name)
        Next
    

Specifically, the following properties were added:

Version 1.1 Changes

iTunes 4.6 included version 1.1 of the iTunes type library.

IiTunes

_IiTunesEvents

IITConvertOperationStatus

_IITConvertOperationStatusEvents


Generated on Fri Mar 13 12:50:54 2009 for iTunes 8.1.0.52
©2004-2007 Apple Computer, Inc.