IWMHeaderInfo2 interface (wmsdkidl.h)
[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 IWMHeaderInfo2 interface exposes information about the codecs used to create the content in a file.
The IWMHeaderInfo2 interface is implemented by the metadata editor object, the writer object, the reader object, and the synchronous reader object. To obtain a pointer to an instance, call the QueryInterface method of any other interface in the desired object.
Inheritance
The IWMHeaderInfo2 interface inherits from IWMHeaderInfo. IWMHeaderInfo2 also has these types of members:
Methods
The IWMHeaderInfo2 interface has these methods.
IWMHeaderInfo2::GetCodecInfo The GetCodecInfo method retrieves information about a codec that is used to create the content of a file. |
IWMHeaderInfo2::GetCodecInfoCount The GetCodecInfoCount method retrieves the number of codecs for which information is available. |
Remarks
For information about using the writer for metadata editing, see To Edit Metadata with the Writer.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | wmsdkidl.h |