Media MDB MTP Operations (Compact 7)
3/12/2014
MTP command functionality in MTP Responder for Windows Embedded Compact 7 is confined to operations and object types that support file browsing and management on the device, file transfers between a device and a computer, and synchronizing files from a computer to a device.
The following table lists the operations supported by Media MDB storage.
MTP operation | Description |
---|---|
OpenSession |
Opens a new MTP session for communication between the computer and the device. |
CloseSession |
Closes an active session. |
GetStorageIDs |
Retrieves the storage ID for the storage area on the device. |
GetStorageInfo |
Retrieves a StorageInfo data set that describes a storage area on the device. |
GetNumObjects |
Retrieves a count of the number of MTP objects that are stored on the device. |
GetObjectHandles |
Retrieves an array of object handles that the computer can use to access the MTP objects that are stored on the device. |
GetObjectInfo |
Retrieves the ObjectInfo data set for the specified MTP object on the device. |
GetObject |
Retrieves the binary data component of the specified object on the device. |
DeleteObject |
Deletes an object or set of objects from the device. |
SendObjectInfo |
Sends an ObjectInfo data set to the device to prepare it to receive a new object. |
SendObject |
Sends the binary data component of an MTP object to the device. |
FormatStore |
Provides a method to quickly delete all content on the device. Using this command is faster than individually deleting each object in the store. |
MoveObject |
Changes the location of an object on the device by changing the location in which it is located. |
WMPReportAddedDeletedItems |
Creates a list of objects that have been moved. |
WMPReportAcquiredItems |
Creates a list of objects that have been acquired. |
GetDeviceInfo |
Retrieves a DeviceInfo data set that describes the device in detail. |
GetDevicePropDesc |
Retrieves a DevicePropDesc data set for a property of the device. |
GetDevicePropValue |
Retrieves the current value of a property of the device. |
SetDevicePropValue |
Sets the current value of a property of the device. |
ResetDevicePropValue |
Resets the current value of a property of the device. |
GetServiceIDs |
Retrieves a list of the IDs of the services available on the device. |
GetServiceInfo |
Retrieves the ServiceInfo data set for a particular service. |
GetServiceCapabilities |
Retrieves a ServiceCapabilityList data set that contains all object format and method format information for a service. |
GetServiceProperties |
Gets the ServicePropertyDesc data set for the service. |
GetServicePropertyList |
Retrieves a ServicePropList data set that contains a list of property values from the service. |
SetServicePropertyList |
Sets a property of the service by using the ServicePropList. |
DeleteServicePropList |
Removes the properties specified in the DeleteServicePropList data set from the specified service. If a property is not removable, it is returned to its default value. |
UpdateObjectPropertyList |
Sets the property list for a particular object that will be updated with a new binary object. Use this command to replace the binary data of an existing object. |
DeleteObjectPropList |
Removes the properties specified in the DeleteObjectPropList data set from the specified object or objects. If a property is not removable, it is returned to its default value. |
GetObjectPropsSupported |
Retrieves a list of object properties that the device supports for a class of MTP objects that share a particular object format. |
GetObjectPropDesc |
Retrieves an ObjectPropDesc data set that describes a particular property of a class of MTP objects that share a particular object format. |
GetObjectPropValue |
Retrieves the current value of an object property. |
SetObjectPropValue |
Sets the current value of an object property. |
GetObjectPropList |
Retrieves an ObjectPropList data set that contains a list of property values of the object. |
SetObjectPropList |
Sets the current value of an object property using the ObjectPropList data set. |
SendObjectPropList |
Sends an ObjectPropList data set that contains a list of property values of the object. |
GetObjectReferences |
Retrieves an array of object handles referenced by the object. |
SetObjectReferences |
Sets an array of object handles referenced by the object. |
For more information about MTP operations, see the MTP 1.0 Specification. (Opens as a .zip file.)
See Also
Concepts
MTP Storage
Media MDB Object Formats
Media MDB Object Properties
Media MDB Implementation
Media MDB Optimization