Open Source Computer Vision Library https://opencv.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1290 lines
42 KiB

/*** Autogenerated by WIDL from amvideo.idl - Do not edit ***/
#include <rpc.h>
#include <rpcndr.h>
#ifndef __WIDL_AMVIDEO_H
#define __WIDL_AMVIDEO_H
/* Forward declarations */
#ifndef __IDirectDrawVideo_FWD_DEFINED__
#define __IDirectDrawVideo_FWD_DEFINED__
typedef interface IDirectDrawVideo IDirectDrawVideo;
#endif
#ifndef __IQualProp_FWD_DEFINED__
#define __IQualProp_FWD_DEFINED__
typedef interface IQualProp IQualProp;
#endif
#ifndef __IFullScreenVideo_FWD_DEFINED__
#define __IFullScreenVideo_FWD_DEFINED__
typedef interface IFullScreenVideo IFullScreenVideo;
#endif
#ifndef __IFullScreenVideoEx_FWD_DEFINED__
#define __IFullScreenVideoEx_FWD_DEFINED__
typedef interface IFullScreenVideoEx IFullScreenVideoEx;
#endif
#ifndef __IBaseVideoMixer_FWD_DEFINED__
#define __IBaseVideoMixer_FWD_DEFINED__
typedef interface IBaseVideoMixer IBaseVideoMixer;
#endif
/* Headers for imported files */
#include <objidl.h>
#ifdef __cplusplus
extern "C" {
#endif
#if 0
typedef void *LPDIRECTDRAW;
typedef void DDSURFACEDESC;
typedef void DDCAPS;
typedef DWORD RGBQUAD;
typedef LONGLONG REFERENCE_TIME;
typedef struct __WIDL_amvideo_generated_name_00000000 {
DWORD biSize;
LONG biWidth;
LONG biHeight;
WORD biPlanes;
WORD biBitCount;
DWORD biCompression;
DWORD biSizeImage;
LONG biXPelsPerMeter;
LONG biYPelsPerMeter;
DWORD biClrUsed;
DWORD biClrImportant;
} BITMAPINFOHEADER;
typedef struct __WIDL_amvideo_generated_name_00000000 *PBITMAPINFOHEADER;
typedef struct __WIDL_amvideo_generated_name_00000000 *LPBITMAPINFOHEADER;
#endif
#include <dshow/ddraw.h>
#define AMDDS_NONE 0x00
#define AMDDS_DCIPS 0x01
#define AMDDS_PS 0x02
#define AMDDS_RGBOVR 0x04
#define AMDDS_YUVOVR 0x08
#define AMDDS_RGBOFF 0x10
#define AMDDS_YUVOFF 0x20
#define AMDDS_RGBFLP 0x40
#define AMDDS_YUVFLP 0x80
#define AMDDS_ALL 0xFF
#define AMDDS_DEFAULT AMDDS_ALL
#define AMDDS_YUV (AMDDS_YUVOFF | AMDDS_YUVOVR | AMDDS_YUVFLP)
#define AMDDS_RGB (AMDDS_RGBOFF | AMDDS_RGBOVR | AMDDS_RGBFLP)
#define AMDSS_PRIMARY (AMDDS_DCIPS | AMDDS_PS)
/*****************************************************************************
* IDirectDrawVideo interface
*/
#ifndef __IDirectDrawVideo_INTERFACE_DEFINED__
#define __IDirectDrawVideo_INTERFACE_DEFINED__
#if defined(__cplusplus) && !defined(CINTERFACE)
interface IDirectDrawVideo : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetSwitches(
DWORD *pSwitches) = 0;
virtual HRESULT STDMETHODCALLTYPE SetSwitches(
DWORD Switches) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCaps(
DDCAPS *pCaps) = 0;
virtual HRESULT STDMETHODCALLTYPE GetEmulatedCaps(
DDCAPS *pCaps) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSurfaceDesc(
DDSURFACEDESC *pSurfaceDesc) = 0;
virtual HRESULT STDMETHODCALLTYPE GetFourCCCodes(
DWORD *pCount,
DWORD *pCodes) = 0;
virtual HRESULT STDMETHODCALLTYPE SetDirectDraw(
LPDIRECTDRAW pDirectDraw) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDirectDraw(
LPDIRECTDRAW *ppDirectDraw) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSurfaceType(
DWORD *pSurfaceType) = 0;
virtual HRESULT STDMETHODCALLTYPE SetDefault(
) = 0;
virtual HRESULT STDMETHODCALLTYPE UseScanLine(
LONG UseScanLine) = 0;
virtual HRESULT STDMETHODCALLTYPE CanUseScanLine(
LONG *UseScanLine) = 0;
virtual HRESULT STDMETHODCALLTYPE UseOverlayStretch(
LONG UseOverlayStretch) = 0;
virtual HRESULT STDMETHODCALLTYPE CanUseOverlayStretch(
LONG *UseOverlayStretch) = 0;
virtual HRESULT STDMETHODCALLTYPE UseWhenFullScreen(
LONG UseWhenFullScreen) = 0;
virtual HRESULT STDMETHODCALLTYPE WillUseFullScreen(
LONG *UseWhenFullScreen) = 0;
};
#else
typedef struct IDirectDrawVideoVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IDirectDrawVideo* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IDirectDrawVideo* This);
ULONG (STDMETHODCALLTYPE *Release)(
IDirectDrawVideo* This);
/*** IDirectDrawVideo methods ***/
HRESULT (STDMETHODCALLTYPE *GetSwitches)(
IDirectDrawVideo* This,
DWORD *pSwitches);
HRESULT (STDMETHODCALLTYPE *SetSwitches)(
IDirectDrawVideo* This,
DWORD Switches);
HRESULT (STDMETHODCALLTYPE *GetCaps)(
IDirectDrawVideo* This,
DDCAPS *pCaps);
HRESULT (STDMETHODCALLTYPE *GetEmulatedCaps)(
IDirectDrawVideo* This,
DDCAPS *pCaps);
HRESULT (STDMETHODCALLTYPE *GetSurfaceDesc)(
IDirectDrawVideo* This,
DDSURFACEDESC *pSurfaceDesc);
HRESULT (STDMETHODCALLTYPE *GetFourCCCodes)(
IDirectDrawVideo* This,
DWORD *pCount,
DWORD *pCodes);
HRESULT (STDMETHODCALLTYPE *SetDirectDraw)(
IDirectDrawVideo* This,
LPDIRECTDRAW pDirectDraw);
HRESULT (STDMETHODCALLTYPE *GetDirectDraw)(
IDirectDrawVideo* This,
LPDIRECTDRAW *ppDirectDraw);
HRESULT (STDMETHODCALLTYPE *GetSurfaceType)(
IDirectDrawVideo* This,
DWORD *pSurfaceType);
HRESULT (STDMETHODCALLTYPE *SetDefault)(
IDirectDrawVideo* This);
HRESULT (STDMETHODCALLTYPE *UseScanLine)(
IDirectDrawVideo* This,
LONG UseScanLine);
HRESULT (STDMETHODCALLTYPE *CanUseScanLine)(
IDirectDrawVideo* This,
LONG *UseScanLine);
HRESULT (STDMETHODCALLTYPE *UseOverlayStretch)(
IDirectDrawVideo* This,
LONG UseOverlayStretch);
HRESULT (STDMETHODCALLTYPE *CanUseOverlayStretch)(
IDirectDrawVideo* This,
LONG *UseOverlayStretch);
HRESULT (STDMETHODCALLTYPE *UseWhenFullScreen)(
IDirectDrawVideo* This,
LONG UseWhenFullScreen);
HRESULT (STDMETHODCALLTYPE *WillUseFullScreen)(
IDirectDrawVideo* This,
LONG *UseWhenFullScreen);
END_INTERFACE
} IDirectDrawVideoVtbl;
interface IDirectDrawVideo {
CONST_VTBL IDirectDrawVideoVtbl* lpVtbl;
};
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IDirectDrawVideo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IDirectDrawVideo_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IDirectDrawVideo_Release(This) (This)->lpVtbl->Release(This)
/*** IDirectDrawVideo methods ***/
#define IDirectDrawVideo_GetSwitches(This,pSwitches) (This)->lpVtbl->GetSwitches(This,pSwitches)
#define IDirectDrawVideo_SetSwitches(This,Switches) (This)->lpVtbl->SetSwitches(This,Switches)
#define IDirectDrawVideo_GetCaps(This,pCaps) (This)->lpVtbl->GetCaps(This,pCaps)
#define IDirectDrawVideo_GetEmulatedCaps(This,pCaps) (This)->lpVtbl->GetEmulatedCaps(This,pCaps)
#define IDirectDrawVideo_GetSurfaceDesc(This,pSurfaceDesc) (This)->lpVtbl->GetSurfaceDesc(This,pSurfaceDesc)
#define IDirectDrawVideo_GetFourCCCodes(This,pCount,pCodes) (This)->lpVtbl->GetFourCCCodes(This,pCount,pCodes)
#define IDirectDrawVideo_SetDirectDraw(This,pDirectDraw) (This)->lpVtbl->SetDirectDraw(This,pDirectDraw)
#define IDirectDrawVideo_GetDirectDraw(This,ppDirectDraw) (This)->lpVtbl->GetDirectDraw(This,ppDirectDraw)
#define IDirectDrawVideo_GetSurfaceType(This,pSurfaceType) (This)->lpVtbl->GetSurfaceType(This,pSurfaceType)
#define IDirectDrawVideo_SetDefault(This) (This)->lpVtbl->SetDefault(This)
#define IDirectDrawVideo_UseScanLine(This,UseScanLine) (This)->lpVtbl->UseScanLine(This,UseScanLine)
#define IDirectDrawVideo_CanUseScanLine(This,UseScanLine) (This)->lpVtbl->CanUseScanLine(This,UseScanLine)
#define IDirectDrawVideo_UseOverlayStretch(This,UseOverlayStretch) (This)->lpVtbl->UseOverlayStretch(This,UseOverlayStretch)
#define IDirectDrawVideo_CanUseOverlayStretch(This,UseOverlayStretch) (This)->lpVtbl->CanUseOverlayStretch(This,UseOverlayStretch)
#define IDirectDrawVideo_UseWhenFullScreen(This,UseWhenFullScreen) (This)->lpVtbl->UseWhenFullScreen(This,UseWhenFullScreen)
#define IDirectDrawVideo_WillUseFullScreen(This,UseWhenFullScreen) (This)->lpVtbl->WillUseFullScreen(This,UseWhenFullScreen)
#endif
#endif
HRESULT STDMETHODCALLTYPE IDirectDrawVideo_GetSwitches_Proxy(
IDirectDrawVideo* This,
DWORD *pSwitches);
void __RPC_STUB IDirectDrawVideo_GetSwitches_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDirectDrawVideo_SetSwitches_Proxy(
IDirectDrawVideo* This,
DWORD Switches);
void __RPC_STUB IDirectDrawVideo_SetSwitches_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDirectDrawVideo_GetCaps_Proxy(
IDirectDrawVideo* This,
DDCAPS *pCaps);
void __RPC_STUB IDirectDrawVideo_GetCaps_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDirectDrawVideo_GetEmulatedCaps_Proxy(
IDirectDrawVideo* This,
DDCAPS *pCaps);
void __RPC_STUB IDirectDrawVideo_GetEmulatedCaps_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDirectDrawVideo_GetSurfaceDesc_Proxy(
IDirectDrawVideo* This,
DDSURFACEDESC *pSurfaceDesc);
void __RPC_STUB IDirectDrawVideo_GetSurfaceDesc_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDirectDrawVideo_GetFourCCCodes_Proxy(
IDirectDrawVideo* This,
DWORD *pCount,
DWORD *pCodes);
void __RPC_STUB IDirectDrawVideo_GetFourCCCodes_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDirectDrawVideo_SetDirectDraw_Proxy(
IDirectDrawVideo* This,
LPDIRECTDRAW pDirectDraw);
void __RPC_STUB IDirectDrawVideo_SetDirectDraw_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDirectDrawVideo_GetDirectDraw_Proxy(
IDirectDrawVideo* This,
LPDIRECTDRAW *ppDirectDraw);
void __RPC_STUB IDirectDrawVideo_GetDirectDraw_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDirectDrawVideo_GetSurfaceType_Proxy(
IDirectDrawVideo* This,
DWORD *pSurfaceType);
void __RPC_STUB IDirectDrawVideo_GetSurfaceType_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDirectDrawVideo_SetDefault_Proxy(
IDirectDrawVideo* This);
void __RPC_STUB IDirectDrawVideo_SetDefault_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDirectDrawVideo_UseScanLine_Proxy(
IDirectDrawVideo* This,
LONG UseScanLine);
void __RPC_STUB IDirectDrawVideo_UseScanLine_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDirectDrawVideo_CanUseScanLine_Proxy(
IDirectDrawVideo* This,
LONG *UseScanLine);
void __RPC_STUB IDirectDrawVideo_CanUseScanLine_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDirectDrawVideo_UseOverlayStretch_Proxy(
IDirectDrawVideo* This,
LONG UseOverlayStretch);
void __RPC_STUB IDirectDrawVideo_UseOverlayStretch_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDirectDrawVideo_CanUseOverlayStretch_Proxy(
IDirectDrawVideo* This,
LONG *UseOverlayStretch);
void __RPC_STUB IDirectDrawVideo_CanUseOverlayStretch_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDirectDrawVideo_UseWhenFullScreen_Proxy(
IDirectDrawVideo* This,
LONG UseWhenFullScreen);
void __RPC_STUB IDirectDrawVideo_UseWhenFullScreen_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDirectDrawVideo_WillUseFullScreen_Proxy(
IDirectDrawVideo* This,
LONG *UseWhenFullScreen);
void __RPC_STUB IDirectDrawVideo_WillUseFullScreen_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IDirectDrawVideo_INTERFACE_DEFINED__ */
/*****************************************************************************
* IQualProp interface
*/
#ifndef __IQualProp_INTERFACE_DEFINED__
#define __IQualProp_INTERFACE_DEFINED__
#if defined(__cplusplus) && !defined(CINTERFACE)
interface IQualProp : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE get_FramesDroppedInRenderer(
int *pcFrames) = 0;
virtual HRESULT STDMETHODCALLTYPE get_FramesDrawn(
int *pcFramesDrawn) = 0;
virtual HRESULT STDMETHODCALLTYPE get_AvgFrameRate(
int *piAvgFrameRate) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Jitter(
int *iJitter) = 0;
virtual HRESULT STDMETHODCALLTYPE get_AvgSyncOffset(
int *piAvg) = 0;
virtual HRESULT STDMETHODCALLTYPE get_DevSyncOffset(
int *piDev) = 0;
};
#else
typedef struct IQualPropVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IQualProp* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IQualProp* This);
ULONG (STDMETHODCALLTYPE *Release)(
IQualProp* This);
/*** IQualProp methods ***/
HRESULT (STDMETHODCALLTYPE *get_FramesDroppedInRenderer)(
IQualProp* This,
int *pcFrames);
HRESULT (STDMETHODCALLTYPE *get_FramesDrawn)(
IQualProp* This,
int *pcFramesDrawn);
HRESULT (STDMETHODCALLTYPE *get_AvgFrameRate)(
IQualProp* This,
int *piAvgFrameRate);
HRESULT (STDMETHODCALLTYPE *get_Jitter)(
IQualProp* This,
int *iJitter);
HRESULT (STDMETHODCALLTYPE *get_AvgSyncOffset)(
IQualProp* This,
int *piAvg);
HRESULT (STDMETHODCALLTYPE *get_DevSyncOffset)(
IQualProp* This,
int *piDev);
END_INTERFACE
} IQualPropVtbl;
interface IQualProp {
CONST_VTBL IQualPropVtbl* lpVtbl;
};
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IQualProp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IQualProp_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IQualProp_Release(This) (This)->lpVtbl->Release(This)
/*** IQualProp methods ***/
#define IQualProp_get_FramesDroppedInRenderer(This,pcFrames) (This)->lpVtbl->get_FramesDroppedInRenderer(This,pcFrames)
#define IQualProp_get_FramesDrawn(This,pcFramesDrawn) (This)->lpVtbl->get_FramesDrawn(This,pcFramesDrawn)
#define IQualProp_get_AvgFrameRate(This,piAvgFrameRate) (This)->lpVtbl->get_AvgFrameRate(This,piAvgFrameRate)
#define IQualProp_get_Jitter(This,iJitter) (This)->lpVtbl->get_Jitter(This,iJitter)
#define IQualProp_get_AvgSyncOffset(This,piAvg) (This)->lpVtbl->get_AvgSyncOffset(This,piAvg)
#define IQualProp_get_DevSyncOffset(This,piDev) (This)->lpVtbl->get_DevSyncOffset(This,piDev)
#endif
#endif
HRESULT STDMETHODCALLTYPE IQualProp_get_FramesDroppedInRenderer_Proxy(
IQualProp* This,
int *pcFrames);
void __RPC_STUB IQualProp_get_FramesDroppedInRenderer_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IQualProp_get_FramesDrawn_Proxy(
IQualProp* This,
int *pcFramesDrawn);
void __RPC_STUB IQualProp_get_FramesDrawn_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IQualProp_get_AvgFrameRate_Proxy(
IQualProp* This,
int *piAvgFrameRate);
void __RPC_STUB IQualProp_get_AvgFrameRate_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IQualProp_get_Jitter_Proxy(
IQualProp* This,
int *iJitter);
void __RPC_STUB IQualProp_get_Jitter_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IQualProp_get_AvgSyncOffset_Proxy(
IQualProp* This,
int *piAvg);
void __RPC_STUB IQualProp_get_AvgSyncOffset_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IQualProp_get_DevSyncOffset_Proxy(
IQualProp* This,
int *piDev);
void __RPC_STUB IQualProp_get_DevSyncOffset_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IQualProp_INTERFACE_DEFINED__ */
/*****************************************************************************
* IFullScreenVideo interface
*/
#ifndef __IFullScreenVideo_INTERFACE_DEFINED__
#define __IFullScreenVideo_INTERFACE_DEFINED__
#if defined(__cplusplus) && !defined(CINTERFACE)
interface IFullScreenVideo : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE CountModes(
LONG *pModes) = 0;
virtual HRESULT STDMETHODCALLTYPE GetModeInfo(
LONG Mode,
LONG *pWidth,
LONG *pHeight,
LONG *pDepth) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCurrentMode(
LONG *pMode) = 0;
virtual HRESULT STDMETHODCALLTYPE IsModeAvailable(
LONG Mode) = 0;
virtual HRESULT STDMETHODCALLTYPE IsModeEnabled(
LONG Mode) = 0;
virtual HRESULT STDMETHODCALLTYPE SetEnabled(
LONG Mode,
LONG bEnabled) = 0;
virtual HRESULT STDMETHODCALLTYPE GetClipFactor(
LONG *pClipFactor) = 0;
virtual HRESULT STDMETHODCALLTYPE SetClipFactor(
LONG ClipFactor) = 0;
virtual HRESULT STDMETHODCALLTYPE SetMessageDrain(
HWND hwnd) = 0;
virtual HRESULT STDMETHODCALLTYPE GetMessageDrain(
HWND *hwnd) = 0;
virtual HRESULT STDMETHODCALLTYPE SetMonitor(
LONG Monitor) = 0;
virtual HRESULT STDMETHODCALLTYPE GetMonitor(
LONG *Monitor) = 0;
virtual HRESULT STDMETHODCALLTYPE HideOnDeactivate(
LONG Hide) = 0;
virtual HRESULT STDMETHODCALLTYPE IsHideOnDeactivate(
) = 0;
virtual HRESULT STDMETHODCALLTYPE SetCaption(
BSTR strCaption) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCaption(
BSTR *pstrCaption) = 0;
virtual HRESULT STDMETHODCALLTYPE SetDefault(
) = 0;
};
#else
typedef struct IFullScreenVideoVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IFullScreenVideo* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IFullScreenVideo* This);
ULONG (STDMETHODCALLTYPE *Release)(
IFullScreenVideo* This);
/*** IFullScreenVideo methods ***/
HRESULT (STDMETHODCALLTYPE *CountModes)(
IFullScreenVideo* This,
LONG *pModes);
HRESULT (STDMETHODCALLTYPE *GetModeInfo)(
IFullScreenVideo* This,
LONG Mode,
LONG *pWidth,
LONG *pHeight,
LONG *pDepth);
HRESULT (STDMETHODCALLTYPE *GetCurrentMode)(
IFullScreenVideo* This,
LONG *pMode);
HRESULT (STDMETHODCALLTYPE *IsModeAvailable)(
IFullScreenVideo* This,
LONG Mode);
HRESULT (STDMETHODCALLTYPE *IsModeEnabled)(
IFullScreenVideo* This,
LONG Mode);
HRESULT (STDMETHODCALLTYPE *SetEnabled)(
IFullScreenVideo* This,
LONG Mode,
LONG bEnabled);
HRESULT (STDMETHODCALLTYPE *GetClipFactor)(
IFullScreenVideo* This,
LONG *pClipFactor);
HRESULT (STDMETHODCALLTYPE *SetClipFactor)(
IFullScreenVideo* This,
LONG ClipFactor);
HRESULT (STDMETHODCALLTYPE *SetMessageDrain)(
IFullScreenVideo* This,
HWND hwnd);
HRESULT (STDMETHODCALLTYPE *GetMessageDrain)(
IFullScreenVideo* This,
HWND *hwnd);
HRESULT (STDMETHODCALLTYPE *SetMonitor)(
IFullScreenVideo* This,
LONG Monitor);
HRESULT (STDMETHODCALLTYPE *GetMonitor)(
IFullScreenVideo* This,
LONG *Monitor);
HRESULT (STDMETHODCALLTYPE *HideOnDeactivate)(
IFullScreenVideo* This,
LONG Hide);
HRESULT (STDMETHODCALLTYPE *IsHideOnDeactivate)(
IFullScreenVideo* This);
HRESULT (STDMETHODCALLTYPE *SetCaption)(
IFullScreenVideo* This,
BSTR strCaption);
HRESULT (STDMETHODCALLTYPE *GetCaption)(
IFullScreenVideo* This,
BSTR *pstrCaption);
HRESULT (STDMETHODCALLTYPE *SetDefault)(
IFullScreenVideo* This);
END_INTERFACE
} IFullScreenVideoVtbl;
interface IFullScreenVideo {
CONST_VTBL IFullScreenVideoVtbl* lpVtbl;
};
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IFullScreenVideo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IFullScreenVideo_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IFullScreenVideo_Release(This) (This)->lpVtbl->Release(This)
/*** IFullScreenVideo methods ***/
#define IFullScreenVideo_CountModes(This,pModes) (This)->lpVtbl->CountModes(This,pModes)
#define IFullScreenVideo_GetModeInfo(This,Mode,pWidth,pHeight,pDepth) (This)->lpVtbl->GetModeInfo(This,Mode,pWidth,pHeight,pDepth)
#define IFullScreenVideo_GetCurrentMode(This,pMode) (This)->lpVtbl->GetCurrentMode(This,pMode)
#define IFullScreenVideo_IsModeAvailable(This,Mode) (This)->lpVtbl->IsModeAvailable(This,Mode)
#define IFullScreenVideo_IsModeEnabled(This,Mode) (This)->lpVtbl->IsModeEnabled(This,Mode)
#define IFullScreenVideo_SetEnabled(This,Mode,bEnabled) (This)->lpVtbl->SetEnabled(This,Mode,bEnabled)
#define IFullScreenVideo_GetClipFactor(This,pClipFactor) (This)->lpVtbl->GetClipFactor(This,pClipFactor)
#define IFullScreenVideo_SetClipFactor(This,ClipFactor) (This)->lpVtbl->SetClipFactor(This,ClipFactor)
#define IFullScreenVideo_SetMessageDrain(This,hwnd) (This)->lpVtbl->SetMessageDrain(This,hwnd)
#define IFullScreenVideo_GetMessageDrain(This,hwnd) (This)->lpVtbl->GetMessageDrain(This,hwnd)
#define IFullScreenVideo_SetMonitor(This,Monitor) (This)->lpVtbl->SetMonitor(This,Monitor)
#define IFullScreenVideo_GetMonitor(This,Monitor) (This)->lpVtbl->GetMonitor(This,Monitor)
#define IFullScreenVideo_HideOnDeactivate(This,Hide) (This)->lpVtbl->HideOnDeactivate(This,Hide)
#define IFullScreenVideo_IsHideOnDeactivate(This) (This)->lpVtbl->IsHideOnDeactivate(This)
#define IFullScreenVideo_SetCaption(This,strCaption) (This)->lpVtbl->SetCaption(This,strCaption)
#define IFullScreenVideo_GetCaption(This,pstrCaption) (This)->lpVtbl->GetCaption(This,pstrCaption)
#define IFullScreenVideo_SetDefault(This) (This)->lpVtbl->SetDefault(This)
#endif
#endif
HRESULT STDMETHODCALLTYPE IFullScreenVideo_CountModes_Proxy(
IFullScreenVideo* This,
LONG *pModes);
void __RPC_STUB IFullScreenVideo_CountModes_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IFullScreenVideo_GetModeInfo_Proxy(
IFullScreenVideo* This,
LONG Mode,
LONG *pWidth,
LONG *pHeight,
LONG *pDepth);
void __RPC_STUB IFullScreenVideo_GetModeInfo_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IFullScreenVideo_GetCurrentMode_Proxy(
IFullScreenVideo* This,
LONG *pMode);
void __RPC_STUB IFullScreenVideo_GetCurrentMode_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IFullScreenVideo_IsModeAvailable_Proxy(
IFullScreenVideo* This,
LONG Mode);
void __RPC_STUB IFullScreenVideo_IsModeAvailable_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IFullScreenVideo_IsModeEnabled_Proxy(
IFullScreenVideo* This,
LONG Mode);
void __RPC_STUB IFullScreenVideo_IsModeEnabled_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IFullScreenVideo_SetEnabled_Proxy(
IFullScreenVideo* This,
LONG Mode,
LONG bEnabled);
void __RPC_STUB IFullScreenVideo_SetEnabled_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IFullScreenVideo_GetClipFactor_Proxy(
IFullScreenVideo* This,
LONG *pClipFactor);
void __RPC_STUB IFullScreenVideo_GetClipFactor_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IFullScreenVideo_SetClipFactor_Proxy(
IFullScreenVideo* This,
LONG ClipFactor);
void __RPC_STUB IFullScreenVideo_SetClipFactor_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IFullScreenVideo_SetMessageDrain_Proxy(
IFullScreenVideo* This,
HWND hwnd);
void __RPC_STUB IFullScreenVideo_SetMessageDrain_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IFullScreenVideo_GetMessageDrain_Proxy(
IFullScreenVideo* This,
HWND *hwnd);
void __RPC_STUB IFullScreenVideo_GetMessageDrain_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IFullScreenVideo_SetMonitor_Proxy(
IFullScreenVideo* This,
LONG Monitor);
void __RPC_STUB IFullScreenVideo_SetMonitor_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IFullScreenVideo_GetMonitor_Proxy(
IFullScreenVideo* This,
LONG *Monitor);
void __RPC_STUB IFullScreenVideo_GetMonitor_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IFullScreenVideo_HideOnDeactivate_Proxy(
IFullScreenVideo* This,
LONG Hide);
void __RPC_STUB IFullScreenVideo_HideOnDeactivate_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IFullScreenVideo_IsHideOnDeactivate_Proxy(
IFullScreenVideo* This);
void __RPC_STUB IFullScreenVideo_IsHideOnDeactivate_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IFullScreenVideo_SetCaption_Proxy(
IFullScreenVideo* This,
BSTR strCaption);
void __RPC_STUB IFullScreenVideo_SetCaption_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IFullScreenVideo_GetCaption_Proxy(
IFullScreenVideo* This,
BSTR *pstrCaption);
void __RPC_STUB IFullScreenVideo_GetCaption_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IFullScreenVideo_SetDefault_Proxy(
IFullScreenVideo* This);
void __RPC_STUB IFullScreenVideo_SetDefault_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IFullScreenVideo_INTERFACE_DEFINED__ */
/*****************************************************************************
* IFullScreenVideoEx interface
*/
#ifndef __IFullScreenVideoEx_INTERFACE_DEFINED__
#define __IFullScreenVideoEx_INTERFACE_DEFINED__
#if defined(__cplusplus) && !defined(CINTERFACE)
interface IFullScreenVideoEx : public IFullScreenVideo
{
virtual HRESULT STDMETHODCALLTYPE SetAcceleratorTable(
HWND hwnd,
HACCEL hAccel) = 0;
virtual HRESULT STDMETHODCALLTYPE GetAcceleratorTable(
HWND *phwnd,
HACCEL *phAccel) = 0;
virtual HRESULT STDMETHODCALLTYPE KeepPixelAspectRatio(
LONG KeepAspect) = 0;
virtual HRESULT STDMETHODCALLTYPE IsKeepPixelAspectRatio(
LONG *pKeepAspect) = 0;
};
#else
typedef struct IFullScreenVideoExVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IFullScreenVideoEx* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IFullScreenVideoEx* This);
ULONG (STDMETHODCALLTYPE *Release)(
IFullScreenVideoEx* This);
/*** IFullScreenVideo methods ***/
HRESULT (STDMETHODCALLTYPE *CountModes)(
IFullScreenVideoEx* This,
LONG *pModes);
HRESULT (STDMETHODCALLTYPE *GetModeInfo)(
IFullScreenVideoEx* This,
LONG Mode,
LONG *pWidth,
LONG *pHeight,
LONG *pDepth);
HRESULT (STDMETHODCALLTYPE *GetCurrentMode)(
IFullScreenVideoEx* This,
LONG *pMode);
HRESULT (STDMETHODCALLTYPE *IsModeAvailable)(
IFullScreenVideoEx* This,
LONG Mode);
HRESULT (STDMETHODCALLTYPE *IsModeEnabled)(
IFullScreenVideoEx* This,
LONG Mode);
HRESULT (STDMETHODCALLTYPE *SetEnabled)(
IFullScreenVideoEx* This,
LONG Mode,
LONG bEnabled);
HRESULT (STDMETHODCALLTYPE *GetClipFactor)(
IFullScreenVideoEx* This,
LONG *pClipFactor);
HRESULT (STDMETHODCALLTYPE *SetClipFactor)(
IFullScreenVideoEx* This,
LONG ClipFactor);
HRESULT (STDMETHODCALLTYPE *SetMessageDrain)(
IFullScreenVideoEx* This,
HWND hwnd);
HRESULT (STDMETHODCALLTYPE *GetMessageDrain)(
IFullScreenVideoEx* This,
HWND *hwnd);
HRESULT (STDMETHODCALLTYPE *SetMonitor)(
IFullScreenVideoEx* This,
LONG Monitor);
HRESULT (STDMETHODCALLTYPE *GetMonitor)(
IFullScreenVideoEx* This,
LONG *Monitor);
HRESULT (STDMETHODCALLTYPE *HideOnDeactivate)(
IFullScreenVideoEx* This,
LONG Hide);
HRESULT (STDMETHODCALLTYPE *IsHideOnDeactivate)(
IFullScreenVideoEx* This);
HRESULT (STDMETHODCALLTYPE *SetCaption)(
IFullScreenVideoEx* This,
BSTR strCaption);
HRESULT (STDMETHODCALLTYPE *GetCaption)(
IFullScreenVideoEx* This,
BSTR *pstrCaption);
HRESULT (STDMETHODCALLTYPE *SetDefault)(
IFullScreenVideoEx* This);
/*** IFullScreenVideoEx methods ***/
HRESULT (STDMETHODCALLTYPE *SetAcceleratorTable)(
IFullScreenVideoEx* This,
HWND hwnd,
HACCEL hAccel);
HRESULT (STDMETHODCALLTYPE *GetAcceleratorTable)(
IFullScreenVideoEx* This,
HWND *phwnd,
HACCEL *phAccel);
HRESULT (STDMETHODCALLTYPE *KeepPixelAspectRatio)(
IFullScreenVideoEx* This,
LONG KeepAspect);
HRESULT (STDMETHODCALLTYPE *IsKeepPixelAspectRatio)(
IFullScreenVideoEx* This,
LONG *pKeepAspect);
END_INTERFACE
} IFullScreenVideoExVtbl;
interface IFullScreenVideoEx {
CONST_VTBL IFullScreenVideoExVtbl* lpVtbl;
};
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IFullScreenVideoEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IFullScreenVideoEx_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IFullScreenVideoEx_Release(This) (This)->lpVtbl->Release(This)
/*** IFullScreenVideo methods ***/
#define IFullScreenVideoEx_CountModes(This,pModes) (This)->lpVtbl->CountModes(This,pModes)
#define IFullScreenVideoEx_GetModeInfo(This,Mode,pWidth,pHeight,pDepth) (This)->lpVtbl->GetModeInfo(This,Mode,pWidth,pHeight,pDepth)
#define IFullScreenVideoEx_GetCurrentMode(This,pMode) (This)->lpVtbl->GetCurrentMode(This,pMode)
#define IFullScreenVideoEx_IsModeAvailable(This,Mode) (This)->lpVtbl->IsModeAvailable(This,Mode)
#define IFullScreenVideoEx_IsModeEnabled(This,Mode) (This)->lpVtbl->IsModeEnabled(This,Mode)
#define IFullScreenVideoEx_SetEnabled(This,Mode,bEnabled) (This)->lpVtbl->SetEnabled(This,Mode,bEnabled)
#define IFullScreenVideoEx_GetClipFactor(This,pClipFactor) (This)->lpVtbl->GetClipFactor(This,pClipFactor)
#define IFullScreenVideoEx_SetClipFactor(This,ClipFactor) (This)->lpVtbl->SetClipFactor(This,ClipFactor)
#define IFullScreenVideoEx_SetMessageDrain(This,hwnd) (This)->lpVtbl->SetMessageDrain(This,hwnd)
#define IFullScreenVideoEx_GetMessageDrain(This,hwnd) (This)->lpVtbl->GetMessageDrain(This,hwnd)
#define IFullScreenVideoEx_SetMonitor(This,Monitor) (This)->lpVtbl->SetMonitor(This,Monitor)
#define IFullScreenVideoEx_GetMonitor(This,Monitor) (This)->lpVtbl->GetMonitor(This,Monitor)
#define IFullScreenVideoEx_HideOnDeactivate(This,Hide) (This)->lpVtbl->HideOnDeactivate(This,Hide)
#define IFullScreenVideoEx_IsHideOnDeactivate(This) (This)->lpVtbl->IsHideOnDeactivate(This)
#define IFullScreenVideoEx_SetCaption(This,strCaption) (This)->lpVtbl->SetCaption(This,strCaption)
#define IFullScreenVideoEx_GetCaption(This,pstrCaption) (This)->lpVtbl->GetCaption(This,pstrCaption)
#define IFullScreenVideoEx_SetDefault(This) (This)->lpVtbl->SetDefault(This)
/*** IFullScreenVideoEx methods ***/
#define IFullScreenVideoEx_SetAcceleratorTable(This,hwnd,hAccel) (This)->lpVtbl->SetAcceleratorTable(This,hwnd,hAccel)
#define IFullScreenVideoEx_GetAcceleratorTable(This,phwnd,phAccel) (This)->lpVtbl->GetAcceleratorTable(This,phwnd,phAccel)
#define IFullScreenVideoEx_KeepPixelAspectRatio(This,KeepAspect) (This)->lpVtbl->KeepPixelAspectRatio(This,KeepAspect)
#define IFullScreenVideoEx_IsKeepPixelAspectRatio(This,pKeepAspect) (This)->lpVtbl->IsKeepPixelAspectRatio(This,pKeepAspect)
#endif
#endif
HRESULT STDMETHODCALLTYPE IFullScreenVideoEx_SetAcceleratorTable_Proxy(
IFullScreenVideoEx* This,
HWND hwnd,
HACCEL hAccel);
void __RPC_STUB IFullScreenVideoEx_SetAcceleratorTable_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IFullScreenVideoEx_GetAcceleratorTable_Proxy(
IFullScreenVideoEx* This,
HWND *phwnd,
HACCEL *phAccel);
void __RPC_STUB IFullScreenVideoEx_GetAcceleratorTable_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IFullScreenVideoEx_KeepPixelAspectRatio_Proxy(
IFullScreenVideoEx* This,
LONG KeepAspect);
void __RPC_STUB IFullScreenVideoEx_KeepPixelAspectRatio_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IFullScreenVideoEx_IsKeepPixelAspectRatio_Proxy(
IFullScreenVideoEx* This,
LONG *pKeepAspect);
void __RPC_STUB IFullScreenVideoEx_IsKeepPixelAspectRatio_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IFullScreenVideoEx_INTERFACE_DEFINED__ */
/*****************************************************************************
* IBaseVideoMixer interface
*/
#ifndef __IBaseVideoMixer_INTERFACE_DEFINED__
#define __IBaseVideoMixer_INTERFACE_DEFINED__
#if defined(__cplusplus) && !defined(CINTERFACE)
interface IBaseVideoMixer : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE SetLeadPin(
int iPin) = 0;
virtual HRESULT STDMETHODCALLTYPE GetLeadPin(
int *piPin) = 0;
virtual HRESULT STDMETHODCALLTYPE GetInputPinCount(
int *piPinCount) = 0;
virtual HRESULT STDMETHODCALLTYPE IsUsingClock(
int *pbValue) = 0;
virtual HRESULT STDMETHODCALLTYPE SetUsingClock(
int bValue) = 0;
virtual HRESULT STDMETHODCALLTYPE GetClockPeriod(
int *pbValue) = 0;
virtual HRESULT STDMETHODCALLTYPE SetClockPeriod(
int bValue) = 0;
};
#else
typedef struct IBaseVideoMixerVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IBaseVideoMixer* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IBaseVideoMixer* This);
ULONG (STDMETHODCALLTYPE *Release)(
IBaseVideoMixer* This);
/*** IBaseVideoMixer methods ***/
HRESULT (STDMETHODCALLTYPE *SetLeadPin)(
IBaseVideoMixer* This,
int iPin);
HRESULT (STDMETHODCALLTYPE *GetLeadPin)(
IBaseVideoMixer* This,
int *piPin);
HRESULT (STDMETHODCALLTYPE *GetInputPinCount)(
IBaseVideoMixer* This,
int *piPinCount);
HRESULT (STDMETHODCALLTYPE *IsUsingClock)(
IBaseVideoMixer* This,
int *pbValue);
HRESULT (STDMETHODCALLTYPE *SetUsingClock)(
IBaseVideoMixer* This,
int bValue);
HRESULT (STDMETHODCALLTYPE *GetClockPeriod)(
IBaseVideoMixer* This,
int *pbValue);
HRESULT (STDMETHODCALLTYPE *SetClockPeriod)(
IBaseVideoMixer* This,
int bValue);
END_INTERFACE
} IBaseVideoMixerVtbl;
interface IBaseVideoMixer {
CONST_VTBL IBaseVideoMixerVtbl* lpVtbl;
};
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IBaseVideoMixer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IBaseVideoMixer_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IBaseVideoMixer_Release(This) (This)->lpVtbl->Release(This)
/*** IBaseVideoMixer methods ***/
#define IBaseVideoMixer_SetLeadPin(This,iPin) (This)->lpVtbl->SetLeadPin(This,iPin)
#define IBaseVideoMixer_GetLeadPin(This,piPin) (This)->lpVtbl->GetLeadPin(This,piPin)
#define IBaseVideoMixer_GetInputPinCount(This,piPinCount) (This)->lpVtbl->GetInputPinCount(This,piPinCount)
#define IBaseVideoMixer_IsUsingClock(This,pbValue) (This)->lpVtbl->IsUsingClock(This,pbValue)
#define IBaseVideoMixer_SetUsingClock(This,bValue) (This)->lpVtbl->SetUsingClock(This,bValue)
#define IBaseVideoMixer_GetClockPeriod(This,pbValue) (This)->lpVtbl->GetClockPeriod(This,pbValue)
#define IBaseVideoMixer_SetClockPeriod(This,bValue) (This)->lpVtbl->SetClockPeriod(This,bValue)
#endif
#endif
HRESULT STDMETHODCALLTYPE IBaseVideoMixer_SetLeadPin_Proxy(
IBaseVideoMixer* This,
int iPin);
void __RPC_STUB IBaseVideoMixer_SetLeadPin_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBaseVideoMixer_GetLeadPin_Proxy(
IBaseVideoMixer* This,
int *piPin);
void __RPC_STUB IBaseVideoMixer_GetLeadPin_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBaseVideoMixer_GetInputPinCount_Proxy(
IBaseVideoMixer* This,
int *piPinCount);
void __RPC_STUB IBaseVideoMixer_GetInputPinCount_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBaseVideoMixer_IsUsingClock_Proxy(
IBaseVideoMixer* This,
int *pbValue);
void __RPC_STUB IBaseVideoMixer_IsUsingClock_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBaseVideoMixer_SetUsingClock_Proxy(
IBaseVideoMixer* This,
int bValue);
void __RPC_STUB IBaseVideoMixer_SetUsingClock_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBaseVideoMixer_GetClockPeriod_Proxy(
IBaseVideoMixer* This,
int *pbValue);
void __RPC_STUB IBaseVideoMixer_GetClockPeriod_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBaseVideoMixer_SetClockPeriod_Proxy(
IBaseVideoMixer* This,
int bValue);
void __RPC_STUB IBaseVideoMixer_SetClockPeriod_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IBaseVideoMixer_INTERFACE_DEFINED__ */
#define iPALETTE_COLORS 256
#define iEGA_COLORS 16
#define iMASK_COLORS 3
#define iTRUECOLOR 16
#define iRED 0
#define iGREEN 1
#define iBLUE 2
#define iPALETTE 8
#define iMAXBITS 8
typedef struct tag_TRUECOLORINFO {
DWORD dwBitMasks[3];
RGBQUAD bmiColors[256];
} TRUECOLORINFO;
typedef struct tagVIDEOINFOHEADER {
RECT rcSource;
RECT rcTarget;
DWORD dwBitRate;
DWORD dwBitErrorRate;
REFERENCE_TIME AvgTimePerFrame;
BITMAPINFOHEADER bmiHeader;
} VIDEOINFOHEADER;
typedef struct tagVIDEOINFO {
RECT rcSource;
RECT rcTarget;
DWORD dwBitRate;
DWORD dwBitErrorRate;
REFERENCE_TIME AvgTimePerFrame;
BITMAPINFOHEADER bmiHeader;
union {
RGBQUAD bmiColors[256];
DWORD dwBitMasks[3];
TRUECOLORINFO TrueColorInfo;
} DUMMYUNIONNAME;
} VIDEOINFO;
typedef struct tagMPEG1VIDEOINFO {
VIDEOINFOHEADER hdr;
DWORD dwStartTimeCode;
DWORD cbSequenceHeader;
BYTE bSequenceHeader[1];
} MPEG1VIDEOINFO;
#define MAX_SIZE_MPEG1_SEQUENCE_INFO 140
#define MPEG1_SEQUENCE_INFO(pv) ((const BYTE *)(pv)->bSequenceHeader)
typedef struct tagAnalogVideoInfo {
RECT rcSource;
RECT rcTarget;
DWORD dwActiveWidth;
DWORD dwActiveHeight;
REFERENCE_TIME AvgTimePerFrame;
} ANALOGVIDEOINFO;
typedef enum __WIDL_amvideo_generated_name_00000001 {
AM_PROPERTY_FRAMESTEP_STEP = 0x1,
AM_PROPERTY_FRAMESTEP_CANCEL = 0x2,
AM_PROPERTY_FRAMESTEP_CANSTEP = 0x3,
AM_PROPERTY_FRAMESTEP_CANSTEPMULTIPLE = 0x4
} AM_PROPERTY_FRAMESTEP;
typedef struct _AM_FRAMESTEP_STEP {
DWORD dwFramesToStep;
} AM_FRAMESTEP_STEP;
/* Begin additional prototypes for all interfaces */
ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *);
unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *);
unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
void __RPC_USER HWND_UserFree (ULONG *, HWND *);
ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *);
unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *);
unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
void __RPC_USER BSTR_UserFree (ULONG *, BSTR *);
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif /* __WIDL_AMVIDEO_H */