Share via


Media MDB Object Properties (Compact 7)

3/12/2014

Media MDB Object Properties for All Object Formats

The following table lists the object properties that the Media MDB supports for all object formats.

Object property MTP datacode Description

StorageID

0xDC01

The storage area on the device where the object is stored.

In MTP storage, you designate only one StorageID on the device for the folders that are shared for MTP access. All MTP objects on the device have the same StorageID.

Object Format

0xDC02

An object’s format determines the properties that the object will support.

The format is either 0x3000 (file) or 0x3001 (folder) and is stored implicitly in the MTP file system on the device.

Protection Status

0xDC03

The status is either 0x0000 (No Protection) or 0x8001 (Read-only data); the mapping depends on whether the object is marked read-only in the MTP file system.

Object Size

0xDC04

The size of the data component of the object, in bytes. This property is ignored for folders.

Object File Name

0xDC07

The file name of the object, including the extension, but not the path.

Parent Object

0xDC0B

The object handle of the parent folder, which must be an object of the Association (0x3001) format. If the object is at the root, this value is 0xffffffff.

Persistent Unique Object Identifier

0xDC41

Although called the persistent unique object identifier (PUOID) in the MTP specification, the PUOID is not persistent between sessions in the MTP storage implementation.

The PUOID is a 128-bit version of the object handle. It is not used by the computer. Because the PUOID is not persistent in the device’s Media MDB, the computer cannot rely on the PUOID to maintain data synchronization with the device.

Name

0xDC44

The value returned for a file is the file name without the path or extension. For a folder, the value returned is the folder name without the path. The value that is sent by Windows when Windows creates an object is ignored.

Non-Consumable

0xDC4F

Indicates whether the object was transferred to the portable media player for storage only and is not available to be consumed (for example, played) by the portable device.

The device returns 1 for files and 0 (zero) for folders. Windows does not send values for this property, but any such values would be ignored if sent.

Date Created

0xDC08

The date and time when the object was created. This value maps to the value in the MTP responder file system on the device.

Date Modified

0xDC09

The date and time when the object was last altered. This value maps to the value in the file system.

Hidden

0xDC0D

Identifies whether an object is displayed to users or is hidden and only used by applications. This value maps to the value in the MTP responder file system.

Association Type

0xDC05

Describes the kind of collection. A value of 1 indicates that the Association Type is a generic folder, which is the only Association Type that MTP storage supports.

This value is never sent by Windows. MTP storage ignores any values sent; returns 1 for folder and returns 0 (zero) for a file.

AssociationDesc

0xDC06

Provides additional information about the Association Type.

MTP storage ignores any values sent; returns 0 (zero) for either a file or a folder. This value is never sent by Windows.

Media MDB Object Properties by Content Format

In addition, the Media MDB supports more object properties if the object format translates to an image file, an audio file, or a video file. The following table lists the object properties that the Media MDB supports for image, audio, and video object formats.

Object property MTP datacode Image Audio Video

Artist

0xDC46

X

X

Description

0xDC48

X

Representative Sample Format

0xDC81

X

Representative Sample Size

0xDC82

X

Representative Sample Height

0xDC83

X

Representative Sample Width

0xDC84

X

Representative Sample Data

0xDC86

X

Width

0xDC87

X

X

Height

0xDC88

X

X

Duration

0xDC89

X

X

User Rating

0xDC8A

X

X

Track

0xDC8B

X

X

Genre

0xDC8C

X

X

Use Count

0xDC91

X

X

Album Name

0xDC9A

X

X

Album Artist

0xDC9B

X

X

Bit Rate Type

0xDE92

X

X

Sample Rate

0xDE93

X

X

Number of Channels

0xDE94

X

X

Scan Type

0xDE97

X

Audio Wave Codec

0xDE99

X

X

Audio Bit Rate

0xDE9A

X

X

Video FourCC Codec

0xDE9B

X

Video Bit Rate

0xDE9C

X

Frames Per Thousand Seconds

0xDE9D

X

Key Frame Distance

0xDE9E

X

Encoding Profile

0xDEA1

X

Encoding Quality

0xDEA0

X

Audio Bit Depth

0xDE95

X

X

DRM Protection

0xDC9D

X

X

For more information about MTP object formats and properties, see the MTP 1.0 Specification. (Opens as a .zip file.)

See Also

Concepts

MTP Storage
Media MDB MTP Operations
Media MDB Object Formats
Media MDB Implementation
Media MDB Optimization