Freigeben über


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.

Members

The IWMCodecPrivateData interface inherits from the IUnknown interface. IWMCodecPrivateData also defines the following types of members:

  • Methods

Methods

The IWMCodecPrivateData interface defines 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

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Wmcodecdsp.h

See Also

Interfaces

 

 

Send comments about this topic to Microsoft

Build date: 4/7/2010