Module itunes_com::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
- Re-exported type from windows-rs.
- Re-exported type from windows-rs. An error code value returned by most COM functions.
- Re-exported type from windows-rs. Required features:
"Win32_System_Ole" - IITArtwork Interface
- IITArtworkCollection Interface
- IITAudioCDPlaylist Interface
- IITBrowserWindow Interface
- IITConvertOperationStatus Interface
- IITEQPreset Interface
- IITEQPresetCollection Interface
- IITEncoder Interface
- IITEncoderCollection Interface
- IITFileOrCDTrack Interface
- IITIPodSource Interface
- IITLibraryPlaylist Interface
- IITObject Interface
- IITOperationStatus Interface
- IITPlaylist Interface
- IITPlaylistCollection Interface
- IITPlaylistWindow Interface
- IITSource Interface
- IITSourceCollection Interface
- IITTrack Interface
- IITTrackCollection Interface
- IITURLTrack Interface
- IITUserPlaylist Interface
- IITVisual Interface
- IITVisualCollection Interface
- IITWindow Interface
- IITWindowCollection Interface
- IiTunes Interface
- Re-exported type from windows-rs.
Enums
- Specifies the artwork format.
- Specifies the reason the COM interface is being disabled.
- Events generated by IITConvertOperationStatus.
- iTunes-specific HRESULT error codes.
- Events generated by IiTunes.
- Specifies the state of the play/pause/stop button.
- Specifies a player button.
- Player button modifier key flags.
- Specifies the state of the player.
- Specifies the playlist kind.
- Specifies the kind of playlist printout.
- Specifies the playlist playback repeat mode.
- Specifies the fields in each track that will be searched by IITPlaylist::Search().
- Specifies the rating kind (added in iTunes type library 1.10).
- Specifies the source kind.
- Specifies the track kind.
- Specifies the user playlist special kind.
- The major and minor version of the iTunes type library. Use these constants with CheckVersion().
- Specifies the video track kind (added in iTunes type library 1.8).
- Specifies the size of the visuals.
- Specifies the window kind.
Constants
- Convenience constant
- The GUID used to create an instance of
crate::sys::IiTunes. - Convenience constant