Compartir a través de


MP_PARAMINFO Structure

 
Microsoft DirectShow 9.0

MP_PARAMINFO Structure

The MP_PARAMINFO structure contains information about a parameter.

Syntax

typedef struct _MP_PARAMINFO {
    MP_TYPE    mpType;
    MP_CAPS    mopCaps;
    MP_DATA    mpdMinValue;
    MP_DATA    mpdMaxValue;
    MP_DATA    mpdNeutralValue;
    WCHAR      szUnitText[32];
    WCHAR      szLabel[32]; 
} MP_PARAMINFO;

Members

mpType

Member of the MP_TYPE enumeration that specifies the valid data type for this parameter.

mopCaps

Bitwise combination of one or more Parameter Capabilities Flags that specify which envelope curves are supported. For Boolean and enumeration parameters, only MP_CAPS_CURVE_JUMP is valid.

mpdMinValue

Minimum value of the parameter. Used only for parameters with numeric values.

mpdMaxValue

Maximum value of the parameter. Used only for parameters with numeric values.

mpdNeutralValue

Default or "neutral" value of the parameter.

szUnitText

NULL-terminated wide-character string that contains the name of the units for the parameter.

szLabel

NULL-terminated wide-character string that contains the name of the parameter.

Remarks

The szUnitText and szLabel members always contain English-language strings. For international support, use the IMediaParamInfo::GetParamText method.

Requirements

  Header: Medparam.h

See Also