Export (0) Print
Expand All

MP_TYPE enumeration

The MP_TYPE enumeration specifies the data type for a parameter.

Syntax


typedef enum _MP_Type { 
  MPT_INT,
  MPT_FLOAT,
  MPT_BOOL,
  MPT_ENUM,
  MPT_MAX
} MP_TYPE;

Constants

MPT_INT

Value is a signed 32-bit integer.

MPT_FLOAT

Value is a 32-bit IEEE floating-point value.

MPT_BOOL

Value is Boolean. Use the following constants for Boolean parameters:

MPT_ENUM

Value is taken from a set of consecutive integers.

MPT_MAX

Reserved.

Remarks

To reduce type conversions at run time, all parameters have 32-bit float values, defined as type MP_DATA. The members of this enumeration specify how a given parameter should be interpreted.

Requirements

Header

Medparam.h

See also

MP_PARAMINFO
DMO Enumerated Types

 

 

Community Additions

ADD
Show:
© 2015 Microsoft