IWMCodecPrivateData Interface
The IWMCodecPrivateData interface provides methods to retrieve the private codec data that must be appended to the output media type. This codec data is required for properly decoding Windows Media Video content.
This interface is implemented by the video encoder object and the screen capture encoder object. You do not need codec private data to decode content of the subtype WMCMEDIASUBTYPE_WMV1 (Windows Media Video version 7). For any other output type, you must obtain a pointer to the encoder's IWMCodecPrivateData interface by calling the QueryInterface method of any other interface on the object, such as IMediaObject or IMFTransform.
In addition to the methods inherited from IUnknown, the IWMCodecPrivateData interface exposes the following methods.
Method | Description |
GetPrivateData | Retrieves the codec data for the output type. |
SetPartialOutputType | Gives the codec the output media type without the codec data. The codec needs this information to generate the private data. |
Requirements
Client: Requires Windows Vista or Windows XP.
Header: Include wmcodecdsp.h.
See Also