An instance of the IWMDMStorage interface provides methods to examine and explore a storage (a generic name for a data or collection object, such as a file, folder, or playlist) on a device. Note that storages cannot be used to refer to objects on the computer, only on the device. IWMDMStorage can contain nested objects, and can represent the root object (the entire storage medium) or any child object, such as a folder or file, on that medium. The IWMDMStorage2 interface extends this interface by making it possible to get a storage pointer from a storage name and to get and set extended attributes. IWMDMStorage3 extends this interface by supporting metadata.
In addition to the methods inherited from IUnknown, the IWMDMStorage interface exposes the following methods.
|EnumStorage||Retrieves an IWMDMEnumStorage interface to enumerate the immediate child storages of the current storage.|
|GetAttributes||Retrieves the attributes of the storage.|
|GetDate||Retrieves the date on which the storage was most recently modified.|
|GetName||Retrieves the display name of the storage.|
|GetRights||Retrieves the rights information for a licensed storage.|
|GetSize||Retrieves the size of the storage, in bytes.|
|GetStorageGlobals||Retrieves the IWMDMStorageGlobals interface to provide access to global information about a storage medium.|
|SendOpaqueCommand||Sends a command to the storage through Windows Media Device Manager.|
|SetAttributes||Sets the attributes of the storage.|