WM/UniqueFileIdentifier

[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/UniqueFileIdentifier attribute contains a unique file identifier for the content.

Global Constant

g_wszWMUniqueFileIdentifier

Data Type

WM_TYPE_STRING

Remarks

The unique file identifier is a generic string that can be used by applications and services to uniquely identify the file. The string contains semicolon-delimited arbitrary values. You should never clear this attribute. You can append values and remove your own values, but all others should be left unaltered.

See also

Attribute List