Applies to: desktop apps only
The IWMCodecInfo interface retrieves the number and types of codecs available. You can use this interface to get information about supported compressed data formats for creating custom profiles.
Individual codec formats exist only for audio codecs. The characteristics of compressed video will vary based upon the frame size and color depth of the original digital media and, therefore, cannot be predicted until the time of encoding.
An IWMCodecInfo interface exists for each profile manager object. You can obtain a pointer to an instance of this interface by calling the QueryInterface method of any other interface in the profile manager object, typically IWMProfileManager.
The methods of the IWMCodecInfo interface are inherited by IWMCodecInfo2 and IWMCodecInfo3.
Members
The IWMCodecInfo interface inherits from the IUnknown interface. IWMCodecInfo also has these types of members:
Methods
The IWMCodecInfo interface has these methods.
| Method | Description |
|---|---|
| GetCodecFormat |
Retrieves a structure describing the format of a specified codec. |
| GetCodecFormatCount |
Retrieves the number of formats supported by the specified codec. |
| GetCodecInfoCount |
Retrieves the number of supported codecs. |
The following interfaces can be obtained by using the QueryInterface method of this interface.
| Interface | IID |
|---|---|
| IWMCodecInfo2 | IID_IWMCodecInfo2 |
| IWMCodecInfo3 | IID_IWMCodecInfo3 |
| IWMProfileManager | IID_IWMProfileManager |
| IWMProfileManager2 | IID_IWMProfileManager2 |
| IWMProfileManagerLanguage | IID_IWMProfileManagerLanguage |
See also
- Interfaces
- IWMCodecInfo2 Interface
- IWMCodecInfo3 Interface
- IWMProfileManager Interface
- Profile Manager Object
Send comments about this topic to Microsoft
Build date: 2/3/2012