共用方式為


IWMCodecInfo2 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 IWMCodecInfo2 interface manages the retrieval of information about codecs. To access it, call QueryInterface on a profile manager object.

Inheritance

The IWMCodecInfo2 interface inherits from IWMCodecInfo. IWMCodecInfo2 also has these types of members:

Methods

The IWMCodecInfo2 interface has these methods.

 
IWMCodecInfo2::GetCodecFormatDesc

The GetCodecFormatDesc method retrieves a description of a specified codec format. This method also retrieves a stream configuration object containing the settings for the codec format.
IWMCodecInfo2::GetCodecName

The GetCodecName method retrieves the name of a specified codec.

Requirements

Requirement Value
Target Platform Windows
Header wmsdkidl.h

See also

IWMCodecInfo Interface

IWMProfileManager Interface

Interfaces

Profile Manager Object