Skip to content

Latest commit

 

History

History
63 lines (37 loc) · 1.78 KB

wm-genreid.md

File metadata and controls

63 lines (37 loc) · 1.78 KB
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
WM/GenreID windows Media Format
apiref
WM/GenreID
NA
reference
4/26/2023
UpdateFrequency5

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