Share via


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;

Elements

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:

Constant Description
MP_DATA MPBOOL_FALSE FALSE
MP_DATA MPBOOL_TRUE TRUE

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

© 2004 Microsoft Corporation. All rights reserved.