Share via


About the Metadata

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Windows Media Player 10 or later attempts to synchronize the following metadata attributes.

Player attribute WMDM global constant Description Required version
AlbumArtist g_wszWMDMAlbumArtist Null-terminated string containing the name of the primary artist for the album. Windows Media Player 11 or later.
Album g_wszWMDMAlbumTitle Null-terminated string containing the title of the album on which the content was originally released. Windows Media Player 11 or later.
Author g_wszWMDMAuthor Null-terminated string containing the name of the media artist or actor associated with the content. Windows Media Player 11 or later.
BuyNow g_wszWMDMBuyNow Boolean indicating whether the user has chosen to purchase the content. Windows Media Player 10 or later.
WM/Genre g_wszWMDMGenre Null-terminated string containing the genre of the content. Windows Media Player 11 or later.
UserPlayCount g_wszWMDMPlayCount DWORD containing the number of times the user has played the digital media file. Windows Media Player 10 or later.
ReleaseDate g_wszWMDMYear The date of the original release of the item. Windows Media Player 11 or later.
Title g_wszWMDMTitle Null-terminated string containing the title. Windows Media Player 11 or later.
WM/TrackNumber g_wszWMDMTrack DWORD containing the track number of the item on the album on which it was originally released. Windows Media Player 11 or later.
UserRating g_wszWMDMUserRating DWORD containing a value that represents the star rating the user specified for the digital media file. Windows Media Player 10 or later.

 

Device Extensions for Accelerated Metadata Transfer