IMDSPStorage4 interface (mswmdm.h)

The IMDSPStorage4 interface extends IMDSPStorage3 for supporting virtual storages (such as playlists and albums) and metadata.

Note  Unless the service provider has added the device parameter UseExtendedWmdm with a value of 1, Windows Media Device Manager will not call this interface. See Device Parameters for more information about this.
 

Inheritance

The IMDSPStorage4 interface inherits from IMDSPStorage3. IMDSPStorage4 also has these types of members:

Methods

The IMDSPStorage4 interface has these methods.

 
IMDSPStorage4::CreateStorageWithMetadata

The CreateStorageWithMetadata method creates a new storage, applying the given metadata to the new storage, and returns a pointer to the IMDSPStorage interface on the newly created storage.
IMDSPStorage4::FindStorage

The FindStorage method finds a storage with the given persistent unique identifier. The persistent unique identifier of a storage is described by the g_wszWMDMPersistentUniqueID property of that storage. (IMDSPStorage4.FindStorage)
IMDSPStorage4::GetParent

The GetParent method retrieves the parent of the current storage.
IMDSPStorage4::GetReferences

The GetReferences method returns an array of pointers to IMDSPStorage objects comprising the references contained in an association storage, such as one representing playlist or album objects.
IMDSPStorage4::GetSpecifiedMetadata

The GetSpecifiedMetadata method retrieves only the specified metadata object for a storage.
IMDSPStorage4::SetReferences

The SetReferences method sets the references contained in a storage that has references (such as playlist/album), overwriting any previously existing references contained in this storage.

Requirements

Requirement Value
Target Platform Windows
Header mswmdm.h

See also

IMDSPStorage Interface

IMDSPStorage2 Interface

IMDSPStorage3 Interface

Interfaces for Service Providers