IMDSPStorage interface (mswmdm.h)
The IMDSPStorage interface provides an instanced-based association with a storage medium on a device. An IMDSPStorage interface 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. The IMDSPStorage2 interface extends IMDSPStorage by getting and setting extended attributes and making it possible to get a pointer to a storage medium from its name.
Inheritance
The IMDSPStorage interface inherits from the IUnknown interface. IMDSPStorage also has these types of members:
Methods
The IMDSPStorage interface has these methods.
IMDSPStorage::CreateStorage The CreateStorage method creates a new storage and returns a pointer to the IMDSPStorage interface on the newly created storage. |
IMDSPStorage::EnumStorage The EnumStorage method accesses the IMDSPEnumStorage interface to enumerate the individual storage media on a device. |
IMDSPStorage::GetAttributes The GetAttributes method retrieves the attributes of this storage object. |
IMDSPStorage::GetDate The GetDate method retrieves the date on which the storage object (file or folder) was most recently modified. |
IMDSPStorage::GetName The GetName method retrieves the display name of the storage object. |
IMDSPStorage::GetRights The GetRights method retrieves the rights information for an object. |
IMDSPStorage::GetSize The GetSize method retrieves the size of the storage object, in bytes. |
IMDSPStorage::GetStorageGlobals The GetStorageGlobals method retrieves the IMDSPStorageGlobals interface to provide access to global information about a storage medium. |
IMDSPStorage::SendOpaqueCommand The SendOpaqueCommands method sends a command through Windows Media Device Manager. Without acting on it, Windows Media Device Manager passes the command through to a device. |
IMDSPStorage::SetAttributes The SetAttributes method sets the attributes of a storage object. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | mswmdm.h |