Module sys

Module sys 

Source
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
IITArtworkCollection
IITArtworkCollection Interface
IITAudioCDPlaylist
IITAudioCDPlaylist Interface
IITBrowserWindow
IITBrowserWindow Interface
IITConvertOperationStatus
IITConvertOperationStatus Interface
IITEQPreset
IITEQPreset Interface
IITEQPresetCollection
IITEQPresetCollection Interface
IITEncoder
IITEncoder Interface
IITEncoderCollection
IITEncoderCollection Interface
IITFileOrCDTrack
IITFileOrCDTrack Interface
IITIPodSource
IITIPodSource Interface
IITLibraryPlaylist
IITLibraryPlaylist Interface
IITObject
IITObject Interface
IITOperationStatus
IITOperationStatus Interface
IITPlaylist
IITPlaylist Interface
IITPlaylistCollection
IITPlaylistCollection Interface
IITPlaylistWindow
IITPlaylistWindow Interface
IITSource
IITSource Interface
IITSourceCollection
IITSourceCollection Interface
IITTrack
IITTrack Interface
IITTrackCollection
IITTrackCollection Interface
IITURLTrack
IITURLTrack Interface
IITUserPlaylist
IITUserPlaylist Interface
IITVisual
IITVisual Interface
IITVisualCollection
IITVisualCollection Interface
IITWindow
IITWindow Interface
IITWindowCollection
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§

ITArtworkFormat
Specifies the artwork format.
ITCOMDisabledReason
Specifies the reason the COM interface is being disabled.
ITConvertOperationStatusEvent
Events generated by IITConvertOperationStatus.
ITErrors
iTunes-specific HRESULT error codes.
ITEvent
Events generated by IiTunes.
ITPlayButtonState
Specifies the state of the play/pause/stop button.
ITPlayerButton
Specifies a player button.
ITPlayerButtonModifierKey
Player button modifier key flags.
ITPlayerState
Specifies the state of the player.
ITPlaylistKind
Specifies the playlist kind.
ITPlaylistPrintKind
Specifies the kind of playlist printout.
ITPlaylistRepeatMode
Specifies the playlist playback repeat mode.
ITPlaylistSearchField
Specifies the fields in each track that will be searched by IITPlaylist::Search().
ITRatingKind
Specifies the rating kind (added in iTunes type library 1.10).
ITSourceKind
Specifies the source kind.
ITTrackKind
Specifies the track kind.
ITUserPlaylistSpecialKind
Specifies the user playlist special kind.
ITVersion
The major and minor version of the iTunes type library. Use these constants with CheckVersion().
ITVideoKind
Specifies the video track kind (added in iTunes type library 1.8).
ITVisualSize
Specifies the size of the visuals.
ITWindowKind
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§

IITArtworkCollection_Impl
IITArtwork_Impl
IITAudioCDPlaylist_Impl
IITBrowserWindow_Impl
IITConvertOperationStatus_Impl
IITEQPresetCollection_Impl
IITEQPreset_Impl
IITEncoderCollection_Impl
IITEncoder_Impl
IITFileOrCDTrack_Impl
IITIPodSource_Impl
IITLibraryPlaylist_Impl
IITObject_Impl
IITOperationStatus_Impl
IITPlaylistCollection_Impl
IITPlaylistWindow_Impl
IITPlaylist_Impl
IITSourceCollection_Impl
IITSource_Impl
IITTrackCollection_Impl
IITTrack_Impl
IITURLTrack_Impl
IITUserPlaylist_Impl
IITVisualCollection_Impl
IITVisual_Impl
IITWindowCollection_Impl
IITWindow_Impl
IiTunes_Impl