WMT_CODEC_INFO_TYPE enumeration (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 WMT_CODEC_INFO_TYPE enumeration type defines the broad categories of codecs supported by this SDK.
Syntax
typedef enum WMT_CODEC_INFO_TYPE {
WMT_CODECINFO_AUDIO = 0,
WMT_CODECINFO_VIDEO = 1,
WMT_CODECINFO_UNKNOWN = 0xffffffff
} ;
Constants
WMT_CODECINFO_AUDIO Value: 0 Audio codec. |
WMT_CODECINFO_VIDEO Value: 1 Video codec. |
WMT_CODECINFO_UNKNOWN Value: 0xffffffff Codec of an unknown type. |
Remarks
This type is used when adding or retrieving the codecs used in a file using IWMHeaderInfo2::GetCodecInfo and IWMHeaderInfo3::AddCodecInfo. When enumerating codecs with the methods of IWMCodecInfo, IWMCodecInfo2, and IWMCodecInfo3, you do not use this type. Those methods use the major media type GUIDs instead.
Requirements
Minimum supported client | Windows 2000 Professional [desktop apps only],Windows Media Format 7 SDK, or later versions of the SDK |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | wmsdkidl.h (include Wmsdk.h) |