ReactOS 0.4.16-dev-340-g0540c21
mpconfig.h File Reference

Go to the source code of this file.

Typedefs

typedef enum _AM_ASPECT_RATIO_MODE AM_ASPECT_RATIO_MODE
 

Enumerations

enum  _AM_ASPECT_RATIO_MODE { AM_ARMODE_STRETCHED , AM_ARMODE_LETTER_BOX , AM_ARMODE_CROP , AM_ARMODE_STRETCHED_AS_PRIMARY }
 

Functions

 DECLARE_INTERFACE_ (IMixerPinConfig, IUnknown)
 
 DECLARE_INTERFACE_ (IMixerPinConfig2, IMixerPinConfig)
 

Typedef Documentation

◆ AM_ASPECT_RATIO_MODE

Enumeration Type Documentation

◆ _AM_ASPECT_RATIO_MODE

Enumerator
AM_ARMODE_STRETCHED 
AM_ARMODE_LETTER_BOX 
AM_ARMODE_CROP 
AM_ARMODE_STRETCHED_AS_PRIMARY 

Definition at line 8 of file mpconfig.h.

9{
enum _AM_ASPECT_RATIO_MODE AM_ASPECT_RATIO_MODE
@ AM_ARMODE_CROP
Definition: mpconfig.h:12
@ AM_ARMODE_STRETCHED_AS_PRIMARY
Definition: mpconfig.h:13
@ AM_ARMODE_STRETCHED
Definition: mpconfig.h:10
@ AM_ARMODE_LETTER_BOX
Definition: mpconfig.h:11

Function Documentation

◆ DECLARE_INTERFACE_() [1/2]

DECLARE_INTERFACE_ ( IMixerPinConfig  ,
IUnknown   
)

Definition at line 16 of file mpconfig.h.

17{
18 STDMETHOD (SetRelativePosition)(THIS_ IN DWORD dwLeft, IN DWORD dwTop,
19 IN DWORD dwRight, IN DWORD dwBottom) PURE;
20 STDMETHOD (GetRelativePosition)(THIS_ OUT DWORD *pdwLeft,OUT DWORD *pdwTop,
21 OUT DWORD *pdwRight, OUT DWORD *pdwBottom) PURE;
22
23 STDMETHOD (SetZOrder)(THIS_ IN DWORD dwZOrder) PURE;
24 STDMETHOD (GetZOrder)(THIS_ OUT DWORD *pdwZOrder) PURE;
25 STDMETHOD (SetColorKey)(THIS_ IN COLORKEY *pColorKey) PURE;
26 STDMETHOD (GetColorKey)(THIS_ OUT COLORKEY *pColorKey, OUT DWORD *pColor) PURE;
27 STDMETHOD (SetBlendingParameter)(THIS_ IN DWORD dwBlendingParameter) PURE;
28 STDMETHOD (GetBlendingParameter)(THIS_ OUT DWORD *pdwBlendingParameter) PURE;
29 STDMETHOD (SetAspectRatioMode)(THIS_ IN AM_ASPECT_RATIO_MODE amAspectRatioMode) PURE;
30 STDMETHOD (GetAspectRatioMode)(THIS_ OUT AM_ASPECT_RATIO_MODE* pamAspectRatioMode) PURE;
31 STDMETHOD (SetStreamTransparent)(THIS_ IN BOOL bStreamTransparent) PURE;
32 STDMETHOD (GetStreamTransparent)(THIS_ OUT BOOL *pbStreamTransparent) PURE;
33};
#define PURE
Definition: basetyps.h:64
#define THIS_
Definition: basetyps.h:65
#define STDMETHOD(m)
Definition: basetyps.h:62
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
#define IN
Definition: typedefs.h:39
#define OUT
Definition: typedefs.h:40

◆ DECLARE_INTERFACE_() [2/2]

DECLARE_INTERFACE_ ( IMixerPinConfig2  ,
IMixerPinConfig   
)

Definition at line 35 of file mpconfig.h.

36{
37 STDMETHOD (SetOverlaySurfaceColorControls)(THIS_ IN LPDDCOLORCONTROL pColorControl) PURE;
38 STDMETHOD (GetOverlaySurfaceColorControls)(THIS_ OUT LPDDCOLORCONTROL pColorControl) PURE;
39};