Share via


IWMDMStorageControl Interface

banner art

The IWMDMStorageControl interface can be used to manage the content (data objects) that exist on a storage medium. The IWMDMStorageControl2 interface extends this interface by making it possible to set the name of the destination file when inserting content into a storage. IWMDMStorageControl3 extends this interface by making it possible to pass in an IWMDMMetaData interface.

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

Method Description
Delete Permanently removes specified content from a storage medium.
Insert Inserts content onto a storage medium. The Insert method does not necessarily imply any particular ordering of the contents, although if the file system supports ordering, the Insert method has that capability.
Move Moves a file on the IWMDMStorage object. If the service provider does not support moving content on the device, this method will return failure.
Read Reads content from a portable storage medium and copies it to the computer.
Rename Renames content on a storage medium. If the service provider does not support renaming content on the device, this method will return failure.

See Also