Compartilhar via


IWMDMStorage Interface

banner art

An instance of the IWMDMStorage interface is associated with each storage medium on a device. IWMDMStorage can represent the entire storage medium or be further enumerated to represent any object, such as a folder or file, on that medium. This enumeration describes the organization of a hierarchical storage 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.

Method Description
EnumStorage Accesses the IWMDMEnumStorage interface to enumerate the nested storage content, which, at the top level, will be individual storage media on a device.
GetAttributes Retrieves the attributes of a storage object.
GetDate Retrieves the date on which the storage object (file or folder) was most recently modified.
GetName Retrieves the display name of a storage object.
GetRights Retrieves the rights information for the object.
GetSize Retrieves the size of a storage object, in bytes.
GetStorageGlobals Retrieves the IWMDMStorageGlobals interface to provide access to global information about a storage medium.
SendOpaqueCommand Sends a command through Windows Media Device Manager. Without acting on it, Windows Media Device Manager passes the command through to a device.
SetAttributes Sets the attributes of a storage object.

See Also