Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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 MP_TYPE enumeration specifies the data type for a parameter.
Syntax
typedef enum _MP_Type {
  MPT_INT = 0,
  MPT_FLOAT,
  MPT_BOOL,
  MPT_ENUM,
  MPT_MAX
} MP_TYPE;
Constants
MPT_INTValue: 0 Value is a signed 32-bit integer.  | 
MPT_FLOATValue is a 32-bit IEEE floating-point value.  | 
MPT_BOOLValue is Boolean. Use the following constants for Boolean parameters:  | 
MPT_ENUMValue is taken from a set of consecutive integers.  | 
MPT_MAXReserved.  | 
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
| Requirement | Value | 
|---|---|
| Header | medparam.h |