ReactOS  0.4.15-dev-1207-g698a8e6
medparam.idl
Go to the documentation of this file.
1 
2 
3 import "oaidl.idl";
4 import "ocidl.idl";
5 import "strmif.idl";
6 
7 
8 typedef float MP_DATA;
9 
10 typedef enum _MP_Type
11 {
17 } MP_TYPE;
18 
19 cpp_quote("const MP_DATA MPBOOL_TRUE = 1.0;")
21 
22 
24 {
25  MP_CURVE_JUMP = 0x0001,
26  MP_CURVE_LINEAR = 0x0002,
27  MP_CURVE_SQUARE = 0x0004,
29  MP_CURVE_SINE = 0x0010,
31 
32 
33 typedef DWORD MP_CAPS;
39 
40 typedef struct _MP_PARAMINFO
41 {
49 } MP_PARAMINFO;
50 
53 
54 cpp_quote("DEFINE_GUID(GUID_TIME_REFERENCE, 0x93ad712b, 0xdaa0, 0x4ffe, 0xbc, 0x81, 0xb0, 0xce, 0x50, 0x0f, 0xcd, 0xd9);")
55 cpp_quote("DEFINE_GUID(GUID_TIME_MUSIC, 0x0574c49d, 0x5b04, 0x4b15, 0xa5, 0x42, 0xae, 0x28, 0x20, 0x30, 0x11, 0x7b);")
56 cpp_quote("DEFINE_GUID(GUID_TIME_SAMPLES, 0xa8593d05, 0x0c43, 0x4984, 0x9a, 0x63, 0x97, 0xaf, 0x9e, 0x02, 0xc4, 0xc0);")
57 
58 typedef DWORD MP_FLAGS;
62 
64 {
72 
73 
75 const MP_FLAGS MPF_PUNCHIN_NOW = 0x0001;
77 
78 [
79 object,
80 uuid(6d6cbb60-a223-44aa-842f-a2f06750be6d),
81 version(1.0)
82 ]
84 {
85  HRESULT GetParamCount ([out] DWORD * pdwParams);
86  HRESULT GetParamInfo ([in] DWORD dwParamIndex, [out] MP_PARAMINFO * pInfo);
87  HRESULT GetParamText ([in] DWORD dwParamIndex, [out] WCHAR **ppwchText);
88  HRESULT GetNumTimeFormats ([out] DWORD * pdwNumTimeFormats);
89  HRESULT GetSupportedTimeFormat([in] DWORD dwFormatIndex, [out] GUID *pguidTimeFormat);
90  HRESULT GetCurrentTimeFormat ([out] GUID *pguidTimeFormat, [out] MP_TIMEDATA *pTimeData);
91 }
92 
93 [
94 object,
95 uuid(6d6cbb61-a223-44aa-842f-a2f06750be6e),
96 version(1.0)
97 ]
99 {
100  HRESULT GetParam ([in] DWORD dwParamIndex, [out] MP_DATA *pValue);
101  HRESULT SetParam ([in] DWORD dwParamIndex, [in] MP_DATA value);
102  HRESULT AddEnvelope ([in] DWORD dwParamIndex, [in] DWORD cSegments, [in] MP_ENVELOPE_SEGMENT * pEnvelopeSegments);
103  HRESULT FlushEnvelope ([in] DWORD dwParamIndex, [in] REFERENCE_TIME refTimeStart, [in] REFERENCE_TIME refTimeEnd);
104  HRESULT SetTimeFormat ([in] GUID guidTimeFormat, [in] MP_TIMEDATA mpTimeData);
105 }
106 
_MP_Type
Definition: medparam.idl:10
MP_CAPS mopCaps
Definition: medparam.idl:43
const MP_FLAGS MPF_PUNCHIN_REFTIME
Definition: medparam.idl:74
const MP_FLAGS MPF_ENVLP_STANDARD
Definition: medparam.idl:59
DEFINE_GUID(GUID_TIME_REFERENCE, 0x93ad712b, 0xdaa0, 0x4ffe, 0xbc, 0x81, 0xb0, 0xce, 0x50, 0x0f, 0xcd, 0xd9)
_MP_CURVE_TYPE
Definition: medparam.idl:23
MP_DATA mpdNeutralValue
Definition: medparam.idl:46
MP_CURVE_TYPE iCurve
Definition: medparam.idl:69
const MP_CAPS MP_CAPS_CURVE_INVSQUARE
Definition: medparam.idl:37
const MP_CAPS MP_CAPS_CURVE_SQUARE
Definition: medparam.idl:36
REFERENCE_TIME rtStart
Definition: medparam.idl:65
coclass AMMultiMediaStream cpp_quote("DEFINE_GUID(CLSID_AMDirectDrawStream, 0x49c47ce4, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);") cpp_quote("DEFINE_GUID(CLSID_AMAudioStream
REFERENCE_TIME rtEnd
Definition: medparam.idl:66
MP_DATA mpdMinValue
Definition: medparam.idl:44
MP_DATA mpdMaxValue
Definition: medparam.idl:45
HRESULT AddEnvelope([in] DWORD dwParamIndex, [in] DWORD cSegments, [in] MP_ENVELOPE_SEGMENT *pEnvelopeSegments)
const MP_FLAGS MPF_PUNCHIN_NOW
Definition: medparam.idl:75
HRESULT GetCurrentTimeFormat([out] GUID *pguidTimeFormat, [out] MP_TIMEDATA *pTimeData)
HRESULT SetTimeFormat([in] GUID guidTimeFormat, [in] MP_TIMEDATA mpTimeData)
static const WCHAR version[]
Definition: asmname.c:66
const MP_CAPS MP_CAPS_CURVE_SINE
Definition: medparam.idl:38
HRESULT GetSupportedTimeFormat([in] DWORD dwFormatIndex, [out] GUID *pguidTimeFormat)
HRESULT GetNumTimeFormats([out] DWORD *pdwNumTimeFormats)
HRESULT SetParam([in] DWORD dwParamIndex, [in] MP_DATA value)
HRESULT FlushEnvelope([in] DWORD dwParamIndex, [in] REFERENCE_TIME refTimeStart, [in] REFERENCE_TIME refTimeEnd)
GLfloat f
Definition: glext.h:7540
LONGLONG REFERENCE_TIME
Definition: dmusicks.h:9
__wchar_t WCHAR
Definition: xmlstorage.h:180
LONG HRESULT
Definition: typedefs.h:79
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
const MP_CAPS MP_CAPS_CURVE_LINEAR
Definition: medparam.idl:35
const DWORD DWORD_ALLPARAMS
Definition: medparam.idl:51
const MP_DATA MPBOOL_FALSE
Definition: medparam.idl:20
struct _MP_ENVELOPE_SEGMENT MP_ENVELOPE_SEGMENT
HRESULT GetParamText([in] DWORD dwParamIndex, [out] WCHAR **ppwchText)
const MP_FLAGS MPF_PUNCHIN_STOPPED
Definition: medparam.idl:76
DWORD MP_CAPS
Definition: medparam.idl:33
const MP_FLAGS MPF_ENVLP_BEGIN_CURRENTVAL
Definition: medparam.idl:60
HRESULT GetParamCount([out] DWORD *pdwParams)
MP_TYPE mpType
Definition: medparam.idl:42
const MP_CAPS MP_CAPS_CURVE_JUMP
Definition: medparam.idl:34
GLuint in
Definition: glext.h:9616
enum _MP_CURVE_TYPE MP_CURVE_TYPE
enum _MP_Type MP_TYPE
DWORD MP_FLAGS
Definition: medparam.idl:58
DWORD MP_TIMEDATA
Definition: medparam.idl:52
HRESULT GetParam([in] DWORD dwParamIndex, [out] MP_DATA *pValue)
HRESULT GetParamInfo([in] DWORD dwParamIndex, [out] MP_PARAMINFO *pInfo)
#define const
Definition: zconf.h:230
WCHAR szUnitText[32]
Definition: medparam.idl:47
float MP_DATA
Definition: medparam.idl:3
void * object
Definition: jmemsys.h:48
const MP_FLAGS MPF_ENVLP_BEGIN_NEUTRALVAL
Definition: medparam.idl:61
struct _MP_PARAMINFO MP_PARAMINFO
WCHAR szLabel[32]
Definition: medparam.idl:48