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.


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


The IMDSPStorage4 interface has these methods.


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.

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)

The GetParent method retrieves the parent of the current storage.

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.

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

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.


Requirement Value
Target Platform Windows
Header mswmdm.h

See also

IMDSPStorage Interface

IMDSPStorage2 Interface

IMDSPStorage3 Interface

Interfaces for Service Providers