Expand description
Raw bindings over iTunes COM API
§Where to find them?
Some resources online (e.g. here or there)
expose the documentation generated from IDL files.
They do not tell in which order they are defined, which is meaningful.
Opening iTunes.exe in oleview.exe (File > View TypeLib, then open iTunes.exe) generates (pseudo)IDL files that are suitable to correctly define bindings. That’s then a matter of finding-and-replacing IDL patterns with Rust patterns and hope the bindings are eventually correct.
Structs§
- BSTR
- Re-exported type from windows-rs.
- HRESULT
- Re-exported type from windows-rs. An error code value returned by most COM functions.
- IEnumVARIANT
- Re-exported type from windows-rs.
Required features:
"Win32_System_Ole" - IITArtwork
- IITArtwork Interface
- IITArtwork
Collection - IITArtworkCollection Interface
- IITAudioCD
Playlist - IITAudioCDPlaylist Interface
- IITBrowser
Window - IITBrowserWindow Interface
- IITConvert
Operation Status - IITConvertOperationStatus Interface
- IITEQ
Preset - IITEQPreset Interface
- IITEQ
Preset Collection - IITEQPresetCollection Interface
- IITEncoder
- IITEncoder Interface
- IITEncoder
Collection - IITEncoderCollection Interface
- IITFile
OrCD Track - IITFileOrCDTrack Interface
- IITI
PodSource - IITIPodSource Interface
- IITLibrary
Playlist - IITLibraryPlaylist Interface
- IITObject
- IITObject Interface
- IITOperation
Status - IITOperationStatus Interface
- IITPlaylist
- IITPlaylist Interface
- IITPlaylist
Collection - IITPlaylistCollection Interface
- IITPlaylist
Window - IITPlaylistWindow Interface
- IITSource
- IITSource Interface
- IITSource
Collection - IITSourceCollection Interface
- IITTrack
- IITTrack Interface
- IITTrack
Collection - IITTrackCollection Interface
- IITURL
Track - IITURLTrack Interface
- IITUser
Playlist - IITUserPlaylist Interface
- IITVisual
- IITVisual Interface
- IITVisual
Collection - IITVisualCollection Interface
- IITWindow
- IITWindow Interface
- IITWindow
Collection - IITWindowCollection Interface
- IiTunes
- IiTunes Interface
- VARIANT
- Re-exported type from windows-rs.
Required features:
"Win32_System_Com","Win32_Foundation","Win32_System_Ole" - VARIANT_
BOOL - Re-exported type from windows-rs.
Enums§
- ITArtwork
Format - Specifies the artwork format.
- ITCOM
Disabled Reason - Specifies the reason the COM interface is being disabled.
- ITConvert
Operation Status Event - Events generated by IITConvertOperationStatus.
- ITErrors
- iTunes-specific HRESULT error codes.
- ITEvent
- Events generated by IiTunes.
- ITPlay
Button State - Specifies the state of the play/pause/stop button.
- ITPlayer
Button - Specifies a player button.
- ITPlayer
Button Modifier Key - Player button modifier key flags.
- ITPlayer
State - Specifies the state of the player.
- ITPlaylist
Kind - Specifies the playlist kind.
- ITPlaylist
Print Kind - Specifies the kind of playlist printout.
- ITPlaylist
Repeat Mode - Specifies the playlist playback repeat mode.
- ITPlaylist
Search Field - Specifies the fields in each track that will be searched by IITPlaylist::Search().
- ITRating
Kind - Specifies the rating kind (added in iTunes type library 1.10).
- ITSource
Kind - Specifies the source kind.
- ITTrack
Kind - Specifies the track kind.
- ITUser
Playlist Special Kind - Specifies the user playlist special kind.
- ITVersion
- The major and minor version of the iTunes type library. Use these constants with CheckVersion().
- ITVideo
Kind - Specifies the video track kind (added in iTunes type library 1.8).
- ITVisual
Size - Specifies the size of the visuals.
- ITWindow
Kind - Specifies the window kind.
Constants§
- FALSE
- Convenience constant
- ITUNES_
APP_ COM_ GUID - The GUID used to create an instance of
crate::sys::IiTunes. - TRUE
- Convenience constant
Traits§
- IITArtwork
Collection_ Impl - IITArtwork_
Impl - IITAudioCD
Playlist_ Impl - IITBrowser
Window_ Impl - IITConvert
Operation Status_ Impl - IITEQ
Preset Collection_ Impl - IITEQ
Preset_ Impl - IITEncoder
Collection_ Impl - IITEncoder_
Impl - IITFile
OrCD Track_ Impl - IITI
PodSource_ Impl - IITLibrary
Playlist_ Impl - IITObject_
Impl - IITOperation
Status_ Impl - IITPlaylist
Collection_ Impl - IITPlaylist
Window_ Impl - IITPlaylist_
Impl - IITSource
Collection_ Impl - IITSource_
Impl - IITTrack
Collection_ Impl - IITTrack_
Impl - IITURL
Track_ Impl - IITUser
Playlist_ Impl - IITVisual
Collection_ Impl - IITVisual_
Impl - IITWindow
Collection_ Impl - IITWindow_
Impl - IiTunes_
Impl