title | description | ms.assetid | keywords | topic_type | api_name | api_type | ms.topic | ms.date | ms.custom | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WM/GenreID |
The WM/GenreID attribute contains a genre identifier compliant with the contents of the TCON tag in ID3v2. |
2f2a87f7-ba2d-465a-a36b-a8f58b5dd2d0 |
|
|
|
|
reference |
4/26/2023 |
UpdateFrequency5 |
[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.
g_wszWMGenreID
WMT_TYPE_STRING
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.
File type | Example value |
---|---|
Audio | "(4) Eurodisco" |