Previous | Next |
The IMDSPStorage interface provides an instanced-based association with a storage medium on a device. Importantly IMDSPStorage can represent the entire storage medium, or can be further enumerated to represent any object, such as a folder or file, on that medium. This reiterative enumeration provides the mechanism for describing the organization of a hierarchically structured storage medium.
The methods of IMDSPStorage can be used to gather information about the object that the interface represents.
In addition to the methods inherited from IUnknown, the IMDSPStorage interface exposes the following methods.
Method | Description |
CreateStorage | Creates a new storage at the level of this storage and returns a pointer to the IMDSPStorage interface on the newly created storage. |
GetAttributes | Retrieves the attributes of the storage object. |
GetDate | Retrieves the date on which the storage object (file or folder) was most recently modified. |
EnumStorage | Accesses the IMDSPEnumStorage interface to enumerate the individual storage media on a device |
GetName | Retrieves the display name of the storage object. |
GetSize | Retrieves the size of the storage object, in bytes. |
GetStorageGlobals | Retrieves the IMDSPStorageGlobals interface to provide access to global information about a storage medium. |
GetRights | Retrieves the rights information for the object. |
SendOpaqueCommand | Sends a command through Windows Media Device Manager. Without acting on it, Windows Media Device Manager then passes the command through to a device. |
SetAttributes | Sets the attributes of the storage object. |
See Also
Previous | Next |