Microsoft DirectX 9.0

IMediaParams Interface

The IMediaParams interface sets and retrieves envelope-following parameters on an object.

To reduce overhead, parameters are referenced by index value, and all parameter values are 32 bits, defined as type MP_DATA. Use the IMediaParamInfo interface to determine whether a given parameter is an integer, floating-point value, Boolean value, or member of an enumerated type.

In addition to the methods inherited by IUnknown, the IMediaParams interface exposes the following methods.

Method Description
AddEnvelope Adds an envelope to a parameter.
FlushEnvelope Flushes envelope data for a specified parameter over the specified time range.
GetParam Retrieves the most recent value of the specified parameter.
SetParam Sets the value of a parameter.
SetTimeFormat Specifies the time format for the object.

Requirements

Include Medparam.h.

Link to Dmoguids.lib.