ReactOS  0.4.15-dev-1207-g698a8e6
mixerocx.idl
Go to the documentation of this file.
1 import "unknwn.idl";
2 
3 #define MIXER_DATA_ASPECT_RATIO 0x00000001
4 #define MIXER_DATA_NATIVE_SIZE 0x00000002
5 #define MIXER_DATA_PALETTE 0x00000004
6 #define MIXER_STATE_MASK 0x00000003
7 #define MIXER_STATE_UNCONNECTED 0x00000000
8 #define MIXER_STATE_CONNECTED_STOPPED 0x00000001
9 #define MIXER_STATE_CONNECTED_PAUSED 0x00000002
10 #define MIXER_STATE_CONNECTED_PLAYING 0x00000003
11 
12 interface IMixerOCXNotify;
13 interface IMixerOCX;
14 
15 [
16  object,
17  uuid(81A3BD31-DEE1-11d1-8508-00A0C91F9CA0),
19 ]
21 {
23  HRESULT OnStatusChange([in] ULONG ulStatusFlags);
24  HRESULT OnDataChange([in] ULONG ulDataFlags);
25 };
26 
27 [
28  object,
29  uuid(81A3BD32-DEE1-11d1-8508-00A0C91F9CA0),
31 ]
32 interface IMixerOCX : IUnknown
33 {
34  HRESULT OnDisplayChange([in] ULONG ulBitsPerPixel, [in] ULONG ulScreenWidth, [in] ULONG ulScreenHeight);
35  HRESULT GetAspectRatio([out] LPDWORD pdwPictAspectRatioX, [out] LPDWORD pdwPictAspectRatioY);
36  HRESULT GetVideoSize([out] LPDWORD pdwVideoWidth, [out] LPDWORD pdwVideoHeight);
37  HRESULT GetStatus([out] LPDWORD *pdwStatus);
38  HRESULT OnDraw([in] HDC hdcDraw, [in] LPCRECT prcDraw);
39  HRESULT SetDrawRegion([in] LPPOINT lpptTopLeftSC, [in] LPCRECT prcDrawCC, [in] LPCRECT lprcClip);
40  HRESULT Advise([in] IMixerOCXNotify *pmdns);
41  HRESULT UnAdvise();
42 };
HRESULT SetDrawRegion([in] LPPOINT lpptTopLeftSC, [in] LPCRECT prcDrawCC, [in] LPCRECT lprcClip)
HRESULT OnDisplayChange([in] ULONG ulBitsPerPixel, [in] ULONG ulScreenWidth, [in] ULONG ulScreenHeight)
static HDC
Definition: imagelist.c:92
HRESULT OnDraw([in] HDC hdcDraw, [in] LPCRECT prcDraw)
HRESULT OnDataChange([in] ULONG ulDataFlags)
HRESULT OnInvalidateRect([in] LPCRECT lpcRect)
HRESULT Advise([in] IMixerOCXNotify *pmdns)
HRESULT OnStatusChange([in] ULONG ulStatusFlags)
LONG HRESULT
Definition: typedefs.h:79
HRESULT GetStatus([out] LPDWORD *pdwStatus)
HRESULT UnAdvise()
static FILE * out
Definition: regtests2xml.c:44
HRESULT GetVideoSize([out] LPDWORD pdwVideoWidth, [out] LPDWORD pdwVideoHeight)
GLuint in
Definition: glext.h:9616
static unsigned char pointer_default
Definition: parser.tab.c:114
HRESULT GetAspectRatio([out] LPDWORD pdwPictAspectRatioX, [out] LPDWORD pdwPictAspectRatioY)
uint32_t * LPDWORD
Definition: typedefs.h:59
unsigned int ULONG
Definition: retypes.h:1
void * object
Definition: jmemsys.h:48