Share via


IPortableDeviceContent Interface

banner art

Previous Next

IPortableDeviceContent Interface

The IPortableDeviceContent interface provides methods to create, enumerate, examine, and delete content on a device. To get this interface, call IPortableDevice::Content.

In addition to the methods inherited from IUnknown, the IPortableDeviceContent interface exposes the following methods.

Method Description
Cancel Cancels a pending operation called on this interface.
Copy Copies objects from one location on a device to another.
CreateObjectWithPropertiesAndData Creates an object with both properties and data on the device.
CreateObjectWithPropertiesOnly Creates an object with only properties on the device.
Delete Deletes one or more objects from the device.
EnumObjects Retrieves an interface that is used to enumerate the immediate child objects of an object.
GetObjectIDsFromPersistentUniqueIDs Retrieves the current object ID of one or more objects, given their persistent unique IDs (PUIDs).
Move Moves one or more objects on the device.
Properties Retrieves the interface required to get or set properties on an object on the device.
Transfer Retrieves an interface that is used to read from or write to the content data of an existing object resource.

Requirements

Header: Defined in PortableDeviceApi.h

Library: PortableDeviceGUIDs.lib

See Also

Previous Next