次の方法で共有


IMediaParamInfo interface (medparam.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IMediaParamInfo interface retrieves information about the parameters that an object supports. The set of parameters that an object supports will not change over the lifetime of an application. To set parameter values, use the IMediaParams interface.

Inheritance

The IMediaParamInfo interface inherits from the IUnknown interface. IMediaParamInfo also has these types of members:

Methods

The IMediaParamInfo interface has these methods.

 
IMediaParamInfo::GetCurrentTimeFormat

The GetCurrentTimeFormat method retrieves the current time format.
IMediaParamInfo::GetNumTimeFormats

The GetNumTimeFormats method retrieves the number of time formats that the object supports.
IMediaParamInfo::GetParamCount

The GetParamCount method retrieves the number of parameters that the object supports.
IMediaParamInfo::GetParamInfo

The GetParamInfo method retrieves information about a specified parameter.
IMediaParamInfo::GetParamText

The GetParamText method retrieves a series of text strings that describe the parameter.
IMediaParamInfo::GetSupportedTimeFormat

The GetSupportedTimeFormat method retrieves a supported time format.

Requirements

Requirement Value
Target Platform Windows
Header medparam.h