strmif.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:843k
- IMemInputPin * This,
- /* [in] */ IMemAllocator *pAllocator,
- /* [in] */ BOOL bReadOnly);
-
- HRESULT ( STDMETHODCALLTYPE *GetAllocatorRequirements )(
- IMemInputPin * This,
- /* [out] */ ALLOCATOR_PROPERTIES *pProps);
-
- HRESULT ( STDMETHODCALLTYPE *Receive )(
- IMemInputPin * This,
- /* [in] */ IMediaSample *pSample);
-
- HRESULT ( STDMETHODCALLTYPE *ReceiveMultiple )(
- IMemInputPin * This,
- /* [size_is][in] */ IMediaSample **pSamples,
- /* [in] */ long nSamples,
- /* [out] */ long *nSamplesProcessed);
-
- HRESULT ( STDMETHODCALLTYPE *ReceiveCanBlock )(
- IMemInputPin * This);
-
- END_INTERFACE
- } IMemInputPinVtbl;
- interface IMemInputPin
- {
- CONST_VTBL struct IMemInputPinVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IMemInputPin_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IMemInputPin_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IMemInputPin_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IMemInputPin_GetAllocator(This,ppAllocator)
- (This)->lpVtbl -> GetAllocator(This,ppAllocator)
- #define IMemInputPin_NotifyAllocator(This,pAllocator,bReadOnly)
- (This)->lpVtbl -> NotifyAllocator(This,pAllocator,bReadOnly)
- #define IMemInputPin_GetAllocatorRequirements(This,pProps)
- (This)->lpVtbl -> GetAllocatorRequirements(This,pProps)
- #define IMemInputPin_Receive(This,pSample)
- (This)->lpVtbl -> Receive(This,pSample)
- #define IMemInputPin_ReceiveMultiple(This,pSamples,nSamples,nSamplesProcessed)
- (This)->lpVtbl -> ReceiveMultiple(This,pSamples,nSamples,nSamplesProcessed)
- #define IMemInputPin_ReceiveCanBlock(This)
- (This)->lpVtbl -> ReceiveCanBlock(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IMemInputPin_GetAllocator_Proxy(
- IMemInputPin * This,
- /* [out] */ IMemAllocator **ppAllocator);
- void __RPC_STUB IMemInputPin_GetAllocator_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMemInputPin_NotifyAllocator_Proxy(
- IMemInputPin * This,
- /* [in] */ IMemAllocator *pAllocator,
- /* [in] */ BOOL bReadOnly);
- void __RPC_STUB IMemInputPin_NotifyAllocator_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMemInputPin_GetAllocatorRequirements_Proxy(
- IMemInputPin * This,
- /* [out] */ ALLOCATOR_PROPERTIES *pProps);
- void __RPC_STUB IMemInputPin_GetAllocatorRequirements_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMemInputPin_Receive_Proxy(
- IMemInputPin * This,
- /* [in] */ IMediaSample *pSample);
- void __RPC_STUB IMemInputPin_Receive_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMemInputPin_ReceiveMultiple_Proxy(
- IMemInputPin * This,
- /* [size_is][in] */ IMediaSample **pSamples,
- /* [in] */ long nSamples,
- /* [out] */ long *nSamplesProcessed);
- void __RPC_STUB IMemInputPin_ReceiveMultiple_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMemInputPin_ReceiveCanBlock_Proxy(
- IMemInputPin * This);
- void __RPC_STUB IMemInputPin_ReceiveCanBlock_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IMemInputPin_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_strmif_0126 */
- /* [local] */
- typedef IMemInputPin *PMEMINPUTPIN;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0126_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0126_v0_0_s_ifspec;
- #ifndef __IAMovieSetup_INTERFACE_DEFINED__
- #define __IAMovieSetup_INTERFACE_DEFINED__
- /* interface IAMovieSetup */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IAMovieSetup;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("a3d8cec0-7e5a-11cf-bbc5-00805f6cef20")
- IAMovieSetup : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Register( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Unregister( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IAMovieSetupVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IAMovieSetup * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IAMovieSetup * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IAMovieSetup * This);
-
- HRESULT ( STDMETHODCALLTYPE *Register )(
- IAMovieSetup * This);
-
- HRESULT ( STDMETHODCALLTYPE *Unregister )(
- IAMovieSetup * This);
-
- END_INTERFACE
- } IAMovieSetupVtbl;
- interface IAMovieSetup
- {
- CONST_VTBL struct IAMovieSetupVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IAMovieSetup_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IAMovieSetup_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IAMovieSetup_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IAMovieSetup_Register(This)
- (This)->lpVtbl -> Register(This)
- #define IAMovieSetup_Unregister(This)
- (This)->lpVtbl -> Unregister(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IAMovieSetup_Register_Proxy(
- IAMovieSetup * This);
- void __RPC_STUB IAMovieSetup_Register_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IAMovieSetup_Unregister_Proxy(
- IAMovieSetup * This);
- void __RPC_STUB IAMovieSetup_Unregister_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IAMovieSetup_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_strmif_0127 */
- /* [local] */
- typedef IAMovieSetup *PAMOVIESETUP;
- typedef
- enum AM_SEEKING_SeekingFlags
- { AM_SEEKING_NoPositioning = 0,
- AM_SEEKING_AbsolutePositioning = 0x1,
- AM_SEEKING_RelativePositioning = 0x2,
- AM_SEEKING_IncrementalPositioning = 0x3,
- AM_SEEKING_PositioningBitsMask = 0x3,
- AM_SEEKING_SeekToKeyFrame = 0x4,
- AM_SEEKING_ReturnTime = 0x8,
- AM_SEEKING_Segment = 0x10,
- AM_SEEKING_NoFlush = 0x20
- } AM_SEEKING_SEEKING_FLAGS;
- typedef
- enum AM_SEEKING_SeekingCapabilities
- { AM_SEEKING_CanSeekAbsolute = 0x1,
- AM_SEEKING_CanSeekForwards = 0x2,
- AM_SEEKING_CanSeekBackwards = 0x4,
- AM_SEEKING_CanGetCurrentPos = 0x8,
- AM_SEEKING_CanGetStopPos = 0x10,
- AM_SEEKING_CanGetDuration = 0x20,
- AM_SEEKING_CanPlayBackwards = 0x40,
- AM_SEEKING_CanDoSegments = 0x80,
- AM_SEEKING_Source = 0x100
- } AM_SEEKING_SEEKING_CAPABILITIES;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0127_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0127_v0_0_s_ifspec;
- #ifndef __IMediaSeeking_INTERFACE_DEFINED__
- #define __IMediaSeeking_INTERFACE_DEFINED__
- /* interface IMediaSeeking */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IMediaSeeking;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("36b73880-c2c8-11cf-8b46-00805f6cef60")
- IMediaSeeking : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetCapabilities(
- /* [out] */ DWORD *pCapabilities) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CheckCapabilities(
- /* [out][in] */ DWORD *pCapabilities) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE IsFormatSupported(
- /* [in] */ const GUID *pFormat) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE QueryPreferredFormat(
- /* [out] */ GUID *pFormat) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetTimeFormat(
- /* [out] */ GUID *pFormat) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE IsUsingTimeFormat(
- /* [in] */ const GUID *pFormat) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetTimeFormat(
- /* [in] */ const GUID *pFormat) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetDuration(
- /* [out] */ LONGLONG *pDuration) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetStopPosition(
- /* [out] */ LONGLONG *pStop) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetCurrentPosition(
- /* [out] */ LONGLONG *pCurrent) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ConvertTimeFormat(
- /* [out] */ LONGLONG *pTarget,
- /* [in] */ const GUID *pTargetFormat,
- /* [in] */ LONGLONG Source,
- /* [in] */ const GUID *pSourceFormat) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetPositions(
- /* [out][in] */ LONGLONG *pCurrent,
- /* [in] */ DWORD dwCurrentFlags,
- /* [out][in] */ LONGLONG *pStop,
- /* [in] */ DWORD dwStopFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetPositions(
- /* [out] */ LONGLONG *pCurrent,
- /* [out] */ LONGLONG *pStop) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetAvailable(
- /* [out] */ LONGLONG *pEarliest,
- /* [out] */ LONGLONG *pLatest) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetRate(
- /* [in] */ double dRate) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetRate(
- /* [out] */ double *pdRate) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetPreroll(
- /* [out] */ LONGLONG *pllPreroll) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IMediaSeekingVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IMediaSeeking * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IMediaSeeking * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IMediaSeeking * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetCapabilities )(
- IMediaSeeking * This,
- /* [out] */ DWORD *pCapabilities);
-
- HRESULT ( STDMETHODCALLTYPE *CheckCapabilities )(
- IMediaSeeking * This,
- /* [out][in] */ DWORD *pCapabilities);
-
- HRESULT ( STDMETHODCALLTYPE *IsFormatSupported )(
- IMediaSeeking * This,
- /* [in] */ const GUID *pFormat);
-
- HRESULT ( STDMETHODCALLTYPE *QueryPreferredFormat )(
- IMediaSeeking * This,
- /* [out] */ GUID *pFormat);
-
- HRESULT ( STDMETHODCALLTYPE *GetTimeFormat )(
- IMediaSeeking * This,
- /* [out] */ GUID *pFormat);
-
- HRESULT ( STDMETHODCALLTYPE *IsUsingTimeFormat )(
- IMediaSeeking * This,
- /* [in] */ const GUID *pFormat);
-
- HRESULT ( STDMETHODCALLTYPE *SetTimeFormat )(
- IMediaSeeking * This,
- /* [in] */ const GUID *pFormat);
-
- HRESULT ( STDMETHODCALLTYPE *GetDuration )(
- IMediaSeeking * This,
- /* [out] */ LONGLONG *pDuration);
-
- HRESULT ( STDMETHODCALLTYPE *GetStopPosition )(
- IMediaSeeking * This,
- /* [out] */ LONGLONG *pStop);
-
- HRESULT ( STDMETHODCALLTYPE *GetCurrentPosition )(
- IMediaSeeking * This,
- /* [out] */ LONGLONG *pCurrent);
-
- HRESULT ( STDMETHODCALLTYPE *ConvertTimeFormat )(
- IMediaSeeking * This,
- /* [out] */ LONGLONG *pTarget,
- /* [in] */ const GUID *pTargetFormat,
- /* [in] */ LONGLONG Source,
- /* [in] */ const GUID *pSourceFormat);
-
- HRESULT ( STDMETHODCALLTYPE *SetPositions )(
- IMediaSeeking * This,
- /* [out][in] */ LONGLONG *pCurrent,
- /* [in] */ DWORD dwCurrentFlags,
- /* [out][in] */ LONGLONG *pStop,
- /* [in] */ DWORD dwStopFlags);
-
- HRESULT ( STDMETHODCALLTYPE *GetPositions )(
- IMediaSeeking * This,
- /* [out] */ LONGLONG *pCurrent,
- /* [out] */ LONGLONG *pStop);
-
- HRESULT ( STDMETHODCALLTYPE *GetAvailable )(
- IMediaSeeking * This,
- /* [out] */ LONGLONG *pEarliest,
- /* [out] */ LONGLONG *pLatest);
-
- HRESULT ( STDMETHODCALLTYPE *SetRate )(
- IMediaSeeking * This,
- /* [in] */ double dRate);
-
- HRESULT ( STDMETHODCALLTYPE *GetRate )(
- IMediaSeeking * This,
- /* [out] */ double *pdRate);
-
- HRESULT ( STDMETHODCALLTYPE *GetPreroll )(
- IMediaSeeking * This,
- /* [out] */ LONGLONG *pllPreroll);
-
- END_INTERFACE
- } IMediaSeekingVtbl;
- interface IMediaSeeking
- {
- CONST_VTBL struct IMediaSeekingVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IMediaSeeking_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IMediaSeeking_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IMediaSeeking_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IMediaSeeking_GetCapabilities(This,pCapabilities)
- (This)->lpVtbl -> GetCapabilities(This,pCapabilities)
- #define IMediaSeeking_CheckCapabilities(This,pCapabilities)
- (This)->lpVtbl -> CheckCapabilities(This,pCapabilities)
- #define IMediaSeeking_IsFormatSupported(This,pFormat)
- (This)->lpVtbl -> IsFormatSupported(This,pFormat)
- #define IMediaSeeking_QueryPreferredFormat(This,pFormat)
- (This)->lpVtbl -> QueryPreferredFormat(This,pFormat)
- #define IMediaSeeking_GetTimeFormat(This,pFormat)
- (This)->lpVtbl -> GetTimeFormat(This,pFormat)
- #define IMediaSeeking_IsUsingTimeFormat(This,pFormat)
- (This)->lpVtbl -> IsUsingTimeFormat(This,pFormat)
- #define IMediaSeeking_SetTimeFormat(This,pFormat)
- (This)->lpVtbl -> SetTimeFormat(This,pFormat)
- #define IMediaSeeking_GetDuration(This,pDuration)
- (This)->lpVtbl -> GetDuration(This,pDuration)
- #define IMediaSeeking_GetStopPosition(This,pStop)
- (This)->lpVtbl -> GetStopPosition(This,pStop)
- #define IMediaSeeking_GetCurrentPosition(This,pCurrent)
- (This)->lpVtbl -> GetCurrentPosition(This,pCurrent)
- #define IMediaSeeking_ConvertTimeFormat(This,pTarget,pTargetFormat,Source,pSourceFormat)
- (This)->lpVtbl -> ConvertTimeFormat(This,pTarget,pTargetFormat,Source,pSourceFormat)
- #define IMediaSeeking_SetPositions(This,pCurrent,dwCurrentFlags,pStop,dwStopFlags)
- (This)->lpVtbl -> SetPositions(This,pCurrent,dwCurrentFlags,pStop,dwStopFlags)
- #define IMediaSeeking_GetPositions(This,pCurrent,pStop)
- (This)->lpVtbl -> GetPositions(This,pCurrent,pStop)
- #define IMediaSeeking_GetAvailable(This,pEarliest,pLatest)
- (This)->lpVtbl -> GetAvailable(This,pEarliest,pLatest)
- #define IMediaSeeking_SetRate(This,dRate)
- (This)->lpVtbl -> SetRate(This,dRate)
- #define IMediaSeeking_GetRate(This,pdRate)
- (This)->lpVtbl -> GetRate(This,pdRate)
- #define IMediaSeeking_GetPreroll(This,pllPreroll)
- (This)->lpVtbl -> GetPreroll(This,pllPreroll)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IMediaSeeking_GetCapabilities_Proxy(
- IMediaSeeking * This,
- /* [out] */ DWORD *pCapabilities);
- void __RPC_STUB IMediaSeeking_GetCapabilities_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMediaSeeking_CheckCapabilities_Proxy(
- IMediaSeeking * This,
- /* [out][in] */ DWORD *pCapabilities);
- void __RPC_STUB IMediaSeeking_CheckCapabilities_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMediaSeeking_IsFormatSupported_Proxy(
- IMediaSeeking * This,
- /* [in] */ const GUID *pFormat);
- void __RPC_STUB IMediaSeeking_IsFormatSupported_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMediaSeeking_QueryPreferredFormat_Proxy(
- IMediaSeeking * This,
- /* [out] */ GUID *pFormat);
- void __RPC_STUB IMediaSeeking_QueryPreferredFormat_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMediaSeeking_GetTimeFormat_Proxy(
- IMediaSeeking * This,
- /* [out] */ GUID *pFormat);
- void __RPC_STUB IMediaSeeking_GetTimeFormat_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMediaSeeking_IsUsingTimeFormat_Proxy(
- IMediaSeeking * This,
- /* [in] */ const GUID *pFormat);
- void __RPC_STUB IMediaSeeking_IsUsingTimeFormat_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMediaSeeking_SetTimeFormat_Proxy(
- IMediaSeeking * This,
- /* [in] */ const GUID *pFormat);
- void __RPC_STUB IMediaSeeking_SetTimeFormat_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMediaSeeking_GetDuration_Proxy(
- IMediaSeeking * This,
- /* [out] */ LONGLONG *pDuration);
- void __RPC_STUB IMediaSeeking_GetDuration_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMediaSeeking_GetStopPosition_Proxy(
- IMediaSeeking * This,
- /* [out] */ LONGLONG *pStop);
- void __RPC_STUB IMediaSeeking_GetStopPosition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMediaSeeking_GetCurrentPosition_Proxy(
- IMediaSeeking * This,
- /* [out] */ LONGLONG *pCurrent);
- void __RPC_STUB IMediaSeeking_GetCurrentPosition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMediaSeeking_ConvertTimeFormat_Proxy(
- IMediaSeeking * This,
- /* [out] */ LONGLONG *pTarget,
- /* [in] */ const GUID *pTargetFormat,
- /* [in] */ LONGLONG Source,
- /* [in] */ const GUID *pSourceFormat);
- void __RPC_STUB IMediaSeeking_ConvertTimeFormat_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMediaSeeking_SetPositions_Proxy(
- IMediaSeeking * This,
- /* [out][in] */ LONGLONG *pCurrent,
- /* [in] */ DWORD dwCurrentFlags,
- /* [out][in] */ LONGLONG *pStop,
- /* [in] */ DWORD dwStopFlags);
- void __RPC_STUB IMediaSeeking_SetPositions_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMediaSeeking_GetPositions_Proxy(
- IMediaSeeking * This,
- /* [out] */ LONGLONG *pCurrent,
- /* [out] */ LONGLONG *pStop);
- void __RPC_STUB IMediaSeeking_GetPositions_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMediaSeeking_GetAvailable_Proxy(
- IMediaSeeking * This,
- /* [out] */ LONGLONG *pEarliest,
- /* [out] */ LONGLONG *pLatest);
- void __RPC_STUB IMediaSeeking_GetAvailable_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMediaSeeking_SetRate_Proxy(
- IMediaSeeking * This,
- /* [in] */ double dRate);
- void __RPC_STUB IMediaSeeking_SetRate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMediaSeeking_GetRate_Proxy(
- IMediaSeeking * This,
- /* [out] */ double *pdRate);
- void __RPC_STUB IMediaSeeking_GetRate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMediaSeeking_GetPreroll_Proxy(
- IMediaSeeking * This,
- /* [out] */ LONGLONG *pllPreroll);
- void __RPC_STUB IMediaSeeking_GetPreroll_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IMediaSeeking_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_strmif_0128 */
- /* [local] */
- typedef IMediaSeeking *PMEDIASEEKING;
- enum tagAM_MEDIAEVENT_FLAGS
- {
- AM_MEDIAEVENT_NONOTIFY = 0x01
- };
- typedef /* [public][public] */ struct __MIDL___MIDL_itf_strmif_0128_0001
- {
- CLSID Clsid;
- LPWSTR Name;
- } REGFILTER;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0128_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0128_v0_0_s_ifspec;
- #ifndef __IEnumRegFilters_INTERFACE_DEFINED__
- #define __IEnumRegFilters_INTERFACE_DEFINED__
- /* interface IEnumRegFilters */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumRegFilters;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("56a868a4-0ad4-11ce-b03a-0020af0ba770")
- IEnumRegFilters : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG cFilters,
- /* [out] */ REGFILTER **apRegFilter,
- /* [out] */ ULONG *pcFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG cFilters) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumRegFilters **ppEnum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumRegFiltersVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumRegFilters * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumRegFilters * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumRegFilters * This);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumRegFilters * This,
- /* [in] */ ULONG cFilters,
- /* [out] */ REGFILTER **apRegFilter,
- /* [out] */ ULONG *pcFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumRegFilters * This,
- /* [in] */ ULONG cFilters);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumRegFilters * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumRegFilters * This,
- /* [out] */ IEnumRegFilters **ppEnum);
-
- END_INTERFACE
- } IEnumRegFiltersVtbl;
- interface IEnumRegFilters
- {
- CONST_VTBL struct IEnumRegFiltersVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumRegFilters_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumRegFilters_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IEnumRegFilters_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IEnumRegFilters_Next(This,cFilters,apRegFilter,pcFetched)
- (This)->lpVtbl -> Next(This,cFilters,apRegFilter,pcFetched)
- #define IEnumRegFilters_Skip(This,cFilters)
- (This)->lpVtbl -> Skip(This,cFilters)
- #define IEnumRegFilters_Reset(This)
- (This)->lpVtbl -> Reset(This)
- #define IEnumRegFilters_Clone(This,ppEnum)
- (This)->lpVtbl -> Clone(This,ppEnum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumRegFilters_Next_Proxy(
- IEnumRegFilters * This,
- /* [in] */ ULONG cFilters,
- /* [out] */ REGFILTER **apRegFilter,
- /* [out] */ ULONG *pcFetched);
- void __RPC_STUB IEnumRegFilters_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumRegFilters_Skip_Proxy(
- IEnumRegFilters * This,
- /* [in] */ ULONG cFilters);
- void __RPC_STUB IEnumRegFilters_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumRegFilters_Reset_Proxy(
- IEnumRegFilters * This);
- void __RPC_STUB IEnumRegFilters_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumRegFilters_Clone_Proxy(
- IEnumRegFilters * This,
- /* [out] */ IEnumRegFilters **ppEnum);
- void __RPC_STUB IEnumRegFilters_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumRegFilters_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_strmif_0130 */
- /* [local] */
- typedef IEnumRegFilters *PENUMREGFILTERS;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0130_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0130_v0_0_s_ifspec;
- #ifndef __IFilterMapper_INTERFACE_DEFINED__
- #define __IFilterMapper_INTERFACE_DEFINED__
- /* interface IFilterMapper */
- /* [unique][uuid][object] */
- enum __MIDL_IFilterMapper_0001
- { MERIT_PREFERRED = 0x800000,
- MERIT_NORMAL = 0x600000,
- MERIT_UNLIKELY = 0x400000,
- MERIT_DO_NOT_USE = 0x200000,
- MERIT_SW_COMPRESSOR = 0x100000,
- MERIT_HW_COMPRESSOR = 0x100050
- } ;
- EXTERN_C const IID IID_IFilterMapper;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("56a868a3-0ad4-11ce-b03a-0020af0ba770")
- IFilterMapper : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE RegisterFilter(
- /* [in] */ CLSID clsid,
- /* [in] */ LPCWSTR Name,
- /* [in] */ DWORD dwMerit) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE RegisterFilterInstance(
- /* [in] */ CLSID clsid,
- /* [in] */ LPCWSTR Name,
- /* [out] */ CLSID *MRId) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE RegisterPin(
- /* [in] */ CLSID Filter,
- /* [in] */ LPCWSTR Name,
- /* [in] */ BOOL bRendered,
- /* [in] */ BOOL bOutput,
- /* [in] */ BOOL bZero,
- /* [in] */ BOOL bMany,
- /* [in] */ CLSID ConnectsToFilter,
- /* [in] */ LPCWSTR ConnectsToPin) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE RegisterPinType(
- /* [in] */ CLSID clsFilter,
- /* [in] */ LPCWSTR strName,
- /* [in] */ CLSID clsMajorType,
- /* [in] */ CLSID clsSubType) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UnregisterFilter(
- /* [in] */ CLSID Filter) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UnregisterFilterInstance(
- /* [in] */ CLSID MRId) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UnregisterPin(
- /* [in] */ CLSID Filter,
- /* [in] */ LPCWSTR Name) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumMatchingFilters(
- /* [out] */ IEnumRegFilters **ppEnum,
- /* [in] */ DWORD dwMerit,
- /* [in] */ BOOL bInputNeeded,
- /* [in] */ CLSID clsInMaj,
- /* [in] */ CLSID clsInSub,
- /* [in] */ BOOL bRender,
- /* [in] */ BOOL bOututNeeded,
- /* [in] */ CLSID clsOutMaj,
- /* [in] */ CLSID clsOutSub) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IFilterMapperVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IFilterMapper * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IFilterMapper * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IFilterMapper * This);
-
- HRESULT ( STDMETHODCALLTYPE *RegisterFilter )(
- IFilterMapper * This,
- /* [in] */ CLSID clsid,
- /* [in] */ LPCWSTR Name,
- /* [in] */ DWORD dwMerit);
-
- HRESULT ( STDMETHODCALLTYPE *RegisterFilterInstance )(
- IFilterMapper * This,
- /* [in] */ CLSID clsid,
- /* [in] */ LPCWSTR Name,
- /* [out] */ CLSID *MRId);
-
- HRESULT ( STDMETHODCALLTYPE *RegisterPin )(
- IFilterMapper * This,
- /* [in] */ CLSID Filter,
- /* [in] */ LPCWSTR Name,
- /* [in] */ BOOL bRendered,
- /* [in] */ BOOL bOutput,
- /* [in] */ BOOL bZero,
- /* [in] */ BOOL bMany,
- /* [in] */ CLSID ConnectsToFilter,
- /* [in] */ LPCWSTR ConnectsToPin);
-
- HRESULT ( STDMETHODCALLTYPE *RegisterPinType )(
- IFilterMapper * This,
- /* [in] */ CLSID clsFilter,
- /* [in] */ LPCWSTR strName,
- /* [in] */ CLSID clsMajorType,
- /* [in] */ CLSID clsSubType);
-
- HRESULT ( STDMETHODCALLTYPE *UnregisterFilter )(
- IFilterMapper * This,
- /* [in] */ CLSID Filter);
-
- HRESULT ( STDMETHODCALLTYPE *UnregisterFilterInstance )(
- IFilterMapper * This,
- /* [in] */ CLSID MRId);
-
- HRESULT ( STDMETHODCALLTYPE *UnregisterPin )(
- IFilterMapper * This,
- /* [in] */ CLSID Filter,
- /* [in] */ LPCWSTR Name);
-
- HRESULT ( STDMETHODCALLTYPE *EnumMatchingFilters )(
- IFilterMapper * This,
- /* [out] */ IEnumRegFilters **ppEnum,
- /* [in] */ DWORD dwMerit,
- /* [in] */ BOOL bInputNeeded,
- /* [in] */ CLSID clsInMaj,
- /* [in] */ CLSID clsInSub,
- /* [in] */ BOOL bRender,
- /* [in] */ BOOL bOututNeeded,
- /* [in] */ CLSID clsOutMaj,
- /* [in] */ CLSID clsOutSub);
-
- END_INTERFACE
- } IFilterMapperVtbl;
- interface IFilterMapper
- {
- CONST_VTBL struct IFilterMapperVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IFilterMapper_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IFilterMapper_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IFilterMapper_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IFilterMapper_RegisterFilter(This,clsid,Name,dwMerit)
- (This)->lpVtbl -> RegisterFilter(This,clsid,Name,dwMerit)
- #define IFilterMapper_RegisterFilterInstance(This,clsid,Name,MRId)
- (This)->lpVtbl -> RegisterFilterInstance(This,clsid,Name,MRId)
- #define IFilterMapper_RegisterPin(This,Filter,Name,bRendered,bOutput,bZero,bMany,ConnectsToFilter,ConnectsToPin)
- (This)->lpVtbl -> RegisterPin(This,Filter,Name,bRendered,bOutput,bZero,bMany,ConnectsToFilter,ConnectsToPin)
- #define IFilterMapper_RegisterPinType(This,clsFilter,strName,clsMajorType,clsSubType)
- (This)->lpVtbl -> RegisterPinType(This,clsFilter,strName,clsMajorType,clsSubType)
- #define IFilterMapper_UnregisterFilter(This,Filter)
- (This)->lpVtbl -> UnregisterFilter(This,Filter)
- #define IFilterMapper_UnregisterFilterInstance(This,MRId)
- (This)->lpVtbl -> UnregisterFilterInstance(This,MRId)
- #define IFilterMapper_UnregisterPin(This,Filter,Name)
- (This)->lpVtbl -> UnregisterPin(This,Filter,Name)
- #define IFilterMapper_EnumMatchingFilters(This,ppEnum,dwMerit,bInputNeeded,clsInMaj,clsInSub,bRender,bOututNeeded,clsOutMaj,clsOutSub)
- (This)->lpVtbl -> EnumMatchingFilters(This,ppEnum,dwMerit,bInputNeeded,clsInMaj,clsInSub,bRender,bOututNeeded,clsOutMaj,clsOutSub)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IFilterMapper_RegisterFilter_Proxy(
- IFilterMapper * This,
- /* [in] */ CLSID clsid,
- /* [in] */ LPCWSTR Name,
- /* [in] */ DWORD dwMerit);
- void __RPC_STUB IFilterMapper_RegisterFilter_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IFilterMapper_RegisterFilterInstance_Proxy(
- IFilterMapper * This,
- /* [in] */ CLSID clsid,
- /* [in] */ LPCWSTR Name,
- /* [out] */ CLSID *MRId);
- void __RPC_STUB IFilterMapper_RegisterFilterInstance_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IFilterMapper_RegisterPin_Proxy(
- IFilterMapper * This,
- /* [in] */ CLSID Filter,
- /* [in] */ LPCWSTR Name,
- /* [in] */ BOOL bRendered,
- /* [in] */ BOOL bOutput,
- /* [in] */ BOOL bZero,
- /* [in] */ BOOL bMany,
- /* [in] */ CLSID ConnectsToFilter,
- /* [in] */ LPCWSTR ConnectsToPin);
- void __RPC_STUB IFilterMapper_RegisterPin_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IFilterMapper_RegisterPinType_Proxy(
- IFilterMapper * This,
- /* [in] */ CLSID clsFilter,
- /* [in] */ LPCWSTR strName,
- /* [in] */ CLSID clsMajorType,
- /* [in] */ CLSID clsSubType);
- void __RPC_STUB IFilterMapper_RegisterPinType_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IFilterMapper_UnregisterFilter_Proxy(
- IFilterMapper * This,
- /* [in] */ CLSID Filter);
- void __RPC_STUB IFilterMapper_UnregisterFilter_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IFilterMapper_UnregisterFilterInstance_Proxy(
- IFilterMapper * This,
- /* [in] */ CLSID MRId);
- void __RPC_STUB IFilterMapper_UnregisterFilterInstance_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IFilterMapper_UnregisterPin_Proxy(
- IFilterMapper * This,
- /* [in] */ CLSID Filter,
- /* [in] */ LPCWSTR Name);
- void __RPC_STUB IFilterMapper_UnregisterPin_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IFilterMapper_EnumMatchingFilters_Proxy(
- IFilterMapper * This,
- /* [out] */ IEnumRegFilters **ppEnum,
- /* [in] */ DWORD dwMerit,
- /* [in] */ BOOL bInputNeeded,
- /* [in] */ CLSID clsInMaj,
- /* [in] */ CLSID clsInSub,
- /* [in] */ BOOL bRender,
- /* [in] */ BOOL bOututNeeded,
- /* [in] */ CLSID clsOutMaj,
- /* [in] */ CLSID clsOutSub);
- void __RPC_STUB IFilterMapper_EnumMatchingFilters_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IFilterMapper_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_strmif_0132 */
- /* [local] */
- typedef /* [public][public][public][public][public][public][public] */ struct __MIDL___MIDL_itf_strmif_0132_0001
- {
- const CLSID *clsMajorType;
- const CLSID *clsMinorType;
- } REGPINTYPES;
- typedef /* [public][public][public] */ struct __MIDL___MIDL_itf_strmif_0132_0002
- {
- LPWSTR strName;
- BOOL bRendered;
- BOOL bOutput;
- BOOL bZero;
- BOOL bMany;
- const CLSID *clsConnectsToFilter;
- const WCHAR *strConnectsToPin;
- UINT nMediaTypes;
- const REGPINTYPES *lpMediaType;
- } REGFILTERPINS;
- typedef /* [public][public][public][public][public][public] */ struct __MIDL___MIDL_itf_strmif_0132_0003
- {
- CLSID clsMedium;
- DWORD dw1;
- DWORD dw2;
- } REGPINMEDIUM;
- enum __MIDL___MIDL_itf_strmif_0132_0004
- { REG_PINFLAG_B_ZERO = 0x1,
- REG_PINFLAG_B_RENDERER = 0x2,
- REG_PINFLAG_B_MANY = 0x4,
- REG_PINFLAG_B_OUTPUT = 0x8
- } ;
- typedef /* [public][public][public] */ struct __MIDL___MIDL_itf_strmif_0132_0005
- {
- DWORD dwFlags;
- UINT cInstances;
- UINT nMediaTypes;
- /* [size_is] */ const REGPINTYPES *lpMediaType;
- UINT nMediums;
- /* [size_is] */ const REGPINMEDIUM *lpMedium;
- const CLSID *clsPinCategory;
- } REGFILTERPINS2;
- typedef /* [public][public] */ struct __MIDL___MIDL_itf_strmif_0132_0006
- {
- DWORD dwVersion;
- DWORD dwMerit;
- /* [switch_type][switch_is] */ union
- {
- /* [case()] */ struct
- {
- ULONG cPins;
- /* [size_is] */ const REGFILTERPINS *rgPins;
- } ;
- /* [case()] */ struct
- {
- ULONG cPins2;
- /* [size_is] */ const REGFILTERPINS2 *rgPins2;
- } ;
- /* [default] */ /* Empty union arm */
- } ;
- } REGFILTER2;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0132_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0132_v0_0_s_ifspec;
- #ifndef __IFilterMapper2_INTERFACE_DEFINED__
- #define __IFilterMapper2_INTERFACE_DEFINED__
- /* interface IFilterMapper2 */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IFilterMapper2;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("b79bb0b0-33c1-11d1-abe1-00a0c905f375")
- IFilterMapper2 : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE CreateCategory(
- /* [in] */ REFCLSID clsidCategory,
- /* [in] */ DWORD dwCategoryMerit,
- /* [in] */ LPCWSTR Description) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UnregisterFilter(
- /* [in] */ const CLSID *pclsidCategory,
- /* [in] */ const OLECHAR *szInstance,
- /* [in] */ REFCLSID Filter) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE RegisterFilter(
- /* [in] */ REFCLSID clsidFilter,
- /* [in] */ LPCWSTR Name,
- /* [out][in] */ IMoniker **ppMoniker,
- /* [in] */ const CLSID *pclsidCategory,
- /* [in] */ const OLECHAR *szInstance,
- /* [in] */ const REGFILTER2 *prf2) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnumMatchingFilters(
- /* [out] */ IEnumMoniker **ppEnum,
- /* [in] */ DWORD dwFlags,
- /* [in] */ BOOL bExactMatch,
- /* [in] */ DWORD dwMerit,
- /* [in] */ BOOL bInputNeeded,
- /* [in] */ DWORD cInputTypes,
- /* [size_is] */ const GUID *pInputTypes,
- /* [in] */ const REGPINMEDIUM *pMedIn,
- /* [in] */ const CLSID *pPinCategoryIn,
- /* [in] */ BOOL bRender,
- /* [in] */ BOOL bOutputNeeded,
- /* [in] */ DWORD cOutputTypes,
- /* [size_is] */ const GUID *pOutputTypes,
- /* [in] */ const REGPINMEDIUM *pMedOut,
- /* [in] */ const CLSID *pPinCategoryOut) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IFilterMapper2Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IFilterMapper2 * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IFilterMapper2 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IFilterMapper2 * This);
-
- HRESULT ( STDMETHODCALLTYPE *CreateCategory )(
- IFilterMapper2 * This,
- /* [in] */ REFCLSID clsidCategory,
- /* [in] */ DWORD dwCategoryMerit,
- /* [in] */ LPCWSTR Description);
-
- HRESULT ( STDMETHODCALLTYPE *UnregisterFilter )(
- IFilterMapper2 * This,
- /* [in] */ const CLSID *pclsidCategory,
- /* [in] */ const OLECHAR *szInstance,
- /* [in] */ REFCLSID Filter);
-
- HRESULT ( STDMETHODCALLTYPE *RegisterFilter )(
- IFilterMapper2 * This,
- /* [in] */ REFCLSID clsidFilter,
- /* [in] */ LPCWSTR Name,
- /* [out][in] */ IMoniker **ppMoniker,
- /* [in] */ const CLSID *pclsidCategory,
- /* [in] */ const OLECHAR *szInstance,
- /* [in] */ const REGFILTER2 *prf2);
-
- HRESULT ( STDMETHODCALLTYPE *EnumMatchingFilters )(
- IFilterMapper2 * This,
- /* [out] */ IEnumMoniker **ppEnum,
- /* [in] */ DWORD dwFlags,
- /* [in] */ BOOL bExactMatch,
- /* [in] */ DWORD dwMerit,
- /* [in] */ BOOL bInputNeeded,
- /* [in] */ DWORD cInputTypes,
- /* [size_is] */ const GUID *pInputTypes,
- /* [in] */ const REGPINMEDIUM *pMedIn,
- /* [in] */ const CLSID *pPinCategoryIn,
- /* [in] */ BOOL bRender,
- /* [in] */ BOOL bOutputNeeded,
- /* [in] */ DWORD cOutputTypes,
- /* [size_is] */ const GUID *pOutputTypes,
- /* [in] */ const REGPINMEDIUM *pMedOut,
- /* [in] */ const CLSID *pPinCategoryOut);
-
- END_INTERFACE
- } IFilterMapper2Vtbl;
- interface IFilterMapper2
- {
- CONST_VTBL struct IFilterMapper2Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IFilterMapper2_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IFilterMapper2_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IFilterMapper2_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IFilterMapper2_CreateCategory(This,clsidCategory,dwCategoryMerit,Description)
- (This)->lpVtbl -> CreateCategory(This,clsidCategory,dwCategoryMerit,Description)
- #define IFilterMapper2_UnregisterFilter(This,pclsidCategory,szInstance,Filter)
- (This)->lpVtbl -> UnregisterFilter(This,pclsidCategory,szInstance,Filter)
- #define IFilterMapper2_RegisterFilter(This,clsidFilter,Name,ppMoniker,pclsidCategory,szInstance,prf2)
- (This)->lpVtbl -> RegisterFilter(This,clsidFilter,Name,ppMoniker,pclsidCategory,szInstance,prf2)
- #define IFilterMapper2_EnumMatchingFilters(This,ppEnum,dwFlags,bExactMatch,dwMerit,bInputNeeded,cInputTypes,pInputTypes,pMedIn,pPinCategoryIn,bRender,bOutputNeeded,cOutputTypes,pOutputTypes,pMedOut,pPinCategoryOut)
- (This)->lpVtbl -> EnumMatchingFilters(This,ppEnum,dwFlags,bExactMatch,dwMerit,bInputNeeded,cInputTypes,pInputTypes,pMedIn,pPinCategoryIn,bRender,bOutputNeeded,cOutputTypes,pOutputTypes,pMedOut,pPinCategoryOut)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IFilterMapper2_CreateCategory_Proxy(
- IFilterMapper2 * This,
- /* [in] */ REFCLSID clsidCategory,
- /* [in] */ DWORD dwCategoryMerit,
- /* [in] */ LPCWSTR Description);
- void __RPC_STUB IFilterMapper2_CreateCategory_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IFilterMapper2_UnregisterFilter_Proxy(
- IFilterMapper2 * This,
- /* [in] */ const CLSID *pclsidCategory,
- /* [in] */ const OLECHAR *szInstance,
- /* [in] */ REFCLSID Filter);
- void __RPC_STUB IFilterMapper2_UnregisterFilter_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IFilterMapper2_RegisterFilter_Proxy(
- IFilterMapper2 * This,
- /* [in] */ REFCLSID clsidFilter,
- /* [in] */ LPCWSTR Name,
- /* [out][in] */ IMoniker **ppMoniker,
- /* [in] */ const CLSID *pclsidCategory,
- /* [in] */ const OLECHAR *szInstance,
- /* [in] */ const REGFILTER2 *prf2);
- void __RPC_STUB IFilterMapper2_RegisterFilter_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IFilterMapper2_EnumMatchingFilters_Proxy(
- IFilterMapper2 * This,
- /* [out] */ IEnumMoniker **ppEnum,
- /* [in] */ DWORD dwFlags,
- /* [in] */ BOOL bExactMatch,
- /* [in] */ DWORD dwMerit,
- /* [in] */ BOOL bInputNeeded,
- /* [in] */ DWORD cInputTypes,
- /* [size_is] */ const GUID *pInputTypes,
- /* [in] */ const REGPINMEDIUM *pMedIn,
- /* [in] */ const CLSID *pPinCategoryIn,
- /* [in] */ BOOL bRender,
- /* [in] */ BOOL bOutputNeeded,
- /* [in] */ DWORD cOutputTypes,
- /* [size_is] */ const GUID *pOutputTypes,
- /* [in] */ const REGPINMEDIUM *pMedOut,
- /* [in] */ const CLSID *pPinCategoryOut);
- void __RPC_STUB IFilterMapper2_EnumMatchingFilters_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IFilterMapper2_INTERFACE_DEFINED__ */
- #ifndef __IFilterMapper3_INTERFACE_DEFINED__
- #define __IFilterMapper3_INTERFACE_DEFINED__
- /* interface IFilterMapper3 */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IFilterMapper3;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("b79bb0b1-33c1-11d1-abe1-00a0c905f375")
- IFilterMapper3 : public IFilterMapper2
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetICreateDevEnum(
- /* [out] */ ICreateDevEnum **ppEnum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IFilterMapper3Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IFilterMapper3 * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IFilterMapper3 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IFilterMapper3 * This);
-
- HRESULT ( STDMETHODCALLTYPE *CreateCategory )(
- IFilterMapper3 * This,
- /* [in] */ REFCLSID clsidCategory,
- /* [in] */ DWORD dwCategoryMerit,
- /* [in] */ LPCWSTR Description);
-
- HRESULT ( STDMETHODCALLTYPE *UnregisterFilter )(
- IFilterMapper3 * This,
- /* [in] */ const CLSID *pclsidCategory,
- /* [in] */ const OLECHAR *szInstance,
- /* [in] */ REFCLSID Filter);
-
- HRESULT ( STDMETHODCALLTYPE *RegisterFilter )(
- IFilterMapper3 * This,
- /* [in] */ REFCLSID clsidFilter,
- /* [in] */ LPCWSTR Name,
- /* [out][in] */ IMoniker **ppMoniker,
- /* [in] */ const CLSID *pclsidCategory,
- /* [in] */ const OLECHAR *szInstance,
- /* [in] */ const REGFILTER2 *prf2);
-
- HRESULT ( STDMETHODCALLTYPE *EnumMatchingFilters )(
- IFilterMapper3 * This,
- /* [out] */ IEnumMoniker **ppEnum,
- /* [in] */ DWORD dwFlags,
- /* [in] */ BOOL bExactMatch,
- /* [in] */ DWORD dwMerit,
- /* [in] */ BOOL bInputNeeded,
- /* [in] */ DWORD cInputTypes,
- /* [size_is] */ const GUID *pInputTypes,
- /* [in] */ const REGPINMEDIUM *pMedIn,
- /* [in] */ const CLSID *pPinCategoryIn,
- /* [in] */ BOOL bRender,
- /* [in] */ BOOL bOutputNeeded,
- /* [in] */ DWORD cOutputTypes,
- /* [size_is] */ const GUID *pOutputTypes,
- /* [in] */ const REGPINMEDIUM *pMedOut,
- /* [in] */ const CLSID *pPinCategoryOut);
-
- HRESULT ( STDMETHODCALLTYPE *GetICreateDevEnum )(
- IFilterMapper3 * This,
- /* [out] */ ICreateDevEnum **ppEnum);
-
- END_INTERFACE
- } IFilterMapper3Vtbl;
- interface IFilterMapper3
- {
- CONST_VTBL struct IFilterMapper3Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IFilterMapper3_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IFilterMapper3_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IFilterMapper3_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IFilterMapper3_CreateCategory(This,clsidCategory,dwCategoryMerit,Description)
- (This)->lpVtbl -> CreateCategory(This,clsidCategory,dwCategoryMerit,Description)
- #define IFilterMapper3_UnregisterFilter(This,pclsidCategory,szInstance,Filter)
- (This)->lpVtbl -> UnregisterFilter(This,pclsidCategory,szInstance,Filter)
- #define IFilterMapper3_RegisterFilter(This,clsidFilter,Name,ppMoniker,pclsidCategory,szInstance,prf2)
- (This)->lpVtbl -> RegisterFilter(This,clsidFilter,Name,ppMoniker,pclsidCategory,szInstance,prf2)
- #define IFilterMapper3_EnumMatchingFilters(This,ppEnum,dwFlags,bExactMatch,dwMerit,bInputNeeded,cInputTypes,pInputTypes,pMedIn,pPinCategoryIn,bRender,bOutputNeeded,cOutputTypes,pOutputTypes,pMedOut,pPinCategoryOut)
- (This)->lpVtbl -> EnumMatchingFilters(This,ppEnum,dwFlags,bExactMatch,dwMerit,bInputNeeded,cInputTypes,pInputTypes,pMedIn,pPinCategoryIn,bRender,bOutputNeeded,cOutputTypes,pOutputTypes,pMedOut,pPinCategoryOut)
- #define IFilterMapper3_GetICreateDevEnum(This,ppEnum)
- (This)->lpVtbl -> GetICreateDevEnum(This,ppEnum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IFilterMapper3_GetICreateDevEnum_Proxy(
- IFilterMapper3 * This,
- /* [out] */ ICreateDevEnum **ppEnum);
- void __RPC_STUB IFilterMapper3_GetICreateDevEnum_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IFilterMapper3_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_strmif_0135 */
- /* [local] */
- typedef
- enum tagQualityMessageType
- { Famine = 0,
- Flood = Famine + 1
- } QualityMessageType;
- typedef struct tagQuality
- {
- QualityMessageType Type;
- long Proportion;
- REFERENCE_TIME Late;
- REFERENCE_TIME TimeStamp;
- } Quality;
- typedef IQualityControl *PQUALITYCONTROL;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0135_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0135_v0_0_s_ifspec;
- #ifndef __IQualityControl_INTERFACE_DEFINED__
- #define __IQualityControl_INTERFACE_DEFINED__
- /* interface IQualityControl */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IQualityControl;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("56a868a5-0ad4-11ce-b03a-0020af0ba770")
- IQualityControl : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Notify(
- /* [in] */ IBaseFilter *pSelf,
- /* [in] */ Quality q) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetSink(
- /* [in] */ IQualityControl *piqc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IQualityControlVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IQualityControl * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IQualityControl * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IQualityControl * This);
-
- HRESULT ( STDMETHODCALLTYPE *Notify )(
- IQualityControl * This,
- /* [in] */ IBaseFilter *pSelf,
- /* [in] */ Quality q);
-
- HRESULT ( STDMETHODCALLTYPE *SetSink )(
- IQualityControl * This,
- /* [in] */ IQualityControl *piqc);
-
- END_INTERFACE
- } IQualityControlVtbl;
- interface IQualityControl
- {
- CONST_VTBL struct IQualityControlVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IQualityControl_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IQualityControl_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IQualityControl_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IQualityControl_Notify(This,pSelf,q)
- (This)->lpVtbl -> Notify(This,pSelf,q)
- #define IQualityControl_SetSink(This,piqc)
- (This)->lpVtbl -> SetSink(This,piqc)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IQualityControl_Notify_Proxy(
- IQualityControl * This,
- /* [in] */ IBaseFilter *pSelf,
- /* [in] */ Quality q);
- void __RPC_STUB IQualityControl_Notify_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IQualityControl_SetSink_Proxy(
- IQualityControl * This,
- /* [in] */ IQualityControl *piqc);
- void __RPC_STUB IQualityControl_SetSink_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IQualityControl_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_strmif_0136 */
- /* [local] */
- enum __MIDL___MIDL_itf_strmif_0136_0001
- { CK_NOCOLORKEY = 0,
- CK_INDEX = 0x1,
- CK_RGB = 0x2
- } ;
- typedef struct tagCOLORKEY
- {
- DWORD KeyType;
- DWORD PaletteIndex;
- COLORREF LowColorValue;
- COLORREF HighColorValue;
- } COLORKEY;
- enum __MIDL___MIDL_itf_strmif_0136_0002
- { ADVISE_NONE = 0,
- ADVISE_CLIPPING = 0x1,
- ADVISE_PALETTE = 0x2,
- ADVISE_COLORKEY = 0x4,
- ADVISE_POSITION = 0x8,
- ADVISE_DISPLAY_CHANGE = 0x10
- } ;
- #define ADVISE_ALL ( ADVISE_CLIPPING | ADVISE_PALETTE | ADVISE_COLORKEY | ADVISE_POSITION )
- #define ADVISE_ALL2 ( ADVISE_ALL | ADVISE_DISPLAY_CHANGE )
- #ifndef _WINGDI_
- typedef struct _RGNDATAHEADER
- {
- DWORD dwSize;
- DWORD iType;
- DWORD nCount;
- DWORD nRgnSize;
- RECT rcBound;
- } RGNDATAHEADER;
- typedef struct _RGNDATA
- {
- RGNDATAHEADER rdh;
- char Buffer[ 1 ];
- } RGNDATA;
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0136_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0136_v0_0_s_ifspec;
- #ifndef __IOverlayNotify_INTERFACE_DEFINED__
- #define __IOverlayNotify_INTERFACE_DEFINED__
- /* interface IOverlayNotify */
- /* [unique][uuid][local][object] */
- EXTERN_C const IID IID_IOverlayNotify;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("56a868a0-0ad4-11ce-b03a-0020af0ba770")
- IOverlayNotify : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnPaletteChange(
- /* [in] */ DWORD dwColors,
- /* [in] */ const PALETTEENTRY *pPalette) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnClipChange(
- /* [in] */ const RECT *pSourceRect,
- /* [in] */ const RECT *pDestinationRect,
- /* [in] */ const RGNDATA *pRgnData) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnColorKeyChange(
- /* [in] */ const COLORKEY *pColorKey) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OnPositionChange(
- /* [in] */ const RECT *pSourceRect,
- /* [in] */ const RECT *pDestinationRect) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IOverlayNotifyVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IOverlayNotify * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IOverlayNotify * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IOverlayNotify * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnPaletteChange )(
- IOverlayNotify * This,
- /* [in] */ DWORD dwColors,
- /* [in] */ const PALETTEENTRY *pPalette);
-
- HRESULT ( STDMETHODCALLTYPE *OnClipChange )(
- IOverlayNotify * This,
- /* [in] */ const RECT *pSourceRect,
- /* [in] */ const RECT *pDestinationRect,
- /* [in] */ const RGNDATA *pRgnData);
-
- HRESULT ( STDMETHODCALLTYPE *OnColorKeyChange )(
- IOverlayNotify * This,
- /* [in] */ const COLORKEY *pColorKey);
-
- HRESULT ( STDMETHODCALLTYPE *OnPositionChange )(
- IOverlayNotify * This,
- /* [in] */ const RECT *pSourceRect,
- /* [in] */ const RECT *pDestinationRect);
-
- END_INTERFACE
- } IOverlayNotifyVtbl;
- interface IOverlayNotify
- {
- CONST_VTBL struct IOverlayNotifyVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IOverlayNotify_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IOverlayNotify_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IOverlayNotify_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IOverlayNotify_OnPaletteChange(This,dwColors,pPalette)
- (This)->lpVtbl -> OnPaletteChange(This,dwColors,pPalette)
- #define IOverlayNotify_OnClipChange(This,pSourceRect,pDestinationRect,pRgnData)
- (This)->lpVtbl -> OnClipChange(This,pSourceRect,pDestinationRect,pRgnData)
- #define IOverlayNotify_OnColorKeyChange(This,pColorKey)
- (This)->lpVtbl -> OnColorKeyChange(This,pColorKey)
- #define IOverlayNotify_OnPositionChange(This,pSourceRect,pDestinationRect)
- (This)->lpVtbl -> OnPositionChange(This,pSourceRect,pDestinationRect)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IOverlayNotify_OnPaletteChange_Proxy(
- IOverlayNotify * This,
- /* [in] */ DWORD dwColors,
- /* [in] */ const PALETTEENTRY *pPalette);
- void __RPC_STUB IOverlayNotify_OnPaletteChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOverlayNotify_OnClipChange_Proxy(
- IOverlayNotify * This,
- /* [in] */ const RECT *pSourceRect,
- /* [in] */ const RECT *pDestinationRect,
- /* [in] */ const RGNDATA *pRgnData);
- void __RPC_STUB IOverlayNotify_OnClipChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOverlayNotify_OnColorKeyChange_Proxy(
- IOverlayNotify * This,
- /* [in] */ const COLORKEY *pColorKey);
- void __RPC_STUB IOverlayNotify_OnColorKeyChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOverlayNotify_OnPositionChange_Proxy(
- IOverlayNotify * This,
- /* [in] */ const RECT *pSourceRect,
- /* [in] */ const RECT *pDestinationRect);
- void __RPC_STUB IOverlayNotify_OnPositionChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IOverlayNotify_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_strmif_0137 */
- /* [local] */
- typedef IOverlayNotify *POVERLAYNOTIFY;
- #if !defined(HMONITOR_DECLARED) && !defined(HMONITOR) && (WINVER < 0x0500)
- #define HMONITOR_DECLARED
- #if 0
- typedef HANDLE HMONITOR;
- #endif
- DECLARE_HANDLE(HMONITOR);
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0137_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0137_v0_0_s_ifspec;
- #ifndef __IOverlayNotify2_INTERFACE_DEFINED__
- #define __IOverlayNotify2_INTERFACE_DEFINED__
- /* interface IOverlayNotify2 */
- /* [unique][uuid][local][object] */
- EXTERN_C const IID IID_IOverlayNotify2;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("680EFA10-D535-11D1-87C8-00A0C9223196")
- IOverlayNotify2 : public IOverlayNotify
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnDisplayChange(
- HMONITOR hMonitor) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IOverlayNotify2Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IOverlayNotify2 * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IOverlayNotify2 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IOverlayNotify2 * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnPaletteChange )(
- IOverlayNotify2 * This,
- /* [in] */ DWORD dwColors,
- /* [in] */ const PALETTEENTRY *pPalette);
-
- HRESULT ( STDMETHODCALLTYPE *OnClipChange )(
- IOverlayNotify2 * This,
- /* [in] */ const RECT *pSourceRect,
- /* [in] */ const RECT *pDestinationRect,
- /* [in] */ const RGNDATA *pRgnData);
-
- HRESULT ( STDMETHODCALLTYPE *OnColorKeyChange )(
- IOverlayNotify2 * This,
- /* [in] */ const COLORKEY *pColorKey);
-
- HRESULT ( STDMETHODCALLTYPE *OnPositionChange )(
- IOverlayNotify2 * This,
- /* [in] */ const RECT *pSourceRect,
- /* [in] */ const RECT *pDestinationRect);
-
- HRESULT ( STDMETHODCALLTYPE *OnDisplayChange )(
- IOverlayNotify2 * This,
- HMONITOR hMonitor);
-
- END_INTERFACE
- } IOverlayNotify2Vtbl;
- interface IOverlayNotify2
- {
- CONST_VTBL struct IOverlayNotify2Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IOverlayNotify2_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IOverlayNotify2_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IOverlayNotify2_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IOverlayNotify2_OnPaletteChange(This,dwColors,pPalette)
- (This)->lpVtbl -> OnPaletteChange(This,dwColors,pPalette)
- #define IOverlayNotify2_OnClipChange(This,pSourceRect,pDestinationRect,pRgnData)
- (This)->lpVtbl -> OnClipChange(This,pSourceRect,pDestinationRect,pRgnData)
- #define IOverlayNotify2_OnColorKeyChange(This,pColorKey)
- (This)->lpVtbl -> OnColorKeyChange(This,pColorKey)
- #define IOverlayNotify2_OnPositionChange(This,pSourceRect,pDestinationRect)
- (This)->lpVtbl -> OnPositionChange(This,pSourceRect,pDestinationRect)
- #define IOverlayNotify2_OnDisplayChange(This,hMonitor)
- (This)->lpVtbl -> OnDisplayChange(This,hMonitor)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IOverlayNotify2_OnDisplayChange_Proxy(
- IOverlayNotify2 * This,
- HMONITOR hMonitor);
- void __RPC_STUB IOverlayNotify2_OnDisplayChange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IOverlayNotify2_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_strmif_0138 */
- /* [local] */
- typedef IOverlayNotify2 *POVERLAYNOTIFY2;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0138_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0138_v0_0_s_ifspec;
- #ifndef __IOverlay_INTERFACE_DEFINED__
- #define __IOverlay_INTERFACE_DEFINED__
- /* interface IOverlay */
- /* [unique][uuid][local][object] */
- EXTERN_C const IID IID_IOverlay;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("56a868a1-0ad4-11ce-b03a-0020af0ba770")
- IOverlay : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetPalette(
- /* [out] */ DWORD *pdwColors,
- /* [out] */ PALETTEENTRY **ppPalette) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetPalette(
- /* [in] */ DWORD dwColors,
- /* [in] */ PALETTEENTRY *pPalette) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetDefaultColorKey(
- /* [out] */ COLORKEY *pColorKey) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetColorKey(
- /* [out] */ COLORKEY *pColorKey) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetColorKey(
- /* [out][in] */ COLORKEY *pColorKey) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetWindowHandle(
- /* [out] */ HWND *pHwnd) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetClipList(
- /* [out] */ RECT *pSourceRect,
- /* [out] */ RECT *pDestinationRect,
- /* [out] */ RGNDATA **ppRgnData) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetVideoPosition(
- /* [out] */ RECT *pSourceRect,
- /* [out] */ RECT *pDestinationRect) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Advise(
- /* [in] */ IOverlayNotify *pOverlayNotify,
- /* [in] */ DWORD dwInterests) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Unadvise( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IOverlayVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IOverlay * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IOverlay * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IOverlay * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetPalette )(
- IOverlay * This,
- /* [out] */ DWORD *pdwColors,
- /* [out] */ PALETTEENTRY **ppPalette);
-
- HRESULT ( STDMETHODCALLTYPE *SetPalette )(
- IOverlay * This,
- /* [in] */ DWORD dwColors,
- /* [in] */ PALETTEENTRY *pPalette);
-
- HRESULT ( STDMETHODCALLTYPE *GetDefaultColorKey )(
- IOverlay * This,
- /* [out] */ COLORKEY *pColorKey);
-
- HRESULT ( STDMETHODCALLTYPE *GetColorKey )(
- IOverlay * This,
- /* [out] */ COLORKEY *pColorKey);
-
- HRESULT ( STDMETHODCALLTYPE *SetColorKey )(
- IOverlay * This,
- /* [out][in] */ COLORKEY *pColorKey);
-
- HRESULT ( STDMETHODCALLTYPE *GetWindowHandle )(
- IOverlay * This,
- /* [out] */ HWND *pHwnd);
-
- HRESULT ( STDMETHODCALLTYPE *GetClipList )(
- IOverlay * This,
- /* [out] */ RECT *pSourceRect,
- /* [out] */ RECT *pDestinationRect,
- /* [out] */ RGNDATA **ppRgnData);
-
- HRESULT ( STDMETHODCALLTYPE *GetVideoPosition )(
- IOverlay * This,
- /* [out] */ RECT *pSourceRect,
- /* [out] */ RECT *pDestinationRect);
-
- HRESULT ( STDMETHODCALLTYPE *Advise )(
- IOverlay * This,
- /* [in] */ IOverlayNotify *pOverlayNotify,
- /* [in] */ DWORD dwInterests);
-
- HRESULT ( STDMETHODCALLTYPE *Unadvise )(
- IOverlay * This);
-
- END_INTERFACE
- } IOverlayVtbl;
- interface IOverlay
- {
- CONST_VTBL struct IOverlayVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IOverlay_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IOverlay_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IOverlay_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IOverlay_GetPalette(This,pdwColors,ppPalette)
- (This)->lpVtbl -> GetPalette(This,pdwColors,ppPalette)
- #define IOverlay_SetPalette(This,dwColors,pPalette)
- (This)->lpVtbl -> SetPalette(This,dwColors,pPalette)
- #define IOverlay_GetDefaultColorKey(This,pColorKey)
- (This)->lpVtbl -> GetDefaultColorKey(This,pColorKey)
- #define IOverlay_GetColorKey(This,pColorKey)
- (This)->lpVtbl -> GetColorKey(This,pColorKey)
- #define IOverlay_SetColorKey(This,pColorKey)
- (This)->lpVtbl -> SetColorKey(This,pColorKey)
- #define IOverlay_GetWindowHandle(This,pHwnd)
- (This)->lpVtbl -> GetWindowHandle(This,pHwnd)
- #define IOverlay_GetClipList(This,pSourceRect,pDestinationRect,ppRgnData)
- (This)->lpVtbl -> GetClipList(This,pSourceRect,pDestinationRect,ppRgnData)
- #define IOverlay_GetVideoPosition(This,pSourceRect,pDestinationRect)
- (This)->lpVtbl -> GetVideoPosition(This,pSourceRect,pDestinationRect)
- #define IOverlay_Advise(This,pOverlayNotify,dwInterests)
- (This)->lpVtbl -> Advise(This,pOverlayNotify,dwInterests)
- #define IOverlay_Unadvise(This)
- (This)->lpVtbl -> Unadvise(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IOverlay_GetPalette_Proxy(
- IOverlay * This,
- /* [out] */ DWORD *pdwColors,
- /* [out] */ PALETTEENTRY **ppPalette);
- void __RPC_STUB IOverlay_GetPalette_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOverlay_SetPalette_Proxy(
- IOverlay * This,
- /* [in] */ DWORD dwColors,
- /* [in] */ PALETTEENTRY *pPalette);
- void __RPC_STUB IOverlay_SetPalette_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOverlay_GetDefaultColorKey_Proxy(
- IOverlay * This,
- /* [out] */ COLORKEY *pColorKey);
- void __RPC_STUB IOverlay_GetDefaultColorKey_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOverlay_GetColorKey_Proxy(
- IOverlay * This,
- /* [out] */ COLORKEY *pColorKey);
- void __RPC_STUB IOverlay_GetColorKey_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOverlay_SetColorKey_Proxy(
- IOverlay * This,
- /* [out][in] */ COLORKEY *pColorKey);
- void __RPC_STUB IOverlay_SetColorKey_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOverlay_GetWindowHandle_Proxy(
- IOverlay * This,
- /* [out] */ HWND *pHwnd);
- void __RPC_STUB IOverlay_GetWindowHandle_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOverlay_GetClipList_Proxy(
- IOverlay * This,
- /* [out] */ RECT *pSourceRect,
- /* [out] */ RECT *pDestinationRect,
- /* [out] */ RGNDATA **ppRgnData);
- void __RPC_STUB IOverlay_GetClipList_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOverlay_GetVideoPosition_Proxy(
- IOverlay * This,
- /* [out] */ RECT *pSourceRect,
- /* [out] */ RECT *pDestinationRect);
- void __RPC_STUB IOverlay_GetVideoPosition_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOverlay_Advise_Proxy(
- IOverlay * This,
- /* [in] */ IOverlayNotify *pOverlayNotify,
- /* [in] */ DWORD dwInterests);
- void __RPC_STUB IOverlay_Advise_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IOverlay_Unadvise_Proxy(
- IOverlay * This);
- void __RPC_STUB IOverlay_Unadvise_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IOverlay_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_strmif_0139 */
- /* [local] */
- typedef IOverlay *POVERLAY;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0139_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0139_v0_0_s_ifspec;
- #ifndef __IMediaEventSink_INTERFACE_DEFINED__
- #define __IMediaEventSink_INTERFACE_DEFINED__
- /* interface IMediaEventSink */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IMediaEventSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("56a868a2-0ad4-11ce-b03a-0020af0ba770")
- IMediaEventSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Notify(
- /* [in] */ long EventCode,
- /* [in] */ LONG_PTR EventParam1,
- /* [in] */ LONG_PTR EventParam2) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IMediaEventSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IMediaEventSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IMediaEventSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IMediaEventSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *Notify )(
- IMediaEventSink * This,
- /* [in] */ long EventCode,
- /* [in] */ LONG_PTR EventParam1,
- /* [in] */ LONG_PTR EventParam2);
-
- END_INTERFACE
- } IMediaEventSinkVtbl;
- interface IMediaEventSink
- {
- CONST_VTBL struct IMediaEventSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IMediaEventSink_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IMediaEventSink_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IMediaEventSink_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IMediaEventSink_Notify(This,EventCode,EventParam1,EventParam2)
- (This)->lpVtbl -> Notify(This,EventCode,EventParam1,EventParam2)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IMediaEventSink_Notify_Proxy(
- IMediaEventSink * This,
- /* [in] */ long EventCode,
- /* [in] */ LONG_PTR EventParam1,
- /* [in] */ LONG_PTR EventParam2);
- void __RPC_STUB IMediaEventSink_Notify_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IMediaEventSink_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_strmif_0140 */
- /* [local] */
- typedef IMediaEventSink *PMEDIAEVENTSINK;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0140_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0140_v0_0_s_ifspec;
- #ifndef __IFileSourceFilter_INTERFACE_DEFINED__
- #define __IFileSourceFilter_INTERFACE_DEFINED__
- /* interface IFileSourceFilter */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IFileSourceFilter;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("56a868a6-0ad4-11ce-b03a-0020af0ba770")
- IFileSourceFilter : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Load(
- /* [in] */ LPCOLESTR pszFileName,
- /* [unique][in] */ const AM_MEDIA_TYPE *pmt) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetCurFile(
- /* [out] */ LPOLESTR *ppszFileName,
- /* [out] */ AM_MEDIA_TYPE *pmt) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IFileSourceFilterVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IFileSourceFilter * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IFileSourceFilter * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IFileSourceFilter * This);
-
- HRESULT ( STDMETHODCALLTYPE *Load )(
- IFileSourceFilter * This,
- /* [in] */ LPCOLESTR pszFileName,
- /* [unique][in] */ const AM_MEDIA_TYPE *pmt);
-
- HRESULT ( STDMETHODCALLTYPE *GetCurFile )(
- IFileSourceFilter * This,
- /* [out] */ LPOLESTR *ppszFileName,
- /* [out] */ AM_MEDIA_TYPE *pmt);
-
- END_INTERFACE
- } IFileSourceFilterVtbl;
- interface IFileSourceFilter
- {
- CONST_VTBL struct IFileSourceFilterVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IFileSourceFilter_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IFileSourceFilter_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IFileSourceFilter_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IFileSourceFilter_Load(This,pszFileName,pmt)
- (This)->lpVtbl -> Load(This,pszFileName,pmt)
- #define IFileSourceFilter_GetCurFile(This,ppszFileName,pmt)
- (This)->lpVtbl -> GetCurFile(This,ppszFileName,pmt)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IFileSourceFilter_Load_Proxy(
- IFileSourceFilter * This,
- /* [in] */ LPCOLESTR pszFileName,
- /* [unique][in] */ const AM_MEDIA_TYPE *pmt);
- void __RPC_STUB IFileSourceFilter_Load_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IFileSourceFilter_GetCurFile_Proxy(
- IFileSourceFilter * This,
- /* [out] */ LPOLESTR *ppszFileName,
- /* [out] */ AM_MEDIA_TYPE *pmt);
- void __RPC_STUB IFileSourceFilter_GetCurFile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IFileSourceFilter_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_strmif_0141 */
- /* [local] */
- typedef IFileSourceFilter *PFILTERFILESOURCE;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0141_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0141_v0_0_s_ifspec;
- #ifndef __IFileSinkFilter_INTERFACE_DEFINED__
- #define __IFileSinkFilter_INTERFACE_DEFINED__
- /* interface IFileSinkFilter */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IFileSinkFilter;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("a2104830-7c70-11cf-8bce-00aa00a3f1a6")
- IFileSinkFilter : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE SetFileName(
- /* [in] */ LPCOLESTR pszFileName,
- /* [unique][in] */ const AM_MEDIA_TYPE *pmt) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetCurFile(
- /* [out] */ LPOLESTR *ppszFileName,
- /* [out] */ AM_MEDIA_TYPE *pmt) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IFileSinkFilterVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IFileSinkFilter * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IFileSinkFilter * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IFileSinkFilter * This);
-
- HRESULT ( STDMETHODCALLTYPE *SetFileName )(
- IFileSinkFilter * This,
- /* [in] */ LPCOLESTR pszFileName,
- /* [unique][in] */ const AM_MEDIA_TYPE *pmt);
-
- HRESULT ( STDMETHODCALLTYPE *GetCurFile )(
- IFileSinkFilter * This,
- /* [out] */ LPOLESTR *ppszFileName,
- /* [out] */ AM_MEDIA_TYPE *pmt);
-
- END_INTERFACE
- } IFileSinkFilterVtbl;
- interface IFileSinkFilter
- {
- CONST_VTBL struct IFileSinkFilterVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IFileSinkFilter_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IFileSinkFilter_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IFileSinkFilter_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IFileSinkFilter_SetFileName(This,pszFileName,pmt)
- (This)->lpVtbl -> SetFileName(This,pszFileName,pmt)
- #define IFileSinkFilter_GetCurFile(This,ppszFileName,pmt)
- (This)->lpVtbl -> GetCurFile(This,ppszFileName,pmt)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IFileSinkFilter_SetFileName_Proxy(
- IFileSinkFilter * This,
- /* [in] */ LPCOLESTR pszFileName,
- /* [unique][in] */ const AM_MEDIA_TYPE *pmt);
- void __RPC_STUB IFileSinkFilter_SetFileName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IFileSinkFilter_GetCurFile_Proxy(
- IFileSinkFilter * This,
- /* [out] */ LPOLESTR *ppszFileName,
- /* [out] */ AM_MEDIA_TYPE *pmt);
- void __RPC_STUB IFileSinkFilter_GetCurFile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IFileSinkFilter_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_strmif_0142 */
- /* [local] */
- typedef IFileSinkFilter *PFILTERFILESINK;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0142_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0142_v0_0_s_ifspec;
- #ifndef __IFileSinkFilter2_INTERFACE_DEFINED__
- #define __IFileSinkFilter2_INTERFACE_DEFINED__
- /* interface IFileSinkFilter2 */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IFileSinkFilter2;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("00855B90-CE1B-11d0-BD4F-00A0C911CE86")
- IFileSinkFilter2 : public IFileSinkFilter
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE SetMode(
- /* [in] */ DWORD dwFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetMode(
- /* [out] */ DWORD *pdwFlags) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IFileSinkFilter2Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IFileSinkFilter2 * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IFileSinkFilter2 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IFileSinkFilter2 * This);
-
- HRESULT ( STDMETHODCALLTYPE *SetFileName )(
- IFileSinkFilter2 * This,
- /* [in] */ LPCOLESTR pszFileName,
- /* [unique][in] */ const AM_MEDIA_TYPE *pmt);
-
- HRESULT ( STDMETHODCALLTYPE *GetCurFile )(
- IFileSinkFilter2 * This,
- /* [out] */ LPOLESTR *ppszFileName,
- /* [out] */ AM_MEDIA_TYPE *pmt);
-
- HRESULT ( STDMETHODCALLTYPE *SetMode )(
- IFileSinkFilter2 * This,
- /* [in] */ DWORD dwFlags);
-
- HRESULT ( STDMETHODCALLTYPE *GetMode )(
- IFileSinkFilter2 * This,
- /* [out] */ DWORD *pdwFlags);
-
- END_INTERFACE
- } IFileSinkFilter2Vtbl;
- interface IFileSinkFilter2
- {
- CONST_VTBL struct IFileSinkFilter2Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IFileSinkFilter2_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IFileSinkFilter2_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IFileSinkFilter2_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IFileSinkFilter2_SetFileName(This,pszFileName,pmt)
- (This)->lpVtbl -> SetFileName(This,pszFileName,pmt)
- #define IFileSinkFilter2_GetCurFile(This,ppszFileName,pmt)
- (This)->lpVtbl -> GetCurFile(This,ppszFileName,pmt)
- #define IFileSinkFilter2_SetMode(This,dwFlags)
- (This)->lpVtbl -> SetMode(This,dwFlags)
- #define IFileSinkFilter2_GetMode(This,pdwFlags)
- (This)->lpVtbl -> GetMode(This,pdwFlags)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IFileSinkFilter2_SetMode_Proxy(
- IFileSinkFilter2 * This,
- /* [in] */ DWORD dwFlags);
- void __RPC_STUB IFileSinkFilter2_SetMode_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IFileSinkFilter2_GetMode_Proxy(
- IFileSinkFilter2 * This,
- /* [out] */ DWORD *pdwFlags);
- void __RPC_STUB IFileSinkFilter2_GetMode_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IFileSinkFilter2_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_strmif_0143 */
- /* [local] */
- typedef IFileSinkFilter2 *PFILESINKFILTER2;
- typedef /* [public] */
- enum __MIDL___MIDL_itf_strmif_0143_0001
- { AM_FILE_OVERWRITE = 0x1
- } AM_FILESINK_FLAGS;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0143_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0143_v0_0_s_ifspec;
- #ifndef __IGraphBuilder_INTERFACE_DEFINED__
- #define __IGraphBuilder_INTERFACE_DEFINED__
- /* interface IGraphBuilder */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IGraphBuilder;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("56a868a9-0ad4-11ce-b03a-0020af0ba770")
- IGraphBuilder : public IFilterGraph
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Connect(
- /* [in] */ IPin *ppinOut,
- /* [in] */ IPin *ppinIn) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Render(
- /* [in] */ IPin *ppinOut) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE RenderFile(
- /* [in] */ LPCWSTR lpcwstrFile,
- /* [unique][in] */ LPCWSTR lpcwstrPlayList) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AddSourceFilter(
- /* [in] */ LPCWSTR lpcwstrFileName,
- /* [unique][in] */ LPCWSTR lpcwstrFilterName,
- /* [out] */ IBaseFilter **ppFilter) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetLogFile(
- /* [in] */ DWORD_PTR hFile) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Abort( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ShouldOperationContinue( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IGraphBuilderVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IGraphBuilder * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IGraphBuilder * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IGraphBuilder * This);
-
- HRESULT ( STDMETHODCALLTYPE *AddFilter )(
- IGraphBuilder * This,
- /* [in] */ IBaseFilter *pFilter,
- /* [string][in] */ LPCWSTR pName);
-
- HRESULT ( STDMETHODCALLTYPE *RemoveFilter )(
- IGraphBuilder * This,
- /* [in] */ IBaseFilter *pFilter);
-
- HRESULT ( STDMETHODCALLTYPE *EnumFilters )(
- IGraphBuilder * This,
- /* [out] */ IEnumFilters **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *FindFilterByName )(
- IGraphBuilder * This,
- /* [string][in] */ LPCWSTR pName,
- /* [out] */ IBaseFilter **ppFilter);
-
- HRESULT ( STDMETHODCALLTYPE *ConnectDirect )(
- IGraphBuilder * This,
- /* [in] */ IPin *ppinOut,
- /* [in] */ IPin *ppinIn,
- /* [unique][in] */ const AM_MEDIA_TYPE *pmt);
-
- HRESULT ( STDMETHODCALLTYPE *Reconnect )(
- IGraphBuilder * This,
- /* [in] */ IPin *ppin);
-
- HRESULT ( STDMETHODCALLTYPE *Disconnect )(
- IGraphBuilder * This,
- /* [in] */ IPin *ppin);
-
- HRESULT ( STDMETHODCALLTYPE *SetDefaultSyncSource )(
- IGraphBuilder * This);
-
- HRESULT ( STDMETHODCALLTYPE *Connect )(
- IGraphBuilder * This,
- /* [in] */ IPin *ppinOut,
- /* [in] */ IPin *ppinIn);
-
- HRESULT ( STDMETHODCALLTYPE *Render )(
- IGraphBuilder * This,
- /* [in] */ IPin *ppinOut);
-
- HRESULT ( STDMETHODCALLTYPE *RenderFile )(
- IGraphBuilder * This,
- /* [in] */ LPCWSTR lpcwstrFile,
- /* [unique][in] */ LPCWSTR lpcwstrPlayList);
-
- HRESULT ( STDMETHODCALLTYPE *AddSourceFilter )(
- IGraphBuilder * This,
- /* [in] */ LPCWSTR lpcwstrFileName,
- /* [unique][in] */ LPCWSTR lpcwstrFilterName,
- /* [out] */ IBaseFilter **ppFilter);
-
- HRESULT ( STDMETHODCALLTYPE *SetLogFile )(
- IGraphBuilder * This,
- /* [in] */ DWORD_PTR hFile);
-
- HRESULT ( STDMETHODCALLTYPE *Abort )(
- IGraphBuilder * This);
-
- HRESULT ( STDMETHODCALLTYPE *ShouldOperationContinue )(
- IGraphBuilder * This);
-
- END_INTERFACE
- } IGraphBuilderVtbl;
- interface IGraphBuilder
- {
- CONST_VTBL struct IGraphBuilderVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IGraphBuilder_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IGraphBuilder_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IGraphBuilder_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IGraphBuilder_AddFilter(This,pFilter,pName)
- (This)->lpVtbl -> AddFilter(This,pFilter,pName)
- #define IGraphBuilder_RemoveFilter(This,pFilter)
- (This)->lpVtbl -> RemoveFilter(This,pFilter)
- #define IGraphBuilder_EnumFilters(This,ppEnum)
- (This)->lpVtbl -> EnumFilters(This,ppEnum)
- #define IGraphBuilder_FindFilterByName(This,pName,ppFilter)
- (This)->lpVtbl -> FindFilterByName(This,pName,ppFilter)
- #define IGraphBuilder_ConnectDirect(This,ppinOut,ppinIn,pmt)
- (This)->lpVtbl -> ConnectDirect(This,ppinOut,ppinIn,pmt)
- #define IGraphBuilder_Reconnect(This,ppin)
- (This)->lpVtbl -> Reconnect(This,ppin)
- #define IGraphBuilder_Disconnect(This,ppin)
- (This)->lpVtbl -> Disconnect(This,ppin)
- #define IGraphBuilder_SetDefaultSyncSource(This)
- (This)->lpVtbl -> SetDefaultSyncSource(This)
- #define IGraphBuilder_Connect(This,ppinOut,ppinIn)
- (This)->lpVtbl -> Connect(This,ppinOut,ppinIn)
- #define IGraphBuilder_Render(This,ppinOut)
- (This)->lpVtbl -> Render(This,ppinOut)
- #define IGraphBuilder_RenderFile(This,lpcwstrFile,lpcwstrPlayList)
- (This)->lpVtbl -> RenderFile(This,lpcwstrFile,lpcwstrPlayList)
- #define IGraphBuilder_AddSourceFilter(This,lpcwstrFileName,lpcwstrFilterName,ppFilter)
- (This)->lpVtbl -> AddSourceFilter(This,lpcwstrFileName,lpcwstrFilterName,ppFilter)
- #define IGraphBuilder_SetLogFile(This,hFile)
- (This)->lpVtbl -> SetLogFile(This,hFile)
- #define IGraphBuilder_Abort(This)
- (This)->lpVtbl -> Abort(This)
- #define IGraphBuilder_ShouldOperationContinue(This)
- (This)->lpVtbl -> ShouldOperationContinue(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IGraphBuilder_Connect_Proxy(
- IGraphBuilder * This,
- /* [in] */ IPin *ppinOut,
- /* [in] */ IPin *ppinIn);
- void __RPC_STUB IGraphBuilder_Connect_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IGraphBuilder_Render_Proxy(
- IGraphBuilder * This,
- /* [in] */ IPin *ppinOut);
- void __RPC_STUB IGraphBuilder_Render_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IGraphBuilder_RenderFile_Proxy(
- IGraphBuilder * This,
- /* [in] */ LPCWSTR lpcwstrFile,
- /* [unique][in] */ LPCWSTR lpcwstrPlayList);
- void __RPC_STUB IGraphBuilder_RenderFile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IGraphBuilder_AddSourceFilter_Proxy(
- IGraphBuilder * This,
- /* [in] */ LPCWSTR lpcwstrFileName,
- /* [unique][in] */ LPCWSTR lpcwstrFilterName,
- /* [out] */ IBaseFilter **ppFilter);
- void __RPC_STUB IGraphBuilder_AddSourceFilter_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IGraphBuilder_SetLogFile_Proxy(
- IGraphBuilder * This,
- /* [in] */ DWORD_PTR hFile);
- void __RPC_STUB IGraphBuilder_SetLogFile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IGraphBuilder_Abort_Proxy(
- IGraphBuilder * This);
- void __RPC_STUB IGraphBuilder_Abort_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IGraphBuilder_ShouldOperationContinue_Proxy(
- IGraphBuilder * This);
- void __RPC_STUB IGraphBuilder_ShouldOperationContinue_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IGraphBuilder_INTERFACE_DEFINED__ */
- #ifndef __ICaptureGraphBuilder_INTERFACE_DEFINED__
- #define __ICaptureGraphBuilder_INTERFACE_DEFINED__
- /* interface ICaptureGraphBuilder */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ICaptureGraphBuilder;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("bf87b6e0-8c27-11d0-b3f0-00aa003761c5")
- ICaptureGraphBuilder : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE SetFiltergraph(
- /* [in] */ IGraphBuilder *pfg) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetFiltergraph(
- /* [out] */ IGraphBuilder **ppfg) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetOutputFileName(
- /* [in] */ const GUID *pType,
- /* [in] */ LPCOLESTR lpstrFile,
- /* [out] */ IBaseFilter **ppf,
- /* [out] */ IFileSinkFilter **ppSink) = 0;
-
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE FindInterface(
- /* [unique][in] */ const GUID *pCategory,
- /* [in] */ IBaseFilter *pf,
- /* [in] */ REFIID riid,
- /* [out] */ void **ppint) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE RenderStream(
- /* [in] */ const GUID *pCategory,
- /* [in] */ IUnknown *pSource,
- /* [in] */ IBaseFilter *pfCompressor,
- /* [in] */ IBaseFilter *pfRenderer) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ControlStream(
- /* [in] */ const GUID *pCategory,
- /* [in] */ IBaseFilter *pFilter,
- /* [in] */ REFERENCE_TIME *pstart,
- /* [in] */ REFERENCE_TIME *pstop,
- /* [in] */ WORD wStartCookie,
- /* [in] */ WORD wStopCookie) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AllocCapFile(
- /* [in] */ LPCOLESTR lpstr,
- /* [in] */ DWORDLONG dwlSize) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CopyCaptureFile(
- /* [in] */ LPOLESTR lpwstrOld,
- /* [in] */ LPOLESTR lpwstrNew,
- /* [in] */ int fAllowEscAbort,
- /* [in] */ IAMCopyCaptureFileProgress *pCallback) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ICaptureGraphBuilderVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ICaptureGraphBuilder * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ICaptureGraphBuilder * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ICaptureGraphBuilder * This);
-
- HRESULT ( STDMETHODCALLTYPE *SetFiltergraph )(
- ICaptureGraphBuilder * This,
- /* [in] */ IGraphBuilder *pfg);
-
- HRESULT ( STDMETHODCALLTYPE *GetFiltergraph )(
- ICaptureGraphBuilder * This,
- /* [out] */ IGraphBuilder **ppfg);
-
- HRESULT ( STDMETHODCALLTYPE *SetOutputFileName )(
- ICaptureGraphBuilder * This,
- /* [in] */ const GUID *pType,
- /* [in] */ LPCOLESTR lpstrFile,
- /* [out] */ IBaseFilter **ppf,
- /* [out] */ IFileSinkFilter **ppSink);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *FindInterface )(
- ICaptureGraphBuilder * This,
- /* [unique][in] */ const GUID *pCategory,
- /* [in] */ IBaseFilter *pf,
- /* [in] */ REFIID riid,
- /* [out] */ void **ppint);
-
- HRESULT ( STDMETHODCALLTYPE *RenderStream )(
- ICaptureGraphBuilder * This,
- /* [in] */ const GUID *pCategory,
- /* [in] */ IUnknown *pSource,
- /* [in] */ IBaseFilter *pfCompressor,
- /* [in] */ IBaseFilter *pfRenderer);
-
- HRESULT ( STDMETHODCALLTYPE *ControlStream )(
- ICaptureGraphBuilder * This,
- /* [in] */ const GUID *pCategory,
- /* [in] */ IBaseFilter *pFilter,
- /* [in] */ REFERENCE_TIME *pstart,
- /* [in] */ REFERENCE_TIME *pstop,
- /* [in] */ WORD wStartCookie,
- /* [in] */ WORD wStopCookie);
-
- HRESULT ( STDMETHODCALLTYPE *AllocCapFile )(
- ICaptureGraphBuilder * This,
- /* [in] */ LPCOLESTR lpstr,
- /* [in] */ DWORDLONG dwlSize);
-
- HRESULT ( STDMETHODCALLTYPE *CopyCaptureFile )(
- ICaptureGraphBuilder * This,
- /* [in] */ LPOLESTR lpwstrOld,
- /* [in] */ LPOLESTR lpwstrNew,
- /* [in] */ int fAllowEscAbort,
- /* [in] */ IAMCopyCaptureFileProgress *pCallback);
-
- END_INTERFACE
- } ICaptureGraphBuilderVtbl;
- interface ICaptureGraphBuilder
- {
- CONST_VTBL struct ICaptureGraphBuilderVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ICaptureGraphBuilder_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ICaptureGraphBuilder_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ICaptureGraphBuilder_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ICaptureGraphBuilder_SetFiltergraph(This,pfg)
- (This)->lpVtbl -> SetFiltergraph(This,pfg)
- #define ICaptureGraphBuilder_GetFiltergraph(This,ppfg)
- (This)->lpVtbl -> GetFiltergraph(This,ppfg)
- #define ICaptureGraphBuilder_SetOutputFileName(This,pType,lpstrFile,ppf,ppSink)
- (This)->lpVtbl -> SetOutputFileName(This,pType,lpstrFile,ppf,ppSink)
- #define ICaptureGraphBuilder_FindInterface(This,pCategory,pf,riid,ppint)
- (This)->lpVtbl -> FindInterface(This,pCategory,pf,riid,ppint)
- #define ICaptureGraphBuilder_RenderStream(This,pCategory,pSource,pfCompressor,pfRenderer)
- (This)->lpVtbl -> RenderStream(This,pCategory,pSource,pfCompressor,pfRenderer)
- #define ICaptureGraphBuilder_ControlStream(This,pCategory,pFilter,pstart,pstop,wStartCookie,wStopCookie)
- (This)->lpVtbl -> ControlStream(This,pCategory,pFilter,pstart,pstop,wStartCookie,wStopCookie)
- #define ICaptureGraphBuilder_AllocCapFile(This,lpstr,dwlSize)
- (This)->lpVtbl -> AllocCapFile(This,lpstr,dwlSize)
- #define ICaptureGraphBuilder_CopyCaptureFile(This,lpwstrOld,lpwstrNew,fAllowEscAbort,pCallback)
- (This)->lpVtbl -> CopyCaptureFile(This,lpwstrOld,lpwstrNew,fAllowEscAbort,pCallback)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder_SetFiltergraph_Proxy(
- ICaptureGraphBuilder * This,
- /* [in] */ IGraphBuilder *pfg);
- void __RPC_STUB ICaptureGraphBuilder_SetFiltergraph_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder_GetFiltergraph_Proxy(
- ICaptureGraphBuilder * This,
- /* [out] */ IGraphBuilder **ppfg);
- void __RPC_STUB ICaptureGraphBuilder_GetFiltergraph_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder_SetOutputFileName_Proxy(
- ICaptureGraphBuilder * This,
- /* [in] */ const GUID *pType,
- /* [in] */ LPCOLESTR lpstrFile,
- /* [out] */ IBaseFilter **ppf,
- /* [out] */ IFileSinkFilter **ppSink);
- void __RPC_STUB ICaptureGraphBuilder_SetOutputFileName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder_RemoteFindInterface_Proxy(
- ICaptureGraphBuilder * This,
- /* [unique][in] */ const GUID *pCategory,
- /* [in] */ IBaseFilter *pf,
- /* [in] */ REFIID riid,
- /* [out] */ IUnknown **ppint);
- void __RPC_STUB ICaptureGraphBuilder_RemoteFindInterface_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder_RenderStream_Proxy(
- ICaptureGraphBuilder * This,
- /* [in] */ const GUID *pCategory,
- /* [in] */ IUnknown *pSource,
- /* [in] */ IBaseFilter *pfCompressor,
- /* [in] */ IBaseFilter *pfRenderer);
- void __RPC_STUB ICaptureGraphBuilder_RenderStream_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder_ControlStream_Proxy(
- ICaptureGraphBuilder * This,
- /* [in] */ const GUID *pCategory,
- /* [in] */ IBaseFilter *pFilter,
- /* [in] */ REFERENCE_TIME *pstart,
- /* [in] */ REFERENCE_TIME *pstop,
- /* [in] */ WORD wStartCookie,
- /* [in] */ WORD wStopCookie);
- void __RPC_STUB ICaptureGraphBuilder_ControlStream_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder_AllocCapFile_Proxy(
- ICaptureGraphBuilder * This,
- /* [in] */ LPCOLESTR lpstr,
- /* [in] */ DWORDLONG dwlSize);
- void __RPC_STUB ICaptureGraphBuilder_AllocCapFile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder_CopyCaptureFile_Proxy(
- ICaptureGraphBuilder * This,
- /* [in] */ LPOLESTR lpwstrOld,
- /* [in] */ LPOLESTR lpwstrNew,
- /* [in] */ int fAllowEscAbort,
- /* [in] */ IAMCopyCaptureFileProgress *pCallback);
- void __RPC_STUB ICaptureGraphBuilder_CopyCaptureFile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ICaptureGraphBuilder_INTERFACE_DEFINED__ */
- #ifndef __IAMCopyCaptureFileProgress_INTERFACE_DEFINED__
- #define __IAMCopyCaptureFileProgress_INTERFACE_DEFINED__
- /* interface IAMCopyCaptureFileProgress */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IAMCopyCaptureFileProgress;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("670d1d20-a068-11d0-b3f0-00aa003761c5")
- IAMCopyCaptureFileProgress : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Progress(
- /* [in] */ int iProgress) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IAMCopyCaptureFileProgressVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IAMCopyCaptureFileProgress * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IAMCopyCaptureFileProgress * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IAMCopyCaptureFileProgress * This);
-
- HRESULT ( STDMETHODCALLTYPE *Progress )(
- IAMCopyCaptureFileProgress * This,
- /* [in] */ int iProgress);
-
- END_INTERFACE
- } IAMCopyCaptureFileProgressVtbl;
- interface IAMCopyCaptureFileProgress
- {
- CONST_VTBL struct IAMCopyCaptureFileProgressVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IAMCopyCaptureFileProgress_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IAMCopyCaptureFileProgress_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IAMCopyCaptureFileProgress_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IAMCopyCaptureFileProgress_Progress(This,iProgress)
- (This)->lpVtbl -> Progress(This,iProgress)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IAMCopyCaptureFileProgress_Progress_Proxy(
- IAMCopyCaptureFileProgress * This,
- /* [in] */ int iProgress);
- void __RPC_STUB IAMCopyCaptureFileProgress_Progress_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IAMCopyCaptureFileProgress_INTERFACE_DEFINED__ */
- #ifndef __ICaptureGraphBuilder2_INTERFACE_DEFINED__
- #define __ICaptureGraphBuilder2_INTERFACE_DEFINED__
- /* interface ICaptureGraphBuilder2 */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_ICaptureGraphBuilder2;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("93E5A4E0-2D50-11d2-ABFA-00A0C9C6E38D")
- ICaptureGraphBuilder2 : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE SetFiltergraph(
- /* [in] */ IGraphBuilder *pfg) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetFiltergraph(
- /* [out] */ IGraphBuilder **ppfg) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetOutputFileName(
- /* [in] */ const GUID *pType,
- /* [in] */ LPCOLESTR lpstrFile,
- /* [out] */ IBaseFilter **ppf,
- /* [out] */ IFileSinkFilter **ppSink) = 0;
-
- virtual /* [local] */ HRESULT STDMETHODCALLTYPE FindInterface(
- /* [in] */ const GUID *pCategory,
- /* [in] */ const GUID *pType,
- /* [in] */ IBaseFilter *pf,
- /* [in] */ REFIID riid,
- /* [out] */ void **ppint) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE RenderStream(
- /* [in] */ const GUID *pCategory,
- /* [in] */ const GUID *pType,
- /* [in] */ IUnknown *pSource,
- /* [in] */ IBaseFilter *pfCompressor,
- /* [in] */ IBaseFilter *pfRenderer) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ControlStream(
- /* [in] */ const GUID *pCategory,
- /* [in] */ const GUID *pType,
- /* [in] */ IBaseFilter *pFilter,
- /* [in] */ REFERENCE_TIME *pstart,
- /* [in] */ REFERENCE_TIME *pstop,
- /* [in] */ WORD wStartCookie,
- /* [in] */ WORD wStopCookie) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AllocCapFile(
- /* [in] */ LPCOLESTR lpstr,
- /* [in] */ DWORDLONG dwlSize) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CopyCaptureFile(
- /* [in] */ LPOLESTR lpwstrOld,
- /* [in] */ LPOLESTR lpwstrNew,
- /* [in] */ int fAllowEscAbort,
- /* [in] */ IAMCopyCaptureFileProgress *pCallback) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE FindPin(
- /* [in] */ IUnknown *pSource,
- /* [in] */ PIN_DIRECTION pindir,
- /* [in] */ const GUID *pCategory,
- /* [in] */ const GUID *pType,
- /* [in] */ BOOL fUnconnected,
- /* [in] */ int num,
- /* [out] */ IPin **ppPin) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ICaptureGraphBuilder2Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ICaptureGraphBuilder2 * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ICaptureGraphBuilder2 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ICaptureGraphBuilder2 * This);
-
- HRESULT ( STDMETHODCALLTYPE *SetFiltergraph )(
- ICaptureGraphBuilder2 * This,
- /* [in] */ IGraphBuilder *pfg);
-
- HRESULT ( STDMETHODCALLTYPE *GetFiltergraph )(
- ICaptureGraphBuilder2 * This,
- /* [out] */ IGraphBuilder **ppfg);
-
- HRESULT ( STDMETHODCALLTYPE *SetOutputFileName )(
- ICaptureGraphBuilder2 * This,
- /* [in] */ const GUID *pType,
- /* [in] */ LPCOLESTR lpstrFile,
- /* [out] */ IBaseFilter **ppf,
- /* [out] */ IFileSinkFilter **ppSink);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *FindInterface )(
- ICaptureGraphBuilder2 * This,
- /* [in] */ const GUID *pCategory,
- /* [in] */ const GUID *pType,
- /* [in] */ IBaseFilter *pf,
- /* [in] */ REFIID riid,
- /* [out] */ void **ppint);
-
- HRESULT ( STDMETHODCALLTYPE *RenderStream )(
- ICaptureGraphBuilder2 * This,
- /* [in] */ const GUID *pCategory,
- /* [in] */ const GUID *pType,
- /* [in] */ IUnknown *pSource,
- /* [in] */ IBaseFilter *pfCompressor,
- /* [in] */ IBaseFilter *pfRenderer);
-
- HRESULT ( STDMETHODCALLTYPE *ControlStream )(
- ICaptureGraphBuilder2 * This,
- /* [in] */ const GUID *pCategory,
- /* [in] */ const GUID *pType,
- /* [in] */ IBaseFilter *pFilter,
- /* [in] */ REFERENCE_TIME *pstart,
- /* [in] */ REFERENCE_TIME *pstop,
- /* [in] */ WORD wStartCookie,
- /* [in] */ WORD wStopCookie);
-
- HRESULT ( STDMETHODCALLTYPE *AllocCapFile )(
- ICaptureGraphBuilder2 * This,
- /* [in] */ LPCOLESTR lpstr,
- /* [in] */ DWORDLONG dwlSize);
-
- HRESULT ( STDMETHODCALLTYPE *CopyCaptureFile )(
- ICaptureGraphBuilder2 * This,
- /* [in] */ LPOLESTR lpwstrOld,
- /* [in] */ LPOLESTR lpwstrNew,
- /* [in] */ int fAllowEscAbort,
- /* [in] */ IAMCopyCaptureFileProgress *pCallback);
-
- HRESULT ( STDMETHODCALLTYPE *FindPin )(
- ICaptureGraphBuilder2 * This,
- /* [in] */ IUnknown *pSource,
- /* [in] */ PIN_DIRECTION pindir,
- /* [in] */ const GUID *pCategory,
- /* [in] */ const GUID *pType,
- /* [in] */ BOOL fUnconnected,
- /* [in] */ int num,
- /* [out] */ IPin **ppPin);
-
- END_INTERFACE
- } ICaptureGraphBuilder2Vtbl;
- interface ICaptureGraphBuilder2
- {
- CONST_VTBL struct ICaptureGraphBuilder2Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ICaptureGraphBuilder2_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ICaptureGraphBuilder2_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ICaptureGraphBuilder2_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ICaptureGraphBuilder2_SetFiltergraph(This,pfg)
- (This)->lpVtbl -> SetFiltergraph(This,pfg)
- #define ICaptureGraphBuilder2_GetFiltergraph(This,ppfg)
- (This)->lpVtbl -> GetFiltergraph(This,ppfg)
- #define ICaptureGraphBuilder2_SetOutputFileName(This,pType,lpstrFile,ppf,ppSink)
- (This)->lpVtbl -> SetOutputFileName(This,pType,lpstrFile,ppf,ppSink)
- #define ICaptureGraphBuilder2_FindInterface(This,pCategory,pType,pf,riid,ppint)
- (This)->lpVtbl -> FindInterface(This,pCategory,pType,pf,riid,ppint)
- #define ICaptureGraphBuilder2_RenderStream(This,pCategory,pType,pSource,pfCompressor,pfRenderer)
- (This)->lpVtbl -> RenderStream(This,pCategory,pType,pSource,pfCompressor,pfRenderer)
- #define ICaptureGraphBuilder2_ControlStream(This,pCategory,pType,pFilter,pstart,pstop,wStartCookie,wStopCookie)
- (This)->lpVtbl -> ControlStream(This,pCategory,pType,pFilter,pstart,pstop,wStartCookie,wStopCookie)
- #define ICaptureGraphBuilder2_AllocCapFile(This,lpstr,dwlSize)
- (This)->lpVtbl -> AllocCapFile(This,lpstr,dwlSize)
- #define ICaptureGraphBuilder2_CopyCaptureFile(This,lpwstrOld,lpwstrNew,fAllowEscAbort,pCallback)
- (This)->lpVtbl -> CopyCaptureFile(This,lpwstrOld,lpwstrNew,fAllowEscAbort,pCallback)
- #define ICaptureGraphBuilder2_FindPin(This,pSource,pindir,pCategory,pType,fUnconnected,num,ppPin)
- (This)->lpVtbl -> FindPin(This,pSource,pindir,pCategory,pType,fUnconnected,num,ppPin)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder2_SetFiltergraph_Proxy(
- ICaptureGraphBuilder2 * This,
- /* [in] */ IGraphBuilder *pfg);
- void __RPC_STUB ICaptureGraphBuilder2_SetFiltergraph_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder2_GetFiltergraph_Proxy(
- ICaptureGraphBuilder2 * This,
- /* [out] */ IGraphBuilder **ppfg);
- void __RPC_STUB ICaptureGraphBuilder2_GetFiltergraph_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder2_SetOutputFileName_Proxy(
- ICaptureGraphBuilder2 * This,
- /* [in] */ const GUID *pType,
- /* [in] */ LPCOLESTR lpstrFile,
- /* [out] */ IBaseFilter **ppf,
- /* [out] */ IFileSinkFilter **ppSink);
- void __RPC_STUB ICaptureGraphBuilder2_SetOutputFileName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder2_RemoteFindInterface_Proxy(
- ICaptureGraphBuilder2 * This,
- /* [in] */ const GUID *pCategory,
- /* [in] */ const GUID *pType,
- /* [in] */ IBaseFilter *pf,
- /* [in] */ REFIID riid,
- /* [out] */ IUnknown **ppint);
- void __RPC_STUB ICaptureGraphBuilder2_RemoteFindInterface_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder2_RenderStream_Proxy(
- ICaptureGraphBuilder2 * This,
- /* [in] */ const GUID *pCategory,
- /* [in] */ const GUID *pType,
- /* [in] */ IUnknown *pSource,
- /* [in] */ IBaseFilter *pfCompressor,
- /* [in] */ IBaseFilter *pfRenderer);
- void __RPC_STUB ICaptureGraphBuilder2_RenderStream_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder2_ControlStream_Proxy(
- ICaptureGraphBuilder2 * This,
- /* [in] */ const GUID *pCategory,
- /* [in] */ const GUID *pType,
- /* [in] */ IBaseFilter *pFilter,
- /* [in] */ REFERENCE_TIME *pstart,
- /* [in] */ REFERENCE_TIME *pstop,
- /* [in] */ WORD wStartCookie,
- /* [in] */ WORD wStopCookie);
- void __RPC_STUB ICaptureGraphBuilder2_ControlStream_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder2_AllocCapFile_Proxy(
- ICaptureGraphBuilder2 * This,
- /* [in] */ LPCOLESTR lpstr,
- /* [in] */ DWORDLONG dwlSize);
- void __RPC_STUB ICaptureGraphBuilder2_AllocCapFile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder2_CopyCaptureFile_Proxy(
- ICaptureGraphBuilder2 * This,
- /* [in] */ LPOLESTR lpwstrOld,
- /* [in] */ LPOLESTR lpwstrNew,
- /* [in] */ int fAllowEscAbort,
- /* [in] */ IAMCopyCaptureFileProgress *pCallback);
- void __RPC_STUB ICaptureGraphBuilder2_CopyCaptureFile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder2_FindPin_Proxy(
- ICaptureGraphBuilder2 * This,
- /* [in] */ IUnknown *pSource,
- /* [in] */ PIN_DIRECTION pindir,
- /* [in] */ const GUID *pCategory,
- /* [in] */ const GUID *pType,
- /* [in] */ BOOL fUnconnected,
- /* [in] */ int num,
- /* [out] */ IPin **ppPin);
- void __RPC_STUB ICaptureGraphBuilder2_FindPin_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ICaptureGraphBuilder2_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_strmif_0147 */
- /* [local] */
- enum _AM_RENSDEREXFLAGS
- { AM_RENDEREX_RENDERTOEXISTINGRENDERERS = 0x1
- } ;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0147_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_strmif_0147_v0_0_s_ifspec;
- #ifndef __IFilterGraph2_INTERFACE_DEFINED__
- #define __IFilterGraph2_INTERFACE_DEFINED__
- /* interface IFilterGraph2 */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IFilterGraph2;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("36b73882-c2c8-11cf-8b46-00805f6cef60")
- IFilterGraph2 : public IGraphBuilder
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE AddSourceFilterForMoniker(
- /* [in] */ IMoniker *pMoniker,
- /* [in] */ IBindCtx *pCtx,
- /* [unique][in] */ LPCWSTR lpcwstrFilterName,
- /* [out] */ IBaseFilter **ppFilter) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ReconnectEx(
- /* [in] */ IPin *ppin,
- /* [unique][in] */ const AM_MEDIA_TYPE *pmt) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE RenderEx(
- /* [in] */ IPin *pPinOut,
- /* [in] */ DWORD dwFlags,
- /* [out][in] */ DWORD *pvContext) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IFilterGraph2Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IFilterGraph2 * This,