WM/GenreID

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

The WM/GenreID attribute contains a genre identifier compliant with the contents of the TCON tag in ID3v2. This should contain the genre ID in parentheses, optionally followed by a refinement further describing the genre. For more information, refer to the ID3v2 specification.

Global Constant

g_wszWMGenreID

Data Type

WMT_TYPE_STRING

Remarks

The preferred attribute for specifying a genre is WM/Genre. Use it in preference to this attribute.

If you change either WM/Genre or WM/GenreID in an MP3 file, the other attribute will be changed to match.

Example

File type Example value
Audio "(4) Eurodisco"

 

See also

Attribute List