Specifications

Windows Embedded Automotive 7 Deep Dive: Phone Core and Media Core 83
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AutoMediaCore\Config\Fields\<field name>
These keys enable new metadata fields to be indexed by Media Core. Each key contains the
following values.
Key Value
Type
Description
CategoryId
DWORD
The unique identifier for this metadata field. The value must be greater
than 0x100 and cannot exceed 0xFFFF.
MediaDataType
DWORD
The type of data that is expected for the metadata. The value must be of
type MEDIA_DATA_TYPE. The default value is MediaTypeUnknown.
IndexField
DWORD
Optional. A Boolean flag that specifies if the metadata field is to be indexed
as an extended metadata field. If the value is not specified, then the field is
not indexed. The default value is 1 (TRUE).
TrackType
DWORD
A Boolean flag that specifies if the metadata field is to be a playable type. If
the value is 0, it is not played by Media Core. The default value is 0.
FieldNameString
REG_SZ
Optional. The default string name for the field. If this value is specified, it is
returned by the MediaGetSupportedFieldsInfo API. Otherwise, <field
name> is returned.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AutoMediaCore\Config\Fields\<field
name>\<source plug-in>
These keys contain configuration values that are specific to source plug-ins. These values describe
how metadata is retrieved from the source device.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AutoMediaCore\Config\LocalSource
These keys contain configurations common to all local sources.
Key Value
Type
Description
CopyDRM
DWORD
If set to 1, all files with DRM are copied to local source. Otherwise, they are
ignored. This field is optional. The default value is 0.
CopyDups
DWORD
If set to 1, then files that have the same name as an existing file (but contain
different metadata) are copied to local source by appending a unique
number to their name. This field is optional. The default value is 1.
CopyThreadPriority
DWORD
0 to 255. Thread priority for thread copying files to local source. This field is
optional.
CurrentLocalSource
STRING
Name of the current active local source. This field is mandatory. If this is not
set, then no local source is used.
TotalIndexSize
DWORD
Size of the index in bytes.