Specifications
Windows Embedded Automotive 7 Deep Dive: Phone Core and Media Core 70
4. As soon as track metadata is updated, the WM_UPDATE_METADATA_COMPLETE
message is sent to the application.
The COM object must implement and expose the IMediametadataProvider interface. This
interface is defined in public\automedia\oak\inc\mediametadataprovider.h.
These interfaces provide Media Core the ability to interface with the COM object. In addition,
the COM object uses some public Media Core APIs to complete the metadata process. These
APIs are: MediaBeginEditMetadata, MediaEditMetadataItem, and MediaEndEditMetadata.
These interfaces are defined in public\automedia\oak\sdk\inc\automediacore.h.
iPod Application to Accessory Communication
Windows Embedded Automotive 7 supports iPod device application-to-accessory
communication. This communication provides the capability for an application that resides on
an Apple iPod device to communicate with an application on the Automotive 7 device. The iPod
must have 3.x firmware and above and must be connected to the Automotive 7 device using the
standard iPod 30-pin-to-USB connector (1-wire connection using USB HID).
A BundleSeedID must be registered in order to activate the application-to-accessory
functionality. This value is set with the BundleSeedIDPrefToken key under the
HKEY_LOCAL_MACHINE\Services\IPDSvc registry key. Supported protocols for application-to-
accessory communication must be registered in the
HKEY_LOCAL_MACHINE\Services\IPDSvc\AccessoryInfo\Protocols portion of the registry in the
ProtocolTokenX key with the value <protocol id string>. In order to communicate with the iPod
service directly the application must use the MediaGetDeviceHandle API to get a handle to the
device.
To communicate with an iPod device:
1. Call the CreateMsqQueue function, and then create a queue for iPod service messages.
2. Call IPSRegisterForNotifications to receive a notification when the user attaches the
iPod device to the USB port.
3. After an IPS_MSG message of type IPM_IPODATTACHED is received, call
IPSOpenDevice to start working with the attached iPod device. If the iPod device is
already attached when you call IPSRegisterForNotifications, this message will be sent to
the message queue immediately.
After the iPod device connects, the application receives an IPM_IDPSCOMPLETED notification
that indicates whether the authentication protocol handshake was completed. If wParam is set
to TRUE, the application can receive open session requests from the iPod device. If it is set to
FALSE, the device does not support the Apple proprietary authentication protocol.
To subscribe to an application-to-accessory session request notification for a supported
protocol, the application must call IPSWatchA2ASessions. Only one application can be










