Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

IITIPodSource Interface Reference

Inheritance diagram for IITIPodSource:

IITSource IITObject List of all members.

Detailed Description

Represents an iPod source.


Public Member Functions

Methods
HRESULT UpdateIPod ()
 Update the contents of the iPod.
HRESULT EjectIPod ()
 Eject the iPod.
Properties
HRESULT SoftwareVersion ([out, retval] BSTR *softwareVersion)
 Returns the version of the iPod's software, formatted as a string (e.g. "1.0" or "3.0.2").


Member Function Documentation

HRESULT IITIPodSource::EjectIPod  ) 
 

Eject the iPod.

Note:
This property is available in iTunes 4.7 and later (iTunes type library 1.2 and later).
Return values:
S_OK The operation was successful.
S_FALSE The iPod could not be ejected.
ITUNES_E_OBJECTDELETED This iPod source is no longer available.
E_FAIL An unexpected error occurred.

HRESULT IITIPodSource::SoftwareVersion [out, retval] BSTR *  softwareVersion  ) 
 

Returns the version of the iPod's software, formatted as a string (e.g. "1.0" or "3.0.2").

Note:
This property is available in iTunes 4.8 and later (iTunes type library 1.3 and later).
Parameters:
softwareVersion Returns the version of the iPod's software.
Return values:
S_OK The operation was successful.
E_POINTER softwareVersion is NULL.
ITUNES_E_OBJECTDELETED This iPod source is no longer available.
E_FAIL An unexpected error occurred.

HRESULT IITIPodSource::UpdateIPod  ) 
 

Update the contents of the iPod.

You can only update an iPod if it is configured for automatic updating.

Return values:
S_OK The operation was successful.
S_FALSE The iPod could not be updated (e.g. it isn't configured for automatic updating).
ITUNES_E_OBJECTDELETED This iPod source is no longer available.
E_FAIL An unexpected error occurred.


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