strmif.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:843k
源码类别:

模拟服务器

开发平台:

C/C++

  1.             IDDrawExclModeVideo * This,
  2.             /* [in] */ IDDrawExclModeVideoCallback *pCallback,
  3.             /* [in] */ DWORD dwFlags);
  4.         
  5.         END_INTERFACE
  6.     } IDDrawExclModeVideoVtbl;
  7.     interface IDDrawExclModeVideo
  8.     {
  9.         CONST_VTBL struct IDDrawExclModeVideoVtbl *lpVtbl;
  10.     };
  11.     
  12. #ifdef COBJMACROS
  13. #define IDDrawExclModeVideo_QueryInterface(This,riid,ppvObject)
  14.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  15. #define IDDrawExclModeVideo_AddRef(This)
  16.     (This)->lpVtbl -> AddRef(This)
  17. #define IDDrawExclModeVideo_Release(This)
  18.     (This)->lpVtbl -> Release(This)
  19. #define IDDrawExclModeVideo_SetDDrawObject(This,pDDrawObject)
  20.     (This)->lpVtbl -> SetDDrawObject(This,pDDrawObject)
  21. #define IDDrawExclModeVideo_GetDDrawObject(This,ppDDrawObject,pbUsingExternal)
  22.     (This)->lpVtbl -> GetDDrawObject(This,ppDDrawObject,pbUsingExternal)
  23. #define IDDrawExclModeVideo_SetDDrawSurface(This,pDDrawSurface)
  24.     (This)->lpVtbl -> SetDDrawSurface(This,pDDrawSurface)
  25. #define IDDrawExclModeVideo_GetDDrawSurface(This,ppDDrawSurface,pbUsingExternal)
  26.     (This)->lpVtbl -> GetDDrawSurface(This,ppDDrawSurface,pbUsingExternal)
  27. #define IDDrawExclModeVideo_SetDrawParameters(This,prcSource,prcTarget)
  28.     (This)->lpVtbl -> SetDrawParameters(This,prcSource,prcTarget)
  29. #define IDDrawExclModeVideo_GetNativeVideoProps(This,pdwVideoWidth,pdwVideoHeight,pdwPictAspectRatioX,pdwPictAspectRatioY)
  30.     (This)->lpVtbl -> GetNativeVideoProps(This,pdwVideoWidth,pdwVideoHeight,pdwPictAspectRatioX,pdwPictAspectRatioY)
  31. #define IDDrawExclModeVideo_SetCallbackInterface(This,pCallback,dwFlags)
  32.     (This)->lpVtbl -> SetCallbackInterface(This,pCallback,dwFlags)
  33. #endif /* COBJMACROS */
  34. #endif  /* C style interface */
  35. HRESULT STDMETHODCALLTYPE IDDrawExclModeVideo_SetDDrawObject_Proxy( 
  36.     IDDrawExclModeVideo * This,
  37.     /* [in] */ IDirectDraw *pDDrawObject);
  38. void __RPC_STUB IDDrawExclModeVideo_SetDDrawObject_Stub(
  39.     IRpcStubBuffer *This,
  40.     IRpcChannelBuffer *_pRpcChannelBuffer,
  41.     PRPC_MESSAGE _pRpcMessage,
  42.     DWORD *_pdwStubPhase);
  43. HRESULT STDMETHODCALLTYPE IDDrawExclModeVideo_GetDDrawObject_Proxy( 
  44.     IDDrawExclModeVideo * This,
  45.     /* [out] */ IDirectDraw **ppDDrawObject,
  46.     /* [out] */ BOOL *pbUsingExternal);
  47. void __RPC_STUB IDDrawExclModeVideo_GetDDrawObject_Stub(
  48.     IRpcStubBuffer *This,
  49.     IRpcChannelBuffer *_pRpcChannelBuffer,
  50.     PRPC_MESSAGE _pRpcMessage,
  51.     DWORD *_pdwStubPhase);
  52. HRESULT STDMETHODCALLTYPE IDDrawExclModeVideo_SetDDrawSurface_Proxy( 
  53.     IDDrawExclModeVideo * This,
  54.     /* [in] */ IDirectDrawSurface *pDDrawSurface);
  55. void __RPC_STUB IDDrawExclModeVideo_SetDDrawSurface_Stub(
  56.     IRpcStubBuffer *This,
  57.     IRpcChannelBuffer *_pRpcChannelBuffer,
  58.     PRPC_MESSAGE _pRpcMessage,
  59.     DWORD *_pdwStubPhase);
  60. HRESULT STDMETHODCALLTYPE IDDrawExclModeVideo_GetDDrawSurface_Proxy( 
  61.     IDDrawExclModeVideo * This,
  62.     /* [out] */ IDirectDrawSurface **ppDDrawSurface,
  63.     /* [out] */ BOOL *pbUsingExternal);
  64. void __RPC_STUB IDDrawExclModeVideo_GetDDrawSurface_Stub(
  65.     IRpcStubBuffer *This,
  66.     IRpcChannelBuffer *_pRpcChannelBuffer,
  67.     PRPC_MESSAGE _pRpcMessage,
  68.     DWORD *_pdwStubPhase);
  69. HRESULT STDMETHODCALLTYPE IDDrawExclModeVideo_SetDrawParameters_Proxy( 
  70.     IDDrawExclModeVideo * This,
  71.     /* [in] */ const RECT *prcSource,
  72.     /* [in] */ const RECT *prcTarget);
  73. void __RPC_STUB IDDrawExclModeVideo_SetDrawParameters_Stub(
  74.     IRpcStubBuffer *This,
  75.     IRpcChannelBuffer *_pRpcChannelBuffer,
  76.     PRPC_MESSAGE _pRpcMessage,
  77.     DWORD *_pdwStubPhase);
  78. HRESULT STDMETHODCALLTYPE IDDrawExclModeVideo_GetNativeVideoProps_Proxy( 
  79.     IDDrawExclModeVideo * This,
  80.     /* [out] */ DWORD *pdwVideoWidth,
  81.     /* [out] */ DWORD *pdwVideoHeight,
  82.     /* [out] */ DWORD *pdwPictAspectRatioX,
  83.     /* [out] */ DWORD *pdwPictAspectRatioY);
  84. void __RPC_STUB IDDrawExclModeVideo_GetNativeVideoProps_Stub(
  85.     IRpcStubBuffer *This,
  86.     IRpcChannelBuffer *_pRpcChannelBuffer,
  87.     PRPC_MESSAGE _pRpcMessage,
  88.     DWORD *_pdwStubPhase);
  89. HRESULT STDMETHODCALLTYPE IDDrawExclModeVideo_SetCallbackInterface_Proxy( 
  90.     IDDrawExclModeVideo * This,
  91.     /* [in] */ IDDrawExclModeVideoCallback *pCallback,
  92.     /* [in] */ DWORD dwFlags);
  93. void __RPC_STUB IDDrawExclModeVideo_SetCallbackInterface_Stub(
  94.     IRpcStubBuffer *This,
  95.     IRpcChannelBuffer *_pRpcChannelBuffer,
  96.     PRPC_MESSAGE _pRpcMessage,
  97.     DWORD *_pdwStubPhase);
  98. #endif  /* __IDDrawExclModeVideo_INTERFACE_DEFINED__ */
  99. /* interface __MIDL_itf_strmif_0374 */
  100. /* [local] */ 
  101. enum _AM_OVERLAY_NOTIFY_FLAGS
  102.     { AM_OVERLAY_NOTIFY_VISIBLE_CHANGE = 0x1,
  103. AM_OVERLAY_NOTIFY_SOURCE_CHANGE = 0x2,
  104. AM_OVERLAY_NOTIFY_DEST_CHANGE = 0x4
  105.     } ;
  106. extern RPC_IF_HANDLE __MIDL_itf_strmif_0374_v0_0_c_ifspec;
  107. extern RPC_IF_HANDLE __MIDL_itf_strmif_0374_v0_0_s_ifspec;
  108. #ifndef __IDDrawExclModeVideoCallback_INTERFACE_DEFINED__
  109. #define __IDDrawExclModeVideoCallback_INTERFACE_DEFINED__
  110. /* interface IDDrawExclModeVideoCallback */
  111. /* [unique][uuid][local][object] */ 
  112. EXTERN_C const IID IID_IDDrawExclModeVideoCallback;
  113. #if defined(__cplusplus) && !defined(CINTERFACE)
  114.     
  115.     MIDL_INTERFACE("913c24a0-20ab-11d2-9038-00a0c9697298")
  116.     IDDrawExclModeVideoCallback : public IUnknown
  117.     {
  118.     public:
  119.         virtual HRESULT STDMETHODCALLTYPE OnUpdateOverlay( 
  120.             /* [in] */ BOOL bBefore,
  121.             /* [in] */ DWORD dwFlags,
  122.             /* [in] */ BOOL bOldVisible,
  123.             /* [in] */ const RECT *prcOldSrc,
  124.             /* [in] */ const RECT *prcOldDest,
  125.             /* [in] */ BOOL bNewVisible,
  126.             /* [in] */ const RECT *prcNewSrc,
  127.             /* [in] */ const RECT *prcNewDest) = 0;
  128.         
  129.         virtual HRESULT STDMETHODCALLTYPE OnUpdateColorKey( 
  130.             /* [in] */ const COLORKEY *pKey,
  131.             /* [in] */ DWORD dwColor) = 0;
  132.         
  133.         virtual HRESULT STDMETHODCALLTYPE OnUpdateSize( 
  134.             /* [in] */ DWORD dwWidth,
  135.             /* [in] */ DWORD dwHeight,
  136.             /* [in] */ DWORD dwARWidth,
  137.             /* [in] */ DWORD dwARHeight) = 0;
  138.         
  139.     };
  140.     
  141. #else  /* C style interface */
  142.     typedef struct IDDrawExclModeVideoCallbackVtbl
  143.     {
  144.         BEGIN_INTERFACE
  145.         
  146.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  147.             IDDrawExclModeVideoCallback * This,
  148.             /* [in] */ REFIID riid,
  149.             /* [iid_is][out] */ void **ppvObject);
  150.         
  151.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  152.             IDDrawExclModeVideoCallback * This);
  153.         
  154.         ULONG ( STDMETHODCALLTYPE *Release )( 
  155.             IDDrawExclModeVideoCallback * This);
  156.         
  157.         HRESULT ( STDMETHODCALLTYPE *OnUpdateOverlay )( 
  158.             IDDrawExclModeVideoCallback * This,
  159.             /* [in] */ BOOL bBefore,
  160.             /* [in] */ DWORD dwFlags,
  161.             /* [in] */ BOOL bOldVisible,
  162.             /* [in] */ const RECT *prcOldSrc,
  163.             /* [in] */ const RECT *prcOldDest,
  164.             /* [in] */ BOOL bNewVisible,
  165.             /* [in] */ const RECT *prcNewSrc,
  166.             /* [in] */ const RECT *prcNewDest);
  167.         
  168.         HRESULT ( STDMETHODCALLTYPE *OnUpdateColorKey )( 
  169.             IDDrawExclModeVideoCallback * This,
  170.             /* [in] */ const COLORKEY *pKey,
  171.             /* [in] */ DWORD dwColor);
  172.         
  173.         HRESULT ( STDMETHODCALLTYPE *OnUpdateSize )( 
  174.             IDDrawExclModeVideoCallback * This,
  175.             /* [in] */ DWORD dwWidth,
  176.             /* [in] */ DWORD dwHeight,
  177.             /* [in] */ DWORD dwARWidth,
  178.             /* [in] */ DWORD dwARHeight);
  179.         
  180.         END_INTERFACE
  181.     } IDDrawExclModeVideoCallbackVtbl;
  182.     interface IDDrawExclModeVideoCallback
  183.     {
  184.         CONST_VTBL struct IDDrawExclModeVideoCallbackVtbl *lpVtbl;
  185.     };
  186.     
  187. #ifdef COBJMACROS
  188. #define IDDrawExclModeVideoCallback_QueryInterface(This,riid,ppvObject)
  189.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  190. #define IDDrawExclModeVideoCallback_AddRef(This)
  191.     (This)->lpVtbl -> AddRef(This)
  192. #define IDDrawExclModeVideoCallback_Release(This)
  193.     (This)->lpVtbl -> Release(This)
  194. #define IDDrawExclModeVideoCallback_OnUpdateOverlay(This,bBefore,dwFlags,bOldVisible,prcOldSrc,prcOldDest,bNewVisible,prcNewSrc,prcNewDest)
  195.     (This)->lpVtbl -> OnUpdateOverlay(This,bBefore,dwFlags,bOldVisible,prcOldSrc,prcOldDest,bNewVisible,prcNewSrc,prcNewDest)
  196. #define IDDrawExclModeVideoCallback_OnUpdateColorKey(This,pKey,dwColor)
  197.     (This)->lpVtbl -> OnUpdateColorKey(This,pKey,dwColor)
  198. #define IDDrawExclModeVideoCallback_OnUpdateSize(This,dwWidth,dwHeight,dwARWidth,dwARHeight)
  199.     (This)->lpVtbl -> OnUpdateSize(This,dwWidth,dwHeight,dwARWidth,dwARHeight)
  200. #endif /* COBJMACROS */
  201. #endif  /* C style interface */
  202. HRESULT STDMETHODCALLTYPE IDDrawExclModeVideoCallback_OnUpdateOverlay_Proxy( 
  203.     IDDrawExclModeVideoCallback * This,
  204.     /* [in] */ BOOL bBefore,
  205.     /* [in] */ DWORD dwFlags,
  206.     /* [in] */ BOOL bOldVisible,
  207.     /* [in] */ const RECT *prcOldSrc,
  208.     /* [in] */ const RECT *prcOldDest,
  209.     /* [in] */ BOOL bNewVisible,
  210.     /* [in] */ const RECT *prcNewSrc,
  211.     /* [in] */ const RECT *prcNewDest);
  212. void __RPC_STUB IDDrawExclModeVideoCallback_OnUpdateOverlay_Stub(
  213.     IRpcStubBuffer *This,
  214.     IRpcChannelBuffer *_pRpcChannelBuffer,
  215.     PRPC_MESSAGE _pRpcMessage,
  216.     DWORD *_pdwStubPhase);
  217. HRESULT STDMETHODCALLTYPE IDDrawExclModeVideoCallback_OnUpdateColorKey_Proxy( 
  218.     IDDrawExclModeVideoCallback * This,
  219.     /* [in] */ const COLORKEY *pKey,
  220.     /* [in] */ DWORD dwColor);
  221. void __RPC_STUB IDDrawExclModeVideoCallback_OnUpdateColorKey_Stub(
  222.     IRpcStubBuffer *This,
  223.     IRpcChannelBuffer *_pRpcChannelBuffer,
  224.     PRPC_MESSAGE _pRpcMessage,
  225.     DWORD *_pdwStubPhase);
  226. HRESULT STDMETHODCALLTYPE IDDrawExclModeVideoCallback_OnUpdateSize_Proxy( 
  227.     IDDrawExclModeVideoCallback * This,
  228.     /* [in] */ DWORD dwWidth,
  229.     /* [in] */ DWORD dwHeight,
  230.     /* [in] */ DWORD dwARWidth,
  231.     /* [in] */ DWORD dwARHeight);
  232. void __RPC_STUB IDDrawExclModeVideoCallback_OnUpdateSize_Stub(
  233.     IRpcStubBuffer *This,
  234.     IRpcChannelBuffer *_pRpcChannelBuffer,
  235.     PRPC_MESSAGE _pRpcMessage,
  236.     DWORD *_pdwStubPhase);
  237. #endif  /* __IDDrawExclModeVideoCallback_INTERFACE_DEFINED__ */
  238. /* interface __MIDL_itf_strmif_0375 */
  239. /* [local] */ 
  240. extern RPC_IF_HANDLE __MIDL_itf_strmif_0375_v0_0_c_ifspec;
  241. extern RPC_IF_HANDLE __MIDL_itf_strmif_0375_v0_0_s_ifspec;
  242. #ifndef __IPinConnection_INTERFACE_DEFINED__
  243. #define __IPinConnection_INTERFACE_DEFINED__
  244. /* interface IPinConnection */
  245. /* [unique][uuid][object][local] */ 
  246. EXTERN_C const IID IID_IPinConnection;
  247. #if defined(__cplusplus) && !defined(CINTERFACE)
  248.     
  249.     MIDL_INTERFACE("4a9a62d3-27d4-403d-91e9-89f540e55534")
  250.     IPinConnection : public IUnknown
  251.     {
  252.     public:
  253.         virtual HRESULT STDMETHODCALLTYPE DynamicQueryAccept( 
  254.             /* [in] */ const AM_MEDIA_TYPE *pmt) = 0;
  255.         
  256.         virtual HRESULT STDMETHODCALLTYPE NotifyEndOfStream( 
  257.             /* [in] */ HANDLE hNotifyEvent) = 0;
  258.         
  259.         virtual HRESULT STDMETHODCALLTYPE IsEndPin( void) = 0;
  260.         
  261.         virtual HRESULT STDMETHODCALLTYPE DynamicDisconnect( void) = 0;
  262.         
  263.     };
  264.     
  265. #else  /* C style interface */
  266.     typedef struct IPinConnectionVtbl
  267.     {
  268.         BEGIN_INTERFACE
  269.         
  270.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  271.             IPinConnection * This,
  272.             /* [in] */ REFIID riid,
  273.             /* [iid_is][out] */ void **ppvObject);
  274.         
  275.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  276.             IPinConnection * This);
  277.         
  278.         ULONG ( STDMETHODCALLTYPE *Release )( 
  279.             IPinConnection * This);
  280.         
  281.         HRESULT ( STDMETHODCALLTYPE *DynamicQueryAccept )( 
  282.             IPinConnection * This,
  283.             /* [in] */ const AM_MEDIA_TYPE *pmt);
  284.         
  285.         HRESULT ( STDMETHODCALLTYPE *NotifyEndOfStream )( 
  286.             IPinConnection * This,
  287.             /* [in] */ HANDLE hNotifyEvent);
  288.         
  289.         HRESULT ( STDMETHODCALLTYPE *IsEndPin )( 
  290.             IPinConnection * This);
  291.         
  292.         HRESULT ( STDMETHODCALLTYPE *DynamicDisconnect )( 
  293.             IPinConnection * This);
  294.         
  295.         END_INTERFACE
  296.     } IPinConnectionVtbl;
  297.     interface IPinConnection
  298.     {
  299.         CONST_VTBL struct IPinConnectionVtbl *lpVtbl;
  300.     };
  301.     
  302. #ifdef COBJMACROS
  303. #define IPinConnection_QueryInterface(This,riid,ppvObject)
  304.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  305. #define IPinConnection_AddRef(This)
  306.     (This)->lpVtbl -> AddRef(This)
  307. #define IPinConnection_Release(This)
  308.     (This)->lpVtbl -> Release(This)
  309. #define IPinConnection_DynamicQueryAccept(This,pmt)
  310.     (This)->lpVtbl -> DynamicQueryAccept(This,pmt)
  311. #define IPinConnection_NotifyEndOfStream(This,hNotifyEvent)
  312.     (This)->lpVtbl -> NotifyEndOfStream(This,hNotifyEvent)
  313. #define IPinConnection_IsEndPin(This)
  314.     (This)->lpVtbl -> IsEndPin(This)
  315. #define IPinConnection_DynamicDisconnect(This)
  316.     (This)->lpVtbl -> DynamicDisconnect(This)
  317. #endif /* COBJMACROS */
  318. #endif  /* C style interface */
  319. HRESULT STDMETHODCALLTYPE IPinConnection_DynamicQueryAccept_Proxy( 
  320.     IPinConnection * This,
  321.     /* [in] */ const AM_MEDIA_TYPE *pmt);
  322. void __RPC_STUB IPinConnection_DynamicQueryAccept_Stub(
  323.     IRpcStubBuffer *This,
  324.     IRpcChannelBuffer *_pRpcChannelBuffer,
  325.     PRPC_MESSAGE _pRpcMessage,
  326.     DWORD *_pdwStubPhase);
  327. HRESULT STDMETHODCALLTYPE IPinConnection_NotifyEndOfStream_Proxy( 
  328.     IPinConnection * This,
  329.     /* [in] */ HANDLE hNotifyEvent);
  330. void __RPC_STUB IPinConnection_NotifyEndOfStream_Stub(
  331.     IRpcStubBuffer *This,
  332.     IRpcChannelBuffer *_pRpcChannelBuffer,
  333.     PRPC_MESSAGE _pRpcMessage,
  334.     DWORD *_pdwStubPhase);
  335. HRESULT STDMETHODCALLTYPE IPinConnection_IsEndPin_Proxy( 
  336.     IPinConnection * This);
  337. void __RPC_STUB IPinConnection_IsEndPin_Stub(
  338.     IRpcStubBuffer *This,
  339.     IRpcChannelBuffer *_pRpcChannelBuffer,
  340.     PRPC_MESSAGE _pRpcMessage,
  341.     DWORD *_pdwStubPhase);
  342. HRESULT STDMETHODCALLTYPE IPinConnection_DynamicDisconnect_Proxy( 
  343.     IPinConnection * This);
  344. void __RPC_STUB IPinConnection_DynamicDisconnect_Stub(
  345.     IRpcStubBuffer *This,
  346.     IRpcChannelBuffer *_pRpcChannelBuffer,
  347.     PRPC_MESSAGE _pRpcMessage,
  348.     DWORD *_pdwStubPhase);
  349. #endif  /* __IPinConnection_INTERFACE_DEFINED__ */
  350. #ifndef __IPinFlowControl_INTERFACE_DEFINED__
  351. #define __IPinFlowControl_INTERFACE_DEFINED__
  352. /* interface IPinFlowControl */
  353. /* [unique][uuid][object][local] */ 
  354. EXTERN_C const IID IID_IPinFlowControl;
  355. #if defined(__cplusplus) && !defined(CINTERFACE)
  356.     
  357.     MIDL_INTERFACE("c56e9858-dbf3-4f6b-8119-384af2060deb")
  358.     IPinFlowControl : public IUnknown
  359.     {
  360.     public:
  361.         virtual HRESULT STDMETHODCALLTYPE Block( 
  362.             /* [in] */ DWORD dwBlockFlags,
  363.             /* [in] */ HANDLE hEvent) = 0;
  364.         
  365.     };
  366.     
  367. #else  /* C style interface */
  368.     typedef struct IPinFlowControlVtbl
  369.     {
  370.         BEGIN_INTERFACE
  371.         
  372.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  373.             IPinFlowControl * This,
  374.             /* [in] */ REFIID riid,
  375.             /* [iid_is][out] */ void **ppvObject);
  376.         
  377.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  378.             IPinFlowControl * This);
  379.         
  380.         ULONG ( STDMETHODCALLTYPE *Release )( 
  381.             IPinFlowControl * This);
  382.         
  383.         HRESULT ( STDMETHODCALLTYPE *Block )( 
  384.             IPinFlowControl * This,
  385.             /* [in] */ DWORD dwBlockFlags,
  386.             /* [in] */ HANDLE hEvent);
  387.         
  388.         END_INTERFACE
  389.     } IPinFlowControlVtbl;
  390.     interface IPinFlowControl
  391.     {
  392.         CONST_VTBL struct IPinFlowControlVtbl *lpVtbl;
  393.     };
  394.     
  395. #ifdef COBJMACROS
  396. #define IPinFlowControl_QueryInterface(This,riid,ppvObject)
  397.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  398. #define IPinFlowControl_AddRef(This)
  399.     (This)->lpVtbl -> AddRef(This)
  400. #define IPinFlowControl_Release(This)
  401.     (This)->lpVtbl -> Release(This)
  402. #define IPinFlowControl_Block(This,dwBlockFlags,hEvent)
  403.     (This)->lpVtbl -> Block(This,dwBlockFlags,hEvent)
  404. #endif /* COBJMACROS */
  405. #endif  /* C style interface */
  406. HRESULT STDMETHODCALLTYPE IPinFlowControl_Block_Proxy( 
  407.     IPinFlowControl * This,
  408.     /* [in] */ DWORD dwBlockFlags,
  409.     /* [in] */ HANDLE hEvent);
  410. void __RPC_STUB IPinFlowControl_Block_Stub(
  411.     IRpcStubBuffer *This,
  412.     IRpcChannelBuffer *_pRpcChannelBuffer,
  413.     PRPC_MESSAGE _pRpcMessage,
  414.     DWORD *_pdwStubPhase);
  415. #endif  /* __IPinFlowControl_INTERFACE_DEFINED__ */
  416. /* interface __MIDL_itf_strmif_0377 */
  417. /* [local] */ 
  418. enum _AM_PIN_FLOW_CONTROL_BLOCK_FLAGS
  419.     { AM_PIN_FLOW_CONTROL_BLOCK = 0x1
  420.     } ;
  421. typedef 
  422. enum _AM_GRAPH_CONFIG_RECONNECT_FLAGS
  423.     { AM_GRAPH_CONFIG_RECONNECT_DIRECTCONNECT = 0x1,
  424. AM_GRAPH_CONFIG_RECONNECT_CACHE_REMOVED_FILTERS = 0x2,
  425. AM_GRAPH_CONFIG_RECONNECT_USE_ONLY_CACHED_FILTERS = 0x4
  426.     }  AM_GRAPH_CONFIG_RECONNECT_FLAGS;
  427. enum _REM_FILTER_FLAGS
  428.     { REMFILTERF_LEAVECONNECTED = 0x1
  429.     } ;
  430. typedef 
  431. enum _AM_FILTER_FLAGS
  432.     { AM_FILTER_FLAGS_REMOVABLE = 0x1
  433.     }  AM_FILTER_FLAGS;
  434. extern RPC_IF_HANDLE __MIDL_itf_strmif_0377_v0_0_c_ifspec;
  435. extern RPC_IF_HANDLE __MIDL_itf_strmif_0377_v0_0_s_ifspec;
  436. #ifndef __IGraphConfig_INTERFACE_DEFINED__
  437. #define __IGraphConfig_INTERFACE_DEFINED__
  438. /* interface IGraphConfig */
  439. /* [unique][uuid][object][local] */ 
  440. EXTERN_C const IID IID_IGraphConfig;
  441. #if defined(__cplusplus) && !defined(CINTERFACE)
  442.     
  443.     MIDL_INTERFACE("03A1EB8E-32BF-4245-8502-114D08A9CB88")
  444.     IGraphConfig : public IUnknown
  445.     {
  446.     public:
  447.         virtual HRESULT STDMETHODCALLTYPE Reconnect( 
  448.             /* [in] */ IPin *pOutputPin,
  449.             /* [in] */ IPin *pInputPin,
  450.             /* [in] */ const AM_MEDIA_TYPE *pmtFirstConnection,
  451.             /* [in] */ IBaseFilter *pUsingFilter,
  452.             /* [in] */ HANDLE hAbortEvent,
  453.             /* [in] */ DWORD dwFlags) = 0;
  454.         
  455.         virtual HRESULT STDMETHODCALLTYPE Reconfigure( 
  456.             /* [in] */ IGraphConfigCallback *pCallback,
  457.             /* [in] */ PVOID pvContext,
  458.             /* [in] */ DWORD dwFlags,
  459.             /* [in] */ HANDLE hAbortEvent) = 0;
  460.         
  461.         virtual HRESULT STDMETHODCALLTYPE AddFilterToCache( 
  462.             /* [in] */ IBaseFilter *pFilter) = 0;
  463.         
  464.         virtual HRESULT STDMETHODCALLTYPE EnumCacheFilter( 
  465.             /* [out] */ IEnumFilters **pEnum) = 0;
  466.         
  467.         virtual HRESULT STDMETHODCALLTYPE RemoveFilterFromCache( 
  468.             /* [in] */ IBaseFilter *pFilter) = 0;
  469.         
  470.         virtual HRESULT STDMETHODCALLTYPE GetStartTime( 
  471.             /* [out] */ REFERENCE_TIME *prtStart) = 0;
  472.         
  473.         virtual HRESULT STDMETHODCALLTYPE PushThroughData( 
  474.             /* [in] */ IPin *pOutputPin,
  475.             /* [in] */ IPinConnection *pConnection,
  476.             /* [in] */ HANDLE hEventAbort) = 0;
  477.         
  478.         virtual HRESULT STDMETHODCALLTYPE SetFilterFlags( 
  479.             /* [in] */ IBaseFilter *pFilter,
  480.             /* [in] */ DWORD dwFlags) = 0;
  481.         
  482.         virtual HRESULT STDMETHODCALLTYPE GetFilterFlags( 
  483.             /* [in] */ IBaseFilter *pFilter,
  484.             /* [out] */ DWORD *pdwFlags) = 0;
  485.         
  486.         virtual HRESULT STDMETHODCALLTYPE RemoveFilterEx( 
  487.             /* [in] */ IBaseFilter *pFilter,
  488.             DWORD Flags) = 0;
  489.         
  490.     };
  491.     
  492. #else  /* C style interface */
  493.     typedef struct IGraphConfigVtbl
  494.     {
  495.         BEGIN_INTERFACE
  496.         
  497.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  498.             IGraphConfig * This,
  499.             /* [in] */ REFIID riid,
  500.             /* [iid_is][out] */ void **ppvObject);
  501.         
  502.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  503.             IGraphConfig * This);
  504.         
  505.         ULONG ( STDMETHODCALLTYPE *Release )( 
  506.             IGraphConfig * This);
  507.         
  508.         HRESULT ( STDMETHODCALLTYPE *Reconnect )( 
  509.             IGraphConfig * This,
  510.             /* [in] */ IPin *pOutputPin,
  511.             /* [in] */ IPin *pInputPin,
  512.             /* [in] */ const AM_MEDIA_TYPE *pmtFirstConnection,
  513.             /* [in] */ IBaseFilter *pUsingFilter,
  514.             /* [in] */ HANDLE hAbortEvent,
  515.             /* [in] */ DWORD dwFlags);
  516.         
  517.         HRESULT ( STDMETHODCALLTYPE *Reconfigure )( 
  518.             IGraphConfig * This,
  519.             /* [in] */ IGraphConfigCallback *pCallback,
  520.             /* [in] */ PVOID pvContext,
  521.             /* [in] */ DWORD dwFlags,
  522.             /* [in] */ HANDLE hAbortEvent);
  523.         
  524.         HRESULT ( STDMETHODCALLTYPE *AddFilterToCache )( 
  525.             IGraphConfig * This,
  526.             /* [in] */ IBaseFilter *pFilter);
  527.         
  528.         HRESULT ( STDMETHODCALLTYPE *EnumCacheFilter )( 
  529.             IGraphConfig * This,
  530.             /* [out] */ IEnumFilters **pEnum);
  531.         
  532.         HRESULT ( STDMETHODCALLTYPE *RemoveFilterFromCache )( 
  533.             IGraphConfig * This,
  534.             /* [in] */ IBaseFilter *pFilter);
  535.         
  536.         HRESULT ( STDMETHODCALLTYPE *GetStartTime )( 
  537.             IGraphConfig * This,
  538.             /* [out] */ REFERENCE_TIME *prtStart);
  539.         
  540.         HRESULT ( STDMETHODCALLTYPE *PushThroughData )( 
  541.             IGraphConfig * This,
  542.             /* [in] */ IPin *pOutputPin,
  543.             /* [in] */ IPinConnection *pConnection,
  544.             /* [in] */ HANDLE hEventAbort);
  545.         
  546.         HRESULT ( STDMETHODCALLTYPE *SetFilterFlags )( 
  547.             IGraphConfig * This,
  548.             /* [in] */ IBaseFilter *pFilter,
  549.             /* [in] */ DWORD dwFlags);
  550.         
  551.         HRESULT ( STDMETHODCALLTYPE *GetFilterFlags )( 
  552.             IGraphConfig * This,
  553.             /* [in] */ IBaseFilter *pFilter,
  554.             /* [out] */ DWORD *pdwFlags);
  555.         
  556.         HRESULT ( STDMETHODCALLTYPE *RemoveFilterEx )( 
  557.             IGraphConfig * This,
  558.             /* [in] */ IBaseFilter *pFilter,
  559.             DWORD Flags);
  560.         
  561.         END_INTERFACE
  562.     } IGraphConfigVtbl;
  563.     interface IGraphConfig
  564.     {
  565.         CONST_VTBL struct IGraphConfigVtbl *lpVtbl;
  566.     };
  567.     
  568. #ifdef COBJMACROS
  569. #define IGraphConfig_QueryInterface(This,riid,ppvObject)
  570.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  571. #define IGraphConfig_AddRef(This)
  572.     (This)->lpVtbl -> AddRef(This)
  573. #define IGraphConfig_Release(This)
  574.     (This)->lpVtbl -> Release(This)
  575. #define IGraphConfig_Reconnect(This,pOutputPin,pInputPin,pmtFirstConnection,pUsingFilter,hAbortEvent,dwFlags)
  576.     (This)->lpVtbl -> Reconnect(This,pOutputPin,pInputPin,pmtFirstConnection,pUsingFilter,hAbortEvent,dwFlags)
  577. #define IGraphConfig_Reconfigure(This,pCallback,pvContext,dwFlags,hAbortEvent)
  578.     (This)->lpVtbl -> Reconfigure(This,pCallback,pvContext,dwFlags,hAbortEvent)
  579. #define IGraphConfig_AddFilterToCache(This,pFilter)
  580.     (This)->lpVtbl -> AddFilterToCache(This,pFilter)
  581. #define IGraphConfig_EnumCacheFilter(This,pEnum)
  582.     (This)->lpVtbl -> EnumCacheFilter(This,pEnum)
  583. #define IGraphConfig_RemoveFilterFromCache(This,pFilter)
  584.     (This)->lpVtbl -> RemoveFilterFromCache(This,pFilter)
  585. #define IGraphConfig_GetStartTime(This,prtStart)
  586.     (This)->lpVtbl -> GetStartTime(This,prtStart)
  587. #define IGraphConfig_PushThroughData(This,pOutputPin,pConnection,hEventAbort)
  588.     (This)->lpVtbl -> PushThroughData(This,pOutputPin,pConnection,hEventAbort)
  589. #define IGraphConfig_SetFilterFlags(This,pFilter,dwFlags)
  590.     (This)->lpVtbl -> SetFilterFlags(This,pFilter,dwFlags)
  591. #define IGraphConfig_GetFilterFlags(This,pFilter,pdwFlags)
  592.     (This)->lpVtbl -> GetFilterFlags(This,pFilter,pdwFlags)
  593. #define IGraphConfig_RemoveFilterEx(This,pFilter,Flags)
  594.     (This)->lpVtbl -> RemoveFilterEx(This,pFilter,Flags)
  595. #endif /* COBJMACROS */
  596. #endif  /* C style interface */
  597. HRESULT STDMETHODCALLTYPE IGraphConfig_Reconnect_Proxy( 
  598.     IGraphConfig * This,
  599.     /* [in] */ IPin *pOutputPin,
  600.     /* [in] */ IPin *pInputPin,
  601.     /* [in] */ const AM_MEDIA_TYPE *pmtFirstConnection,
  602.     /* [in] */ IBaseFilter *pUsingFilter,
  603.     /* [in] */ HANDLE hAbortEvent,
  604.     /* [in] */ DWORD dwFlags);
  605. void __RPC_STUB IGraphConfig_Reconnect_Stub(
  606.     IRpcStubBuffer *This,
  607.     IRpcChannelBuffer *_pRpcChannelBuffer,
  608.     PRPC_MESSAGE _pRpcMessage,
  609.     DWORD *_pdwStubPhase);
  610. HRESULT STDMETHODCALLTYPE IGraphConfig_Reconfigure_Proxy( 
  611.     IGraphConfig * This,
  612.     /* [in] */ IGraphConfigCallback *pCallback,
  613.     /* [in] */ PVOID pvContext,
  614.     /* [in] */ DWORD dwFlags,
  615.     /* [in] */ HANDLE hAbortEvent);
  616. void __RPC_STUB IGraphConfig_Reconfigure_Stub(
  617.     IRpcStubBuffer *This,
  618.     IRpcChannelBuffer *_pRpcChannelBuffer,
  619.     PRPC_MESSAGE _pRpcMessage,
  620.     DWORD *_pdwStubPhase);
  621. HRESULT STDMETHODCALLTYPE IGraphConfig_AddFilterToCache_Proxy( 
  622.     IGraphConfig * This,
  623.     /* [in] */ IBaseFilter *pFilter);
  624. void __RPC_STUB IGraphConfig_AddFilterToCache_Stub(
  625.     IRpcStubBuffer *This,
  626.     IRpcChannelBuffer *_pRpcChannelBuffer,
  627.     PRPC_MESSAGE _pRpcMessage,
  628.     DWORD *_pdwStubPhase);
  629. HRESULT STDMETHODCALLTYPE IGraphConfig_EnumCacheFilter_Proxy( 
  630.     IGraphConfig * This,
  631.     /* [out] */ IEnumFilters **pEnum);
  632. void __RPC_STUB IGraphConfig_EnumCacheFilter_Stub(
  633.     IRpcStubBuffer *This,
  634.     IRpcChannelBuffer *_pRpcChannelBuffer,
  635.     PRPC_MESSAGE _pRpcMessage,
  636.     DWORD *_pdwStubPhase);
  637. HRESULT STDMETHODCALLTYPE IGraphConfig_RemoveFilterFromCache_Proxy( 
  638.     IGraphConfig * This,
  639.     /* [in] */ IBaseFilter *pFilter);
  640. void __RPC_STUB IGraphConfig_RemoveFilterFromCache_Stub(
  641.     IRpcStubBuffer *This,
  642.     IRpcChannelBuffer *_pRpcChannelBuffer,
  643.     PRPC_MESSAGE _pRpcMessage,
  644.     DWORD *_pdwStubPhase);
  645. HRESULT STDMETHODCALLTYPE IGraphConfig_GetStartTime_Proxy( 
  646.     IGraphConfig * This,
  647.     /* [out] */ REFERENCE_TIME *prtStart);
  648. void __RPC_STUB IGraphConfig_GetStartTime_Stub(
  649.     IRpcStubBuffer *This,
  650.     IRpcChannelBuffer *_pRpcChannelBuffer,
  651.     PRPC_MESSAGE _pRpcMessage,
  652.     DWORD *_pdwStubPhase);
  653. HRESULT STDMETHODCALLTYPE IGraphConfig_PushThroughData_Proxy( 
  654.     IGraphConfig * This,
  655.     /* [in] */ IPin *pOutputPin,
  656.     /* [in] */ IPinConnection *pConnection,
  657.     /* [in] */ HANDLE hEventAbort);
  658. void __RPC_STUB IGraphConfig_PushThroughData_Stub(
  659.     IRpcStubBuffer *This,
  660.     IRpcChannelBuffer *_pRpcChannelBuffer,
  661.     PRPC_MESSAGE _pRpcMessage,
  662.     DWORD *_pdwStubPhase);
  663. HRESULT STDMETHODCALLTYPE IGraphConfig_SetFilterFlags_Proxy( 
  664.     IGraphConfig * This,
  665.     /* [in] */ IBaseFilter *pFilter,
  666.     /* [in] */ DWORD dwFlags);
  667. void __RPC_STUB IGraphConfig_SetFilterFlags_Stub(
  668.     IRpcStubBuffer *This,
  669.     IRpcChannelBuffer *_pRpcChannelBuffer,
  670.     PRPC_MESSAGE _pRpcMessage,
  671.     DWORD *_pdwStubPhase);
  672. HRESULT STDMETHODCALLTYPE IGraphConfig_GetFilterFlags_Proxy( 
  673.     IGraphConfig * This,
  674.     /* [in] */ IBaseFilter *pFilter,
  675.     /* [out] */ DWORD *pdwFlags);
  676. void __RPC_STUB IGraphConfig_GetFilterFlags_Stub(
  677.     IRpcStubBuffer *This,
  678.     IRpcChannelBuffer *_pRpcChannelBuffer,
  679.     PRPC_MESSAGE _pRpcMessage,
  680.     DWORD *_pdwStubPhase);
  681. HRESULT STDMETHODCALLTYPE IGraphConfig_RemoveFilterEx_Proxy( 
  682.     IGraphConfig * This,
  683.     /* [in] */ IBaseFilter *pFilter,
  684.     DWORD Flags);
  685. void __RPC_STUB IGraphConfig_RemoveFilterEx_Stub(
  686.     IRpcStubBuffer *This,
  687.     IRpcChannelBuffer *_pRpcChannelBuffer,
  688.     PRPC_MESSAGE _pRpcMessage,
  689.     DWORD *_pdwStubPhase);
  690. #endif  /* __IGraphConfig_INTERFACE_DEFINED__ */
  691. #ifndef __IGraphConfigCallback_INTERFACE_DEFINED__
  692. #define __IGraphConfigCallback_INTERFACE_DEFINED__
  693. /* interface IGraphConfigCallback */
  694. /* [unique][uuid][object][local] */ 
  695. EXTERN_C const IID IID_IGraphConfigCallback;
  696. #if defined(__cplusplus) && !defined(CINTERFACE)
  697.     
  698.     MIDL_INTERFACE("ade0fd60-d19d-11d2-abf6-00a0c905f375")
  699.     IGraphConfigCallback : public IUnknown
  700.     {
  701.     public:
  702.         virtual HRESULT STDMETHODCALLTYPE Reconfigure( 
  703.             PVOID pvContext,
  704.             DWORD dwFlags) = 0;
  705.         
  706.     };
  707.     
  708. #else  /* C style interface */
  709.     typedef struct IGraphConfigCallbackVtbl
  710.     {
  711.         BEGIN_INTERFACE
  712.         
  713.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  714.             IGraphConfigCallback * This,
  715.             /* [in] */ REFIID riid,
  716.             /* [iid_is][out] */ void **ppvObject);
  717.         
  718.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  719.             IGraphConfigCallback * This);
  720.         
  721.         ULONG ( STDMETHODCALLTYPE *Release )( 
  722.             IGraphConfigCallback * This);
  723.         
  724.         HRESULT ( STDMETHODCALLTYPE *Reconfigure )( 
  725.             IGraphConfigCallback * This,
  726.             PVOID pvContext,
  727.             DWORD dwFlags);
  728.         
  729.         END_INTERFACE
  730.     } IGraphConfigCallbackVtbl;
  731.     interface IGraphConfigCallback
  732.     {
  733.         CONST_VTBL struct IGraphConfigCallbackVtbl *lpVtbl;
  734.     };
  735.     
  736. #ifdef COBJMACROS
  737. #define IGraphConfigCallback_QueryInterface(This,riid,ppvObject)
  738.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  739. #define IGraphConfigCallback_AddRef(This)
  740.     (This)->lpVtbl -> AddRef(This)
  741. #define IGraphConfigCallback_Release(This)
  742.     (This)->lpVtbl -> Release(This)
  743. #define IGraphConfigCallback_Reconfigure(This,pvContext,dwFlags)
  744.     (This)->lpVtbl -> Reconfigure(This,pvContext,dwFlags)
  745. #endif /* COBJMACROS */
  746. #endif  /* C style interface */
  747. HRESULT STDMETHODCALLTYPE IGraphConfigCallback_Reconfigure_Proxy( 
  748.     IGraphConfigCallback * This,
  749.     PVOID pvContext,
  750.     DWORD dwFlags);
  751. void __RPC_STUB IGraphConfigCallback_Reconfigure_Stub(
  752.     IRpcStubBuffer *This,
  753.     IRpcChannelBuffer *_pRpcChannelBuffer,
  754.     PRPC_MESSAGE _pRpcMessage,
  755.     DWORD *_pdwStubPhase);
  756. #endif  /* __IGraphConfigCallback_INTERFACE_DEFINED__ */
  757. #ifndef __IFilterChain_INTERFACE_DEFINED__
  758. #define __IFilterChain_INTERFACE_DEFINED__
  759. /* interface IFilterChain */
  760. /* [unique][uuid][object][local] */ 
  761. EXTERN_C const IID IID_IFilterChain;
  762. #if defined(__cplusplus) && !defined(CINTERFACE)
  763.     
  764.     MIDL_INTERFACE("DCFBDCF6-0DC2-45f5-9AB2-7C330EA09C29")
  765.     IFilterChain : public IUnknown
  766.     {
  767.     public:
  768.         virtual HRESULT STDMETHODCALLTYPE StartChain( 
  769.             /* [in] */ IBaseFilter *pStartFilter,
  770.             /* [in] */ IBaseFilter *pEndFilter) = 0;
  771.         
  772.         virtual HRESULT STDMETHODCALLTYPE PauseChain( 
  773.             /* [in] */ IBaseFilter *pStartFilter,
  774.             /* [in] */ IBaseFilter *pEndFilter) = 0;
  775.         
  776.         virtual HRESULT STDMETHODCALLTYPE StopChain( 
  777.             /* [in] */ IBaseFilter *pStartFilter,
  778.             /* [in] */ IBaseFilter *pEndFilter) = 0;
  779.         
  780.         virtual HRESULT STDMETHODCALLTYPE RemoveChain( 
  781.             /* [in] */ IBaseFilter *pStartFilter,
  782.             /* [in] */ IBaseFilter *pEndFilter) = 0;
  783.         
  784.     };
  785.     
  786. #else  /* C style interface */
  787.     typedef struct IFilterChainVtbl
  788.     {
  789.         BEGIN_INTERFACE
  790.         
  791.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  792.             IFilterChain * This,
  793.             /* [in] */ REFIID riid,
  794.             /* [iid_is][out] */ void **ppvObject);
  795.         
  796.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  797.             IFilterChain * This);
  798.         
  799.         ULONG ( STDMETHODCALLTYPE *Release )( 
  800.             IFilterChain * This);
  801.         
  802.         HRESULT ( STDMETHODCALLTYPE *StartChain )( 
  803.             IFilterChain * This,
  804.             /* [in] */ IBaseFilter *pStartFilter,
  805.             /* [in] */ IBaseFilter *pEndFilter);
  806.         
  807.         HRESULT ( STDMETHODCALLTYPE *PauseChain )( 
  808.             IFilterChain * This,
  809.             /* [in] */ IBaseFilter *pStartFilter,
  810.             /* [in] */ IBaseFilter *pEndFilter);
  811.         
  812.         HRESULT ( STDMETHODCALLTYPE *StopChain )( 
  813.             IFilterChain * This,
  814.             /* [in] */ IBaseFilter *pStartFilter,
  815.             /* [in] */ IBaseFilter *pEndFilter);
  816.         
  817.         HRESULT ( STDMETHODCALLTYPE *RemoveChain )( 
  818.             IFilterChain * This,
  819.             /* [in] */ IBaseFilter *pStartFilter,
  820.             /* [in] */ IBaseFilter *pEndFilter);
  821.         
  822.         END_INTERFACE
  823.     } IFilterChainVtbl;
  824.     interface IFilterChain
  825.     {
  826.         CONST_VTBL struct IFilterChainVtbl *lpVtbl;
  827.     };
  828.     
  829. #ifdef COBJMACROS
  830. #define IFilterChain_QueryInterface(This,riid,ppvObject)
  831.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  832. #define IFilterChain_AddRef(This)
  833.     (This)->lpVtbl -> AddRef(This)
  834. #define IFilterChain_Release(This)
  835.     (This)->lpVtbl -> Release(This)
  836. #define IFilterChain_StartChain(This,pStartFilter,pEndFilter)
  837.     (This)->lpVtbl -> StartChain(This,pStartFilter,pEndFilter)
  838. #define IFilterChain_PauseChain(This,pStartFilter,pEndFilter)
  839.     (This)->lpVtbl -> PauseChain(This,pStartFilter,pEndFilter)
  840. #define IFilterChain_StopChain(This,pStartFilter,pEndFilter)
  841.     (This)->lpVtbl -> StopChain(This,pStartFilter,pEndFilter)
  842. #define IFilterChain_RemoveChain(This,pStartFilter,pEndFilter)
  843.     (This)->lpVtbl -> RemoveChain(This,pStartFilter,pEndFilter)
  844. #endif /* COBJMACROS */
  845. #endif  /* C style interface */
  846. HRESULT STDMETHODCALLTYPE IFilterChain_StartChain_Proxy( 
  847.     IFilterChain * This,
  848.     /* [in] */ IBaseFilter *pStartFilter,
  849.     /* [in] */ IBaseFilter *pEndFilter);
  850. void __RPC_STUB IFilterChain_StartChain_Stub(
  851.     IRpcStubBuffer *This,
  852.     IRpcChannelBuffer *_pRpcChannelBuffer,
  853.     PRPC_MESSAGE _pRpcMessage,
  854.     DWORD *_pdwStubPhase);
  855. HRESULT STDMETHODCALLTYPE IFilterChain_PauseChain_Proxy( 
  856.     IFilterChain * This,
  857.     /* [in] */ IBaseFilter *pStartFilter,
  858.     /* [in] */ IBaseFilter *pEndFilter);
  859. void __RPC_STUB IFilterChain_PauseChain_Stub(
  860.     IRpcStubBuffer *This,
  861.     IRpcChannelBuffer *_pRpcChannelBuffer,
  862.     PRPC_MESSAGE _pRpcMessage,
  863.     DWORD *_pdwStubPhase);
  864. HRESULT STDMETHODCALLTYPE IFilterChain_StopChain_Proxy( 
  865.     IFilterChain * This,
  866.     /* [in] */ IBaseFilter *pStartFilter,
  867.     /* [in] */ IBaseFilter *pEndFilter);
  868. void __RPC_STUB IFilterChain_StopChain_Stub(
  869.     IRpcStubBuffer *This,
  870.     IRpcChannelBuffer *_pRpcChannelBuffer,
  871.     PRPC_MESSAGE _pRpcMessage,
  872.     DWORD *_pdwStubPhase);
  873. HRESULT STDMETHODCALLTYPE IFilterChain_RemoveChain_Proxy( 
  874.     IFilterChain * This,
  875.     /* [in] */ IBaseFilter *pStartFilter,
  876.     /* [in] */ IBaseFilter *pEndFilter);
  877. void __RPC_STUB IFilterChain_RemoveChain_Stub(
  878.     IRpcStubBuffer *This,
  879.     IRpcChannelBuffer *_pRpcChannelBuffer,
  880.     PRPC_MESSAGE _pRpcMessage,
  881.     DWORD *_pdwStubPhase);
  882. #endif  /* __IFilterChain_INTERFACE_DEFINED__ */
  883. /* interface __MIDL_itf_strmif_0380 */
  884. /* [local] */ 
  885. #if 0
  886. typedef DWORD *LPDIRECTDRAW7;
  887. typedef DWORD *LPDIRECTDRAWSURFACE7;
  888. typedef DWORD *LPDDPIXELFORMAT;
  889. typedef DWORD *LPBITMAPINFOHEADER;
  890. typedef /* [public][public][public][public][public][public] */ struct __MIDL___MIDL_itf_strmif_0380_0001
  891.     {
  892.     DWORD dw1;
  893.     DWORD dw2;
  894.     }  DDCOLORKEY;
  895. typedef DDCOLORKEY *LPDDCOLORKEY;
  896. #endif
  897. #include <ddraw.h>
  898. typedef /* [public] */ 
  899. enum __MIDL___MIDL_itf_strmif_0380_0002
  900.     { VMRSample_SyncPoint = 0x1,
  901. VMRSample_Preroll = 0x2,
  902. VMRSample_Discontinuity = 0x4,
  903. VMRSample_TimeValid = 0x8
  904.     }  VMRPresentationFlags;
  905. typedef struct tagVMRPRESENTATIONINFO
  906.     {
  907.     DWORD dwFlags;
  908.     LPDIRECTDRAWSURFACE7 lpSurf;
  909.     REFERENCE_TIME rtStart;
  910.     REFERENCE_TIME rtEnd;
  911.     SIZE szAspectRatio;
  912.     RECT rcSrc;
  913.     RECT rcDst;
  914.     DWORD dwTypeSpecificFlags;
  915.     DWORD dwInterlaceFlags;
  916.     }  VMRPRESENTATIONINFO;
  917. extern RPC_IF_HANDLE __MIDL_itf_strmif_0380_v0_0_c_ifspec;
  918. extern RPC_IF_HANDLE __MIDL_itf_strmif_0380_v0_0_s_ifspec;
  919. #ifndef __IVMRImagePresenter_INTERFACE_DEFINED__
  920. #define __IVMRImagePresenter_INTERFACE_DEFINED__
  921. /* interface IVMRImagePresenter */
  922. /* [unique][helpstring][uuid][local][object][local] */ 
  923. EXTERN_C const IID IID_IVMRImagePresenter;
  924. #if defined(__cplusplus) && !defined(CINTERFACE)
  925.     
  926.     MIDL_INTERFACE("CE704FE7-E71E-41fb-BAA2-C4403E1182F5")
  927.     IVMRImagePresenter : public IUnknown
  928.     {
  929.     public:
  930.         virtual HRESULT STDMETHODCALLTYPE StartPresenting( 
  931.             /* [in] */ DWORD_PTR dwUserID) = 0;
  932.         
  933.         virtual HRESULT STDMETHODCALLTYPE StopPresenting( 
  934.             /* [in] */ DWORD_PTR dwUserID) = 0;
  935.         
  936.         virtual HRESULT STDMETHODCALLTYPE PresentImage( 
  937.             /* [in] */ DWORD_PTR dwUserID,
  938.             /* [in] */ VMRPRESENTATIONINFO *lpPresInfo) = 0;
  939.         
  940.     };
  941.     
  942. #else  /* C style interface */
  943.     typedef struct IVMRImagePresenterVtbl
  944.     {
  945.         BEGIN_INTERFACE
  946.         
  947.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  948.             IVMRImagePresenter * This,
  949.             /* [in] */ REFIID riid,
  950.             /* [iid_is][out] */ void **ppvObject);
  951.         
  952.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  953.             IVMRImagePresenter * This);
  954.         
  955.         ULONG ( STDMETHODCALLTYPE *Release )( 
  956.             IVMRImagePresenter * This);
  957.         
  958.         HRESULT ( STDMETHODCALLTYPE *StartPresenting )( 
  959.             IVMRImagePresenter * This,
  960.             /* [in] */ DWORD_PTR dwUserID);
  961.         
  962.         HRESULT ( STDMETHODCALLTYPE *StopPresenting )( 
  963.             IVMRImagePresenter * This,
  964.             /* [in] */ DWORD_PTR dwUserID);
  965.         
  966.         HRESULT ( STDMETHODCALLTYPE *PresentImage )( 
  967.             IVMRImagePresenter * This,
  968.             /* [in] */ DWORD_PTR dwUserID,
  969.             /* [in] */ VMRPRESENTATIONINFO *lpPresInfo);
  970.         
  971.         END_INTERFACE
  972.     } IVMRImagePresenterVtbl;
  973.     interface IVMRImagePresenter
  974.     {
  975.         CONST_VTBL struct IVMRImagePresenterVtbl *lpVtbl;
  976.     };
  977.     
  978. #ifdef COBJMACROS
  979. #define IVMRImagePresenter_QueryInterface(This,riid,ppvObject)
  980.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  981. #define IVMRImagePresenter_AddRef(This)
  982.     (This)->lpVtbl -> AddRef(This)
  983. #define IVMRImagePresenter_Release(This)
  984.     (This)->lpVtbl -> Release(This)
  985. #define IVMRImagePresenter_StartPresenting(This,dwUserID)
  986.     (This)->lpVtbl -> StartPresenting(This,dwUserID)
  987. #define IVMRImagePresenter_StopPresenting(This,dwUserID)
  988.     (This)->lpVtbl -> StopPresenting(This,dwUserID)
  989. #define IVMRImagePresenter_PresentImage(This,dwUserID,lpPresInfo)
  990.     (This)->lpVtbl -> PresentImage(This,dwUserID,lpPresInfo)
  991. #endif /* COBJMACROS */
  992. #endif  /* C style interface */
  993. HRESULT STDMETHODCALLTYPE IVMRImagePresenter_StartPresenting_Proxy( 
  994.     IVMRImagePresenter * This,
  995.     /* [in] */ DWORD_PTR dwUserID);
  996. void __RPC_STUB IVMRImagePresenter_StartPresenting_Stub(
  997.     IRpcStubBuffer *This,
  998.     IRpcChannelBuffer *_pRpcChannelBuffer,
  999.     PRPC_MESSAGE _pRpcMessage,
  1000.     DWORD *_pdwStubPhase);
  1001. HRESULT STDMETHODCALLTYPE IVMRImagePresenter_StopPresenting_Proxy( 
  1002.     IVMRImagePresenter * This,
  1003.     /* [in] */ DWORD_PTR dwUserID);
  1004. void __RPC_STUB IVMRImagePresenter_StopPresenting_Stub(
  1005.     IRpcStubBuffer *This,
  1006.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1007.     PRPC_MESSAGE _pRpcMessage,
  1008.     DWORD *_pdwStubPhase);
  1009. HRESULT STDMETHODCALLTYPE IVMRImagePresenter_PresentImage_Proxy( 
  1010.     IVMRImagePresenter * This,
  1011.     /* [in] */ DWORD_PTR dwUserID,
  1012.     /* [in] */ VMRPRESENTATIONINFO *lpPresInfo);
  1013. void __RPC_STUB IVMRImagePresenter_PresentImage_Stub(
  1014.     IRpcStubBuffer *This,
  1015.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1016.     PRPC_MESSAGE _pRpcMessage,
  1017.     DWORD *_pdwStubPhase);
  1018. #endif  /* __IVMRImagePresenter_INTERFACE_DEFINED__ */
  1019. /* interface __MIDL_itf_strmif_0381 */
  1020. /* [local] */ 
  1021. typedef /* [public] */ 
  1022. enum __MIDL___MIDL_itf_strmif_0381_0001
  1023.     { AMAP_PIXELFORMAT_VALID = 0x1,
  1024. AMAP_3D_TARGET = 0x2,
  1025. AMAP_ALLOW_SYSMEM = 0x4,
  1026. AMAP_FORCE_SYSMEM = 0x8,
  1027. AMAP_DIRECTED_FLIP = 0x10,
  1028. AMAP_DXVA_TARGET = 0x20
  1029.     }  VMRSurfaceAllocationFlags;
  1030. typedef struct tagVMRALLOCATIONINFO
  1031.     {
  1032.     DWORD dwFlags;
  1033.     LPBITMAPINFOHEADER lpHdr;
  1034.     LPDDPIXELFORMAT lpPixFmt;
  1035.     SIZE szAspectRatio;
  1036.     DWORD dwMinBuffers;
  1037.     DWORD dwMaxBuffers;
  1038.     DWORD dwInterlaceFlags;
  1039.     SIZE szNativeSize;
  1040.     }  VMRALLOCATIONINFO;
  1041. extern RPC_IF_HANDLE __MIDL_itf_strmif_0381_v0_0_c_ifspec;
  1042. extern RPC_IF_HANDLE __MIDL_itf_strmif_0381_v0_0_s_ifspec;
  1043. #ifndef __IVMRSurfaceAllocator_INTERFACE_DEFINED__
  1044. #define __IVMRSurfaceAllocator_INTERFACE_DEFINED__
  1045. /* interface IVMRSurfaceAllocator */
  1046. /* [unique][helpstring][uuid][local][object][local] */ 
  1047. EXTERN_C const IID IID_IVMRSurfaceAllocator;
  1048. #if defined(__cplusplus) && !defined(CINTERFACE)
  1049.     
  1050.     MIDL_INTERFACE("31ce832e-4484-458b-8cca-f4d7e3db0b52")
  1051.     IVMRSurfaceAllocator : public IUnknown
  1052.     {
  1053.     public:
  1054.         virtual HRESULT STDMETHODCALLTYPE AllocateSurface( 
  1055.             /* [in] */ DWORD_PTR dwUserID,
  1056.             /* [in] */ VMRALLOCATIONINFO *lpAllocInfo,
  1057.             /* [out][in] */ DWORD *lpdwActualBuffers,
  1058.             /* [out] */ LPDIRECTDRAWSURFACE7 *lplpSurface) = 0;
  1059.         
  1060.         virtual HRESULT STDMETHODCALLTYPE FreeSurface( 
  1061.             /* [in] */ DWORD_PTR dwID) = 0;
  1062.         
  1063.         virtual HRESULT STDMETHODCALLTYPE PrepareSurface( 
  1064.             /* [in] */ DWORD_PTR dwUserID,
  1065.             /* [in] */ LPDIRECTDRAWSURFACE7 lpSurface,
  1066.             /* [in] */ DWORD dwSurfaceFlags) = 0;
  1067.         
  1068.         virtual HRESULT STDMETHODCALLTYPE AdviseNotify( 
  1069.             /* [in] */ IVMRSurfaceAllocatorNotify *lpIVMRSurfAllocNotify) = 0;
  1070.         
  1071.     };
  1072.     
  1073. #else  /* C style interface */
  1074.     typedef struct IVMRSurfaceAllocatorVtbl
  1075.     {
  1076.         BEGIN_INTERFACE
  1077.         
  1078.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1079.             IVMRSurfaceAllocator * This,
  1080.             /* [in] */ REFIID riid,
  1081.             /* [iid_is][out] */ void **ppvObject);
  1082.         
  1083.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1084.             IVMRSurfaceAllocator * This);
  1085.         
  1086.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1087.             IVMRSurfaceAllocator * This);
  1088.         
  1089.         HRESULT ( STDMETHODCALLTYPE *AllocateSurface )( 
  1090.             IVMRSurfaceAllocator * This,
  1091.             /* [in] */ DWORD_PTR dwUserID,
  1092.             /* [in] */ VMRALLOCATIONINFO *lpAllocInfo,
  1093.             /* [out][in] */ DWORD *lpdwActualBuffers,
  1094.             /* [out] */ LPDIRECTDRAWSURFACE7 *lplpSurface);
  1095.         
  1096.         HRESULT ( STDMETHODCALLTYPE *FreeSurface )( 
  1097.             IVMRSurfaceAllocator * This,
  1098.             /* [in] */ DWORD_PTR dwID);
  1099.         
  1100.         HRESULT ( STDMETHODCALLTYPE *PrepareSurface )( 
  1101.             IVMRSurfaceAllocator * This,
  1102.             /* [in] */ DWORD_PTR dwUserID,
  1103.             /* [in] */ LPDIRECTDRAWSURFACE7 lpSurface,
  1104.             /* [in] */ DWORD dwSurfaceFlags);
  1105.         
  1106.         HRESULT ( STDMETHODCALLTYPE *AdviseNotify )( 
  1107.             IVMRSurfaceAllocator * This,
  1108.             /* [in] */ IVMRSurfaceAllocatorNotify *lpIVMRSurfAllocNotify);
  1109.         
  1110.         END_INTERFACE
  1111.     } IVMRSurfaceAllocatorVtbl;
  1112.     interface IVMRSurfaceAllocator
  1113.     {
  1114.         CONST_VTBL struct IVMRSurfaceAllocatorVtbl *lpVtbl;
  1115.     };
  1116.     
  1117. #ifdef COBJMACROS
  1118. #define IVMRSurfaceAllocator_QueryInterface(This,riid,ppvObject)
  1119.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1120. #define IVMRSurfaceAllocator_AddRef(This)
  1121.     (This)->lpVtbl -> AddRef(This)
  1122. #define IVMRSurfaceAllocator_Release(This)
  1123.     (This)->lpVtbl -> Release(This)
  1124. #define IVMRSurfaceAllocator_AllocateSurface(This,dwUserID,lpAllocInfo,lpdwActualBuffers,lplpSurface)
  1125.     (This)->lpVtbl -> AllocateSurface(This,dwUserID,lpAllocInfo,lpdwActualBuffers,lplpSurface)
  1126. #define IVMRSurfaceAllocator_FreeSurface(This,dwID)
  1127.     (This)->lpVtbl -> FreeSurface(This,dwID)
  1128. #define IVMRSurfaceAllocator_PrepareSurface(This,dwUserID,lpSurface,dwSurfaceFlags)
  1129.     (This)->lpVtbl -> PrepareSurface(This,dwUserID,lpSurface,dwSurfaceFlags)
  1130. #define IVMRSurfaceAllocator_AdviseNotify(This,lpIVMRSurfAllocNotify)
  1131.     (This)->lpVtbl -> AdviseNotify(This,lpIVMRSurfAllocNotify)
  1132. #endif /* COBJMACROS */
  1133. #endif  /* C style interface */
  1134. HRESULT STDMETHODCALLTYPE IVMRSurfaceAllocator_AllocateSurface_Proxy( 
  1135.     IVMRSurfaceAllocator * This,
  1136.     /* [in] */ DWORD_PTR dwUserID,
  1137.     /* [in] */ VMRALLOCATIONINFO *lpAllocInfo,
  1138.     /* [out][in] */ DWORD *lpdwActualBuffers,
  1139.     /* [out] */ LPDIRECTDRAWSURFACE7 *lplpSurface);
  1140. void __RPC_STUB IVMRSurfaceAllocator_AllocateSurface_Stub(
  1141.     IRpcStubBuffer *This,
  1142.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1143.     PRPC_MESSAGE _pRpcMessage,
  1144.     DWORD *_pdwStubPhase);
  1145. HRESULT STDMETHODCALLTYPE IVMRSurfaceAllocator_FreeSurface_Proxy( 
  1146.     IVMRSurfaceAllocator * This,
  1147.     /* [in] */ DWORD_PTR dwID);
  1148. void __RPC_STUB IVMRSurfaceAllocator_FreeSurface_Stub(
  1149.     IRpcStubBuffer *This,
  1150.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1151.     PRPC_MESSAGE _pRpcMessage,
  1152.     DWORD *_pdwStubPhase);
  1153. HRESULT STDMETHODCALLTYPE IVMRSurfaceAllocator_PrepareSurface_Proxy( 
  1154.     IVMRSurfaceAllocator * This,
  1155.     /* [in] */ DWORD_PTR dwUserID,
  1156.     /* [in] */ LPDIRECTDRAWSURFACE7 lpSurface,
  1157.     /* [in] */ DWORD dwSurfaceFlags);
  1158. void __RPC_STUB IVMRSurfaceAllocator_PrepareSurface_Stub(
  1159.     IRpcStubBuffer *This,
  1160.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1161.     PRPC_MESSAGE _pRpcMessage,
  1162.     DWORD *_pdwStubPhase);
  1163. HRESULT STDMETHODCALLTYPE IVMRSurfaceAllocator_AdviseNotify_Proxy( 
  1164.     IVMRSurfaceAllocator * This,
  1165.     /* [in] */ IVMRSurfaceAllocatorNotify *lpIVMRSurfAllocNotify);
  1166. void __RPC_STUB IVMRSurfaceAllocator_AdviseNotify_Stub(
  1167.     IRpcStubBuffer *This,
  1168.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1169.     PRPC_MESSAGE _pRpcMessage,
  1170.     DWORD *_pdwStubPhase);
  1171. #endif  /* __IVMRSurfaceAllocator_INTERFACE_DEFINED__ */
  1172. #ifndef __IVMRSurfaceAllocatorNotify_INTERFACE_DEFINED__
  1173. #define __IVMRSurfaceAllocatorNotify_INTERFACE_DEFINED__
  1174. /* interface IVMRSurfaceAllocatorNotify */
  1175. /* [unique][helpstring][uuid][local][object][local] */ 
  1176. EXTERN_C const IID IID_IVMRSurfaceAllocatorNotify;
  1177. #if defined(__cplusplus) && !defined(CINTERFACE)
  1178.     
  1179.     MIDL_INTERFACE("aada05a8-5a4e-4729-af0b-cea27aed51e2")
  1180.     IVMRSurfaceAllocatorNotify : public IUnknown
  1181.     {
  1182.     public:
  1183.         virtual HRESULT STDMETHODCALLTYPE AdviseSurfaceAllocator( 
  1184.             /* [in] */ DWORD_PTR dwUserID,
  1185.             /* [in] */ IVMRSurfaceAllocator *lpIVRMSurfaceAllocator) = 0;
  1186.         
  1187.         virtual HRESULT STDMETHODCALLTYPE SetDDrawDevice( 
  1188.             /* [in] */ LPDIRECTDRAW7 lpDDrawDevice,
  1189.             /* [in] */ HMONITOR hMonitor) = 0;
  1190.         
  1191.         virtual HRESULT STDMETHODCALLTYPE ChangeDDrawDevice( 
  1192.             /* [in] */ LPDIRECTDRAW7 lpDDrawDevice,
  1193.             /* [in] */ HMONITOR hMonitor) = 0;
  1194.         
  1195.         virtual HRESULT STDMETHODCALLTYPE RestoreDDrawSurfaces( void) = 0;
  1196.         
  1197.         virtual HRESULT STDMETHODCALLTYPE NotifyEvent( 
  1198.             /* [in] */ LONG EventCode,
  1199.             /* [in] */ LONG_PTR Param1,
  1200.             /* [in] */ LONG_PTR Param2) = 0;
  1201.         
  1202.         virtual HRESULT STDMETHODCALLTYPE SetBorderColor( 
  1203.             /* [in] */ COLORREF clrBorder) = 0;
  1204.         
  1205.     };
  1206.     
  1207. #else  /* C style interface */
  1208.     typedef struct IVMRSurfaceAllocatorNotifyVtbl
  1209.     {
  1210.         BEGIN_INTERFACE
  1211.         
  1212.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1213.             IVMRSurfaceAllocatorNotify * This,
  1214.             /* [in] */ REFIID riid,
  1215.             /* [iid_is][out] */ void **ppvObject);
  1216.         
  1217.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1218.             IVMRSurfaceAllocatorNotify * This);
  1219.         
  1220.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1221.             IVMRSurfaceAllocatorNotify * This);
  1222.         
  1223.         HRESULT ( STDMETHODCALLTYPE *AdviseSurfaceAllocator )( 
  1224.             IVMRSurfaceAllocatorNotify * This,
  1225.             /* [in] */ DWORD_PTR dwUserID,
  1226.             /* [in] */ IVMRSurfaceAllocator *lpIVRMSurfaceAllocator);
  1227.         
  1228.         HRESULT ( STDMETHODCALLTYPE *SetDDrawDevice )( 
  1229.             IVMRSurfaceAllocatorNotify * This,
  1230.             /* [in] */ LPDIRECTDRAW7 lpDDrawDevice,
  1231.             /* [in] */ HMONITOR hMonitor);
  1232.         
  1233.         HRESULT ( STDMETHODCALLTYPE *ChangeDDrawDevice )( 
  1234.             IVMRSurfaceAllocatorNotify * This,
  1235.             /* [in] */ LPDIRECTDRAW7 lpDDrawDevice,
  1236.             /* [in] */ HMONITOR hMonitor);
  1237.         
  1238.         HRESULT ( STDMETHODCALLTYPE *RestoreDDrawSurfaces )( 
  1239.             IVMRSurfaceAllocatorNotify * This);
  1240.         
  1241.         HRESULT ( STDMETHODCALLTYPE *NotifyEvent )( 
  1242.             IVMRSurfaceAllocatorNotify * This,
  1243.             /* [in] */ LONG EventCode,
  1244.             /* [in] */ LONG_PTR Param1,
  1245.             /* [in] */ LONG_PTR Param2);
  1246.         
  1247.         HRESULT ( STDMETHODCALLTYPE *SetBorderColor )( 
  1248.             IVMRSurfaceAllocatorNotify * This,
  1249.             /* [in] */ COLORREF clrBorder);
  1250.         
  1251.         END_INTERFACE
  1252.     } IVMRSurfaceAllocatorNotifyVtbl;
  1253.     interface IVMRSurfaceAllocatorNotify
  1254.     {
  1255.         CONST_VTBL struct IVMRSurfaceAllocatorNotifyVtbl *lpVtbl;
  1256.     };
  1257.     
  1258. #ifdef COBJMACROS
  1259. #define IVMRSurfaceAllocatorNotify_QueryInterface(This,riid,ppvObject)
  1260.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1261. #define IVMRSurfaceAllocatorNotify_AddRef(This)
  1262.     (This)->lpVtbl -> AddRef(This)
  1263. #define IVMRSurfaceAllocatorNotify_Release(This)
  1264.     (This)->lpVtbl -> Release(This)
  1265. #define IVMRSurfaceAllocatorNotify_AdviseSurfaceAllocator(This,dwUserID,lpIVRMSurfaceAllocator)
  1266.     (This)->lpVtbl -> AdviseSurfaceAllocator(This,dwUserID,lpIVRMSurfaceAllocator)
  1267. #define IVMRSurfaceAllocatorNotify_SetDDrawDevice(This,lpDDrawDevice,hMonitor)
  1268.     (This)->lpVtbl -> SetDDrawDevice(This,lpDDrawDevice,hMonitor)
  1269. #define IVMRSurfaceAllocatorNotify_ChangeDDrawDevice(This,lpDDrawDevice,hMonitor)
  1270.     (This)->lpVtbl -> ChangeDDrawDevice(This,lpDDrawDevice,hMonitor)
  1271. #define IVMRSurfaceAllocatorNotify_RestoreDDrawSurfaces(This)
  1272.     (This)->lpVtbl -> RestoreDDrawSurfaces(This)
  1273. #define IVMRSurfaceAllocatorNotify_NotifyEvent(This,EventCode,Param1,Param2)
  1274.     (This)->lpVtbl -> NotifyEvent(This,EventCode,Param1,Param2)
  1275. #define IVMRSurfaceAllocatorNotify_SetBorderColor(This,clrBorder)
  1276.     (This)->lpVtbl -> SetBorderColor(This,clrBorder)
  1277. #endif /* COBJMACROS */
  1278. #endif  /* C style interface */
  1279. HRESULT STDMETHODCALLTYPE IVMRSurfaceAllocatorNotify_AdviseSurfaceAllocator_Proxy( 
  1280.     IVMRSurfaceAllocatorNotify * This,
  1281.     /* [in] */ DWORD_PTR dwUserID,
  1282.     /* [in] */ IVMRSurfaceAllocator *lpIVRMSurfaceAllocator);
  1283. void __RPC_STUB IVMRSurfaceAllocatorNotify_AdviseSurfaceAllocator_Stub(
  1284.     IRpcStubBuffer *This,
  1285.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1286.     PRPC_MESSAGE _pRpcMessage,
  1287.     DWORD *_pdwStubPhase);
  1288. HRESULT STDMETHODCALLTYPE IVMRSurfaceAllocatorNotify_SetDDrawDevice_Proxy( 
  1289.     IVMRSurfaceAllocatorNotify * This,
  1290.     /* [in] */ LPDIRECTDRAW7 lpDDrawDevice,
  1291.     /* [in] */ HMONITOR hMonitor);
  1292. void __RPC_STUB IVMRSurfaceAllocatorNotify_SetDDrawDevice_Stub(
  1293.     IRpcStubBuffer *This,
  1294.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1295.     PRPC_MESSAGE _pRpcMessage,
  1296.     DWORD *_pdwStubPhase);
  1297. HRESULT STDMETHODCALLTYPE IVMRSurfaceAllocatorNotify_ChangeDDrawDevice_Proxy( 
  1298.     IVMRSurfaceAllocatorNotify * This,
  1299.     /* [in] */ LPDIRECTDRAW7 lpDDrawDevice,
  1300.     /* [in] */ HMONITOR hMonitor);
  1301. void __RPC_STUB IVMRSurfaceAllocatorNotify_ChangeDDrawDevice_Stub(
  1302.     IRpcStubBuffer *This,
  1303.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1304.     PRPC_MESSAGE _pRpcMessage,
  1305.     DWORD *_pdwStubPhase);
  1306. HRESULT STDMETHODCALLTYPE IVMRSurfaceAllocatorNotify_RestoreDDrawSurfaces_Proxy( 
  1307.     IVMRSurfaceAllocatorNotify * This);
  1308. void __RPC_STUB IVMRSurfaceAllocatorNotify_RestoreDDrawSurfaces_Stub(
  1309.     IRpcStubBuffer *This,
  1310.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1311.     PRPC_MESSAGE _pRpcMessage,
  1312.     DWORD *_pdwStubPhase);
  1313. HRESULT STDMETHODCALLTYPE IVMRSurfaceAllocatorNotify_NotifyEvent_Proxy( 
  1314.     IVMRSurfaceAllocatorNotify * This,
  1315.     /* [in] */ LONG EventCode,
  1316.     /* [in] */ LONG_PTR Param1,
  1317.     /* [in] */ LONG_PTR Param2);
  1318. void __RPC_STUB IVMRSurfaceAllocatorNotify_NotifyEvent_Stub(
  1319.     IRpcStubBuffer *This,
  1320.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1321.     PRPC_MESSAGE _pRpcMessage,
  1322.     DWORD *_pdwStubPhase);
  1323. HRESULT STDMETHODCALLTYPE IVMRSurfaceAllocatorNotify_SetBorderColor_Proxy( 
  1324.     IVMRSurfaceAllocatorNotify * This,
  1325.     /* [in] */ COLORREF clrBorder);
  1326. void __RPC_STUB IVMRSurfaceAllocatorNotify_SetBorderColor_Stub(
  1327.     IRpcStubBuffer *This,
  1328.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1329.     PRPC_MESSAGE _pRpcMessage,
  1330.     DWORD *_pdwStubPhase);
  1331. #endif  /* __IVMRSurfaceAllocatorNotify_INTERFACE_DEFINED__ */
  1332. /* interface __MIDL_itf_strmif_0383 */
  1333. /* [local] */ 
  1334. typedef /* [public] */ 
  1335. enum __MIDL___MIDL_itf_strmif_0383_0001
  1336.     { VMR_ARMODE_NONE = 0,
  1337. VMR_ARMODE_LETTER_BOX = VMR_ARMODE_NONE + 1
  1338.     }  VMR_ASPECT_RATIO_MODE;
  1339. extern RPC_IF_HANDLE __MIDL_itf_strmif_0383_v0_0_c_ifspec;
  1340. extern RPC_IF_HANDLE __MIDL_itf_strmif_0383_v0_0_s_ifspec;
  1341. #ifndef __IVMRWindowlessControl_INTERFACE_DEFINED__
  1342. #define __IVMRWindowlessControl_INTERFACE_DEFINED__
  1343. /* interface IVMRWindowlessControl */
  1344. /* [unique][helpstring][uuid][local][object][local] */ 
  1345. EXTERN_C const IID IID_IVMRWindowlessControl;
  1346. #if defined(__cplusplus) && !defined(CINTERFACE)
  1347.     
  1348.     MIDL_INTERFACE("0eb1088c-4dcd-46f0-878f-39dae86a51b7")
  1349.     IVMRWindowlessControl : public IUnknown
  1350.     {
  1351.     public:
  1352.         virtual HRESULT STDMETHODCALLTYPE GetNativeVideoSize( 
  1353.             /* [out] */ LONG *lpWidth,
  1354.             /* [out] */ LONG *lpHeight,
  1355.             /* [out] */ LONG *lpARWidth,
  1356.             /* [out] */ LONG *lpARHeight) = 0;
  1357.         
  1358.         virtual HRESULT STDMETHODCALLTYPE GetMinIdealVideoSize( 
  1359.             /* [out] */ LONG *lpWidth,
  1360.             /* [out] */ LONG *lpHeight) = 0;
  1361.         
  1362.         virtual HRESULT STDMETHODCALLTYPE GetMaxIdealVideoSize( 
  1363.             /* [out] */ LONG *lpWidth,
  1364.             /* [out] */ LONG *lpHeight) = 0;
  1365.         
  1366.         virtual HRESULT STDMETHODCALLTYPE SetVideoPosition( 
  1367.             /* [in] */ const LPRECT lpSRCRect,
  1368.             /* [in] */ const LPRECT lpDSTRect) = 0;
  1369.         
  1370.         virtual HRESULT STDMETHODCALLTYPE GetVideoPosition( 
  1371.             /* [out] */ LPRECT lpSRCRect,
  1372.             /* [out] */ LPRECT lpDSTRect) = 0;
  1373.         
  1374.         virtual HRESULT STDMETHODCALLTYPE GetAspectRatioMode( 
  1375.             /* [out] */ DWORD *lpAspectRatioMode) = 0;
  1376.         
  1377.         virtual HRESULT STDMETHODCALLTYPE SetAspectRatioMode( 
  1378.             /* [in] */ DWORD AspectRatioMode) = 0;
  1379.         
  1380.         virtual HRESULT STDMETHODCALLTYPE SetVideoClippingWindow( 
  1381.             /* [in] */ HWND hwnd) = 0;
  1382.         
  1383.         virtual HRESULT STDMETHODCALLTYPE RepaintVideo( 
  1384.             /* [in] */ HWND hwnd,
  1385.             /* [in] */ HDC hdc) = 0;
  1386.         
  1387.         virtual HRESULT STDMETHODCALLTYPE DisplayModeChanged( void) = 0;
  1388.         
  1389.         virtual HRESULT STDMETHODCALLTYPE GetCurrentImage( 
  1390.             /* [out] */ BYTE **lpDib) = 0;
  1391.         
  1392.         virtual HRESULT STDMETHODCALLTYPE SetBorderColor( 
  1393.             /* [in] */ COLORREF Clr) = 0;
  1394.         
  1395.         virtual HRESULT STDMETHODCALLTYPE GetBorderColor( 
  1396.             /* [out] */ COLORREF *lpClr) = 0;
  1397.         
  1398.         virtual HRESULT STDMETHODCALLTYPE SetColorKey( 
  1399.             /* [in] */ COLORREF Clr) = 0;
  1400.         
  1401.         virtual HRESULT STDMETHODCALLTYPE GetColorKey( 
  1402.             /* [out] */ COLORREF *lpClr) = 0;
  1403.         
  1404.     };
  1405.     
  1406. #else  /* C style interface */
  1407.     typedef struct IVMRWindowlessControlVtbl
  1408.     {
  1409.         BEGIN_INTERFACE
  1410.         
  1411.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1412.             IVMRWindowlessControl * This,
  1413.             /* [in] */ REFIID riid,
  1414.             /* [iid_is][out] */ void **ppvObject);
  1415.         
  1416.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1417.             IVMRWindowlessControl * This);
  1418.         
  1419.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1420.             IVMRWindowlessControl * This);
  1421.         
  1422.         HRESULT ( STDMETHODCALLTYPE *GetNativeVideoSize )( 
  1423.             IVMRWindowlessControl * This,
  1424.             /* [out] */ LONG *lpWidth,
  1425.             /* [out] */ LONG *lpHeight,
  1426.             /* [out] */ LONG *lpARWidth,
  1427.             /* [out] */ LONG *lpARHeight);
  1428.         
  1429.         HRESULT ( STDMETHODCALLTYPE *GetMinIdealVideoSize )( 
  1430.             IVMRWindowlessControl * This,
  1431.             /* [out] */ LONG *lpWidth,
  1432.             /* [out] */ LONG *lpHeight);
  1433.         
  1434.         HRESULT ( STDMETHODCALLTYPE *GetMaxIdealVideoSize )( 
  1435.             IVMRWindowlessControl * This,
  1436.             /* [out] */ LONG *lpWidth,
  1437.             /* [out] */ LONG *lpHeight);
  1438.         
  1439.         HRESULT ( STDMETHODCALLTYPE *SetVideoPosition )( 
  1440.             IVMRWindowlessControl * This,
  1441.             /* [in] */ const LPRECT lpSRCRect,
  1442.             /* [in] */ const LPRECT lpDSTRect);
  1443.         
  1444.         HRESULT ( STDMETHODCALLTYPE *GetVideoPosition )( 
  1445.             IVMRWindowlessControl * This,
  1446.             /* [out] */ LPRECT lpSRCRect,
  1447.             /* [out] */ LPRECT lpDSTRect);
  1448.         
  1449.         HRESULT ( STDMETHODCALLTYPE *GetAspectRatioMode )( 
  1450.             IVMRWindowlessControl * This,
  1451.             /* [out] */ DWORD *lpAspectRatioMode);
  1452.         
  1453.         HRESULT ( STDMETHODCALLTYPE *SetAspectRatioMode )( 
  1454.             IVMRWindowlessControl * This,
  1455.             /* [in] */ DWORD AspectRatioMode);
  1456.         
  1457.         HRESULT ( STDMETHODCALLTYPE *SetVideoClippingWindow )( 
  1458.             IVMRWindowlessControl * This,
  1459.             /* [in] */ HWND hwnd);
  1460.         
  1461.         HRESULT ( STDMETHODCALLTYPE *RepaintVideo )( 
  1462.             IVMRWindowlessControl * This,
  1463.             /* [in] */ HWND hwnd,
  1464.             /* [in] */ HDC hdc);
  1465.         
  1466.         HRESULT ( STDMETHODCALLTYPE *DisplayModeChanged )( 
  1467.             IVMRWindowlessControl * This);
  1468.         
  1469.         HRESULT ( STDMETHODCALLTYPE *GetCurrentImage )( 
  1470.             IVMRWindowlessControl * This,
  1471.             /* [out] */ BYTE **lpDib);
  1472.         
  1473.         HRESULT ( STDMETHODCALLTYPE *SetBorderColor )( 
  1474.             IVMRWindowlessControl * This,
  1475.             /* [in] */ COLORREF Clr);
  1476.         
  1477.         HRESULT ( STDMETHODCALLTYPE *GetBorderColor )( 
  1478.             IVMRWindowlessControl * This,
  1479.             /* [out] */ COLORREF *lpClr);
  1480.         
  1481.         HRESULT ( STDMETHODCALLTYPE *SetColorKey )( 
  1482.             IVMRWindowlessControl * This,
  1483.             /* [in] */ COLORREF Clr);
  1484.         
  1485.         HRESULT ( STDMETHODCALLTYPE *GetColorKey )( 
  1486.             IVMRWindowlessControl * This,
  1487.             /* [out] */ COLORREF *lpClr);
  1488.         
  1489.         END_INTERFACE
  1490.     } IVMRWindowlessControlVtbl;
  1491.     interface IVMRWindowlessControl
  1492.     {
  1493.         CONST_VTBL struct IVMRWindowlessControlVtbl *lpVtbl;
  1494.     };
  1495.     
  1496. #ifdef COBJMACROS
  1497. #define IVMRWindowlessControl_QueryInterface(This,riid,ppvObject)
  1498.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1499. #define IVMRWindowlessControl_AddRef(This)
  1500.     (This)->lpVtbl -> AddRef(This)
  1501. #define IVMRWindowlessControl_Release(This)
  1502.     (This)->lpVtbl -> Release(This)
  1503. #define IVMRWindowlessControl_GetNativeVideoSize(This,lpWidth,lpHeight,lpARWidth,lpARHeight)
  1504.     (This)->lpVtbl -> GetNativeVideoSize(This,lpWidth,lpHeight,lpARWidth,lpARHeight)
  1505. #define IVMRWindowlessControl_GetMinIdealVideoSize(This,lpWidth,lpHeight)
  1506.     (This)->lpVtbl -> GetMinIdealVideoSize(This,lpWidth,lpHeight)
  1507. #define IVMRWindowlessControl_GetMaxIdealVideoSize(This,lpWidth,lpHeight)
  1508.     (This)->lpVtbl -> GetMaxIdealVideoSize(This,lpWidth,lpHeight)
  1509. #define IVMRWindowlessControl_SetVideoPosition(This,lpSRCRect,lpDSTRect)
  1510.     (This)->lpVtbl -> SetVideoPosition(This,lpSRCRect,lpDSTRect)
  1511. #define IVMRWindowlessControl_GetVideoPosition(This,lpSRCRect,lpDSTRect)
  1512.     (This)->lpVtbl -> GetVideoPosition(This,lpSRCRect,lpDSTRect)
  1513. #define IVMRWindowlessControl_GetAspectRatioMode(This,lpAspectRatioMode)
  1514.     (This)->lpVtbl -> GetAspectRatioMode(This,lpAspectRatioMode)
  1515. #define IVMRWindowlessControl_SetAspectRatioMode(This,AspectRatioMode)
  1516.     (This)->lpVtbl -> SetAspectRatioMode(This,AspectRatioMode)
  1517. #define IVMRWindowlessControl_SetVideoClippingWindow(This,hwnd)
  1518.     (This)->lpVtbl -> SetVideoClippingWindow(This,hwnd)
  1519. #define IVMRWindowlessControl_RepaintVideo(This,hwnd,hdc)
  1520.     (This)->lpVtbl -> RepaintVideo(This,hwnd,hdc)
  1521. #define IVMRWindowlessControl_DisplayModeChanged(This)
  1522.     (This)->lpVtbl -> DisplayModeChanged(This)
  1523. #define IVMRWindowlessControl_GetCurrentImage(This,lpDib)
  1524.     (This)->lpVtbl -> GetCurrentImage(This,lpDib)
  1525. #define IVMRWindowlessControl_SetBorderColor(This,Clr)
  1526.     (This)->lpVtbl -> SetBorderColor(This,Clr)
  1527. #define IVMRWindowlessControl_GetBorderColor(This,lpClr)
  1528.     (This)->lpVtbl -> GetBorderColor(This,lpClr)
  1529. #define IVMRWindowlessControl_SetColorKey(This,Clr)
  1530.     (This)->lpVtbl -> SetColorKey(This,Clr)
  1531. #define IVMRWindowlessControl_GetColorKey(This,lpClr)
  1532.     (This)->lpVtbl -> GetColorKey(This,lpClr)
  1533. #endif /* COBJMACROS */
  1534. #endif  /* C style interface */
  1535. HRESULT STDMETHODCALLTYPE IVMRWindowlessControl_GetNativeVideoSize_Proxy( 
  1536.     IVMRWindowlessControl * This,
  1537.     /* [out] */ LONG *lpWidth,
  1538.     /* [out] */ LONG *lpHeight,
  1539.     /* [out] */ LONG *lpARWidth,
  1540.     /* [out] */ LONG *lpARHeight);
  1541. void __RPC_STUB IVMRWindowlessControl_GetNativeVideoSize_Stub(
  1542.     IRpcStubBuffer *This,
  1543.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1544.     PRPC_MESSAGE _pRpcMessage,
  1545.     DWORD *_pdwStubPhase);
  1546. HRESULT STDMETHODCALLTYPE IVMRWindowlessControl_GetMinIdealVideoSize_Proxy( 
  1547.     IVMRWindowlessControl * This,
  1548.     /* [out] */ LONG *lpWidth,
  1549.     /* [out] */ LONG *lpHeight);
  1550. void __RPC_STUB IVMRWindowlessControl_GetMinIdealVideoSize_Stub(
  1551.     IRpcStubBuffer *This,
  1552.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1553.     PRPC_MESSAGE _pRpcMessage,
  1554.     DWORD *_pdwStubPhase);
  1555. HRESULT STDMETHODCALLTYPE IVMRWindowlessControl_GetMaxIdealVideoSize_Proxy( 
  1556.     IVMRWindowlessControl * This,
  1557.     /* [out] */ LONG *lpWidth,
  1558.     /* [out] */ LONG *lpHeight);
  1559. void __RPC_STUB IVMRWindowlessControl_GetMaxIdealVideoSize_Stub(
  1560.     IRpcStubBuffer *This,
  1561.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1562.     PRPC_MESSAGE _pRpcMessage,
  1563.     DWORD *_pdwStubPhase);
  1564. HRESULT STDMETHODCALLTYPE IVMRWindowlessControl_SetVideoPosition_Proxy( 
  1565.     IVMRWindowlessControl * This,
  1566.     /* [in] */ const LPRECT lpSRCRect,
  1567.     /* [in] */ const LPRECT lpDSTRect);
  1568. void __RPC_STUB IVMRWindowlessControl_SetVideoPosition_Stub(
  1569.     IRpcStubBuffer *This,
  1570.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1571.     PRPC_MESSAGE _pRpcMessage,
  1572.     DWORD *_pdwStubPhase);
  1573. HRESULT STDMETHODCALLTYPE IVMRWindowlessControl_GetVideoPosition_Proxy( 
  1574.     IVMRWindowlessControl * This,
  1575.     /* [out] */ LPRECT lpSRCRect,
  1576.     /* [out] */ LPRECT lpDSTRect);
  1577. void __RPC_STUB IVMRWindowlessControl_GetVideoPosition_Stub(
  1578.     IRpcStubBuffer *This,
  1579.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1580.     PRPC_MESSAGE _pRpcMessage,
  1581.     DWORD *_pdwStubPhase);
  1582. HRESULT STDMETHODCALLTYPE IVMRWindowlessControl_GetAspectRatioMode_Proxy( 
  1583.     IVMRWindowlessControl * This,
  1584.     /* [out] */ DWORD *lpAspectRatioMode);
  1585. void __RPC_STUB IVMRWindowlessControl_GetAspectRatioMode_Stub(
  1586.     IRpcStubBuffer *This,
  1587.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1588.     PRPC_MESSAGE _pRpcMessage,
  1589.     DWORD *_pdwStubPhase);
  1590. HRESULT STDMETHODCALLTYPE IVMRWindowlessControl_SetAspectRatioMode_Proxy( 
  1591.     IVMRWindowlessControl * This,
  1592.     /* [in] */ DWORD AspectRatioMode);
  1593. void __RPC_STUB IVMRWindowlessControl_SetAspectRatioMode_Stub(
  1594.     IRpcStubBuffer *This,
  1595.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1596.     PRPC_MESSAGE _pRpcMessage,
  1597.     DWORD *_pdwStubPhase);
  1598. HRESULT STDMETHODCALLTYPE IVMRWindowlessControl_SetVideoClippingWindow_Proxy( 
  1599.     IVMRWindowlessControl * This,
  1600.     /* [in] */ HWND hwnd);
  1601. void __RPC_STUB IVMRWindowlessControl_SetVideoClippingWindow_Stub(
  1602.     IRpcStubBuffer *This,
  1603.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1604.     PRPC_MESSAGE _pRpcMessage,
  1605.     DWORD *_pdwStubPhase);
  1606. HRESULT STDMETHODCALLTYPE IVMRWindowlessControl_RepaintVideo_Proxy( 
  1607.     IVMRWindowlessControl * This,
  1608.     /* [in] */ HWND hwnd,
  1609.     /* [in] */ HDC hdc);
  1610. void __RPC_STUB IVMRWindowlessControl_RepaintVideo_Stub(
  1611.     IRpcStubBuffer *This,
  1612.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1613.     PRPC_MESSAGE _pRpcMessage,
  1614.     DWORD *_pdwStubPhase);
  1615. HRESULT STDMETHODCALLTYPE IVMRWindowlessControl_DisplayModeChanged_Proxy( 
  1616.     IVMRWindowlessControl * This);
  1617. void __RPC_STUB IVMRWindowlessControl_DisplayModeChanged_Stub(
  1618.     IRpcStubBuffer *This,
  1619.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1620.     PRPC_MESSAGE _pRpcMessage,
  1621.     DWORD *_pdwStubPhase);
  1622. HRESULT STDMETHODCALLTYPE IVMRWindowlessControl_GetCurrentImage_Proxy( 
  1623.     IVMRWindowlessControl * This,
  1624.     /* [out] */ BYTE **lpDib);
  1625. void __RPC_STUB IVMRWindowlessControl_GetCurrentImage_Stub(
  1626.     IRpcStubBuffer *This,
  1627.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1628.     PRPC_MESSAGE _pRpcMessage,
  1629.     DWORD *_pdwStubPhase);
  1630. HRESULT STDMETHODCALLTYPE IVMRWindowlessControl_SetBorderColor_Proxy( 
  1631.     IVMRWindowlessControl * This,
  1632.     /* [in] */ COLORREF Clr);
  1633. void __RPC_STUB IVMRWindowlessControl_SetBorderColor_Stub(
  1634.     IRpcStubBuffer *This,
  1635.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1636.     PRPC_MESSAGE _pRpcMessage,
  1637.     DWORD *_pdwStubPhase);
  1638. HRESULT STDMETHODCALLTYPE IVMRWindowlessControl_GetBorderColor_Proxy( 
  1639.     IVMRWindowlessControl * This,
  1640.     /* [out] */ COLORREF *lpClr);
  1641. void __RPC_STUB IVMRWindowlessControl_GetBorderColor_Stub(
  1642.     IRpcStubBuffer *This,
  1643.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1644.     PRPC_MESSAGE _pRpcMessage,
  1645.     DWORD *_pdwStubPhase);
  1646. HRESULT STDMETHODCALLTYPE IVMRWindowlessControl_SetColorKey_Proxy( 
  1647.     IVMRWindowlessControl * This,
  1648.     /* [in] */ COLORREF Clr);
  1649. void __RPC_STUB IVMRWindowlessControl_SetColorKey_Stub(
  1650.     IRpcStubBuffer *This,
  1651.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1652.     PRPC_MESSAGE _pRpcMessage,
  1653.     DWORD *_pdwStubPhase);
  1654. HRESULT STDMETHODCALLTYPE IVMRWindowlessControl_GetColorKey_Proxy( 
  1655.     IVMRWindowlessControl * This,
  1656.     /* [out] */ COLORREF *lpClr);
  1657. void __RPC_STUB IVMRWindowlessControl_GetColorKey_Stub(
  1658.     IRpcStubBuffer *This,
  1659.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1660.     PRPC_MESSAGE _pRpcMessage,
  1661.     DWORD *_pdwStubPhase);
  1662. #endif  /* __IVMRWindowlessControl_INTERFACE_DEFINED__ */
  1663. /* interface __MIDL_itf_strmif_0384 */
  1664. /* [local] */ 
  1665. typedef /* [public] */ 
  1666. enum __MIDL___MIDL_itf_strmif_0384_0001
  1667.     { MixerPref_NoDecimation = 0x1,
  1668. MixerPref_DecimateOutput = 0x2,
  1669. MixerPref_DecimateMask = 0xf,
  1670. MixerPref_BiLinearFiltering = 0x10,
  1671. MixerPref_PointFiltering = 0x20,
  1672. MixerPref_FilteringMask = 0xf0,
  1673. MixerPref_RenderTargetRGB = 0x100,
  1674. MixerPref_RenderTargetYUV420 = 0x200,
  1675. MixerPref_RenderTargetYUV422 = 0x400,
  1676. MixerPref_RenderTargetYUV444 = 0x800,
  1677. MixerPref_RenderTargetMask = 0xf00
  1678.     }  VMRMixerPrefs;
  1679. typedef struct _NORMALIZEDRECT
  1680.     {
  1681.     float left;
  1682.     float top;
  1683.     float right;
  1684.     float bottom;
  1685.     }  NORMALIZEDRECT;
  1686. typedef struct _NORMALIZEDRECT *PNORMALIZEDRECT;
  1687. extern RPC_IF_HANDLE __MIDL_itf_strmif_0384_v0_0_c_ifspec;
  1688. extern RPC_IF_HANDLE __MIDL_itf_strmif_0384_v0_0_s_ifspec;
  1689. #ifndef __IVMRMixerControl_INTERFACE_DEFINED__
  1690. #define __IVMRMixerControl_INTERFACE_DEFINED__
  1691. /* interface IVMRMixerControl */
  1692. /* [unique][helpstring][uuid][local][object][local] */ 
  1693. EXTERN_C const IID IID_IVMRMixerControl;
  1694. #if defined(__cplusplus) && !defined(CINTERFACE)
  1695.     
  1696.     MIDL_INTERFACE("1c1a17b0-bed0-415d-974b-dc6696131599")
  1697.     IVMRMixerControl : public IUnknown
  1698.     {
  1699.     public:
  1700.         virtual HRESULT STDMETHODCALLTYPE SetAlpha( 
  1701.             /* [in] */ DWORD dwStreamID,
  1702.             /* [in] */ float Alpha) = 0;
  1703.         
  1704.         virtual HRESULT STDMETHODCALLTYPE GetAlpha( 
  1705.             /* [in] */ DWORD dwStreamID,
  1706.             /* [out] */ float *pAlpha) = 0;
  1707.         
  1708.         virtual HRESULT STDMETHODCALLTYPE SetZOrder( 
  1709.             /* [in] */ DWORD dwStreamID,
  1710.             /* [in] */ DWORD dwZ) = 0;
  1711.         
  1712.         virtual HRESULT STDMETHODCALLTYPE GetZOrder( 
  1713.             /* [in] */ DWORD dwStreamID,
  1714.             /* [out] */ DWORD *pZ) = 0;
  1715.         
  1716.         virtual HRESULT STDMETHODCALLTYPE SetOutputRect( 
  1717.             /* [in] */ DWORD dwStreamID,
  1718.             /* [in] */ const NORMALIZEDRECT *pRect) = 0;
  1719.         
  1720.         virtual HRESULT STDMETHODCALLTYPE GetOutputRect( 
  1721.             /* [in] */ DWORD dwStreamID,
  1722.             /* [out] */ NORMALIZEDRECT *pRect) = 0;
  1723.         
  1724.         virtual HRESULT STDMETHODCALLTYPE SetBackgroundClr( 
  1725.             /* [in] */ COLORREF ClrBkg) = 0;
  1726.         
  1727.         virtual HRESULT STDMETHODCALLTYPE GetBackgroundClr( 
  1728.             /* [in] */ COLORREF *lpClrBkg) = 0;
  1729.         
  1730.         virtual HRESULT STDMETHODCALLTYPE SetMixingPrefs( 
  1731.             /* [in] */ DWORD dwMixerPrefs) = 0;
  1732.         
  1733.         virtual HRESULT STDMETHODCALLTYPE GetMixingPrefs( 
  1734.             /* [out] */ DWORD *pdwMixerPrefs) = 0;
  1735.         
  1736.     };
  1737.     
  1738. #else  /* C style interface */
  1739.     typedef struct IVMRMixerControlVtbl
  1740.     {
  1741.         BEGIN_INTERFACE
  1742.         
  1743.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1744.             IVMRMixerControl * This,
  1745.             /* [in] */ REFIID riid,
  1746.             /* [iid_is][out] */ void **ppvObject);
  1747.         
  1748.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1749.             IVMRMixerControl * This);
  1750.         
  1751.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1752.             IVMRMixerControl * This);
  1753.         
  1754.         HRESULT ( STDMETHODCALLTYPE *SetAlpha )( 
  1755.             IVMRMixerControl * This,
  1756.             /* [in] */ DWORD dwStreamID,
  1757.             /* [in] */ float Alpha);
  1758.         
  1759.         HRESULT ( STDMETHODCALLTYPE *GetAlpha )( 
  1760.             IVMRMixerControl * This,
  1761.             /* [in] */ DWORD dwStreamID,
  1762.             /* [out] */ float *pAlpha);
  1763.         
  1764.         HRESULT ( STDMETHODCALLTYPE *SetZOrder )( 
  1765.             IVMRMixerControl * This,
  1766.             /* [in] */ DWORD dwStreamID,
  1767.             /* [in] */ DWORD dwZ);
  1768.         
  1769.         HRESULT ( STDMETHODCALLTYPE *GetZOrder )( 
  1770.             IVMRMixerControl * This,
  1771.             /* [in] */ DWORD dwStreamID,
  1772.             /* [out] */ DWORD *pZ);
  1773.         
  1774.         HRESULT ( STDMETHODCALLTYPE *SetOutputRect )( 
  1775.             IVMRMixerControl * This,
  1776.             /* [in] */ DWORD dwStreamID,
  1777.             /* [in] */ const NORMALIZEDRECT *pRect);
  1778.         
  1779.         HRESULT ( STDMETHODCALLTYPE *GetOutputRect )( 
  1780.             IVMRMixerControl * This,
  1781.             /* [in] */ DWORD dwStreamID,
  1782.             /* [out] */ NORMALIZEDRECT *pRect);
  1783.         
  1784.         HRESULT ( STDMETHODCALLTYPE *SetBackgroundClr )( 
  1785.             IVMRMixerControl * This,
  1786.             /* [in] */ COLORREF ClrBkg);
  1787.         
  1788.         HRESULT ( STDMETHODCALLTYPE *GetBackgroundClr )( 
  1789.             IVMRMixerControl * This,
  1790.             /* [in] */ COLORREF *lpClrBkg);
  1791.         
  1792.         HRESULT ( STDMETHODCALLTYPE *SetMixingPrefs )( 
  1793.             IVMRMixerControl * This,
  1794.             /* [in] */ DWORD dwMixerPrefs);
  1795.         
  1796.         HRESULT ( STDMETHODCALLTYPE *GetMixingPrefs )( 
  1797.             IVMRMixerControl * This,
  1798.             /* [out] */ DWORD *pdwMixerPrefs);
  1799.         
  1800.         END_INTERFACE
  1801.     } IVMRMixerControlVtbl;
  1802.     interface IVMRMixerControl
  1803.     {
  1804.         CONST_VTBL struct IVMRMixerControlVtbl *lpVtbl;
  1805.     };
  1806.     
  1807. #ifdef COBJMACROS
  1808. #define IVMRMixerControl_QueryInterface(This,riid,ppvObject)
  1809.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1810. #define IVMRMixerControl_AddRef(This)
  1811.     (This)->lpVtbl -> AddRef(This)
  1812. #define IVMRMixerControl_Release(This)
  1813.     (This)->lpVtbl -> Release(This)
  1814. #define IVMRMixerControl_SetAlpha(This,dwStreamID,Alpha)
  1815.     (This)->lpVtbl -> SetAlpha(This,dwStreamID,Alpha)
  1816. #define IVMRMixerControl_GetAlpha(This,dwStreamID,pAlpha)
  1817.     (This)->lpVtbl -> GetAlpha(This,dwStreamID,pAlpha)
  1818. #define IVMRMixerControl_SetZOrder(This,dwStreamID,dwZ)
  1819.     (This)->lpVtbl -> SetZOrder(This,dwStreamID,dwZ)
  1820. #define IVMRMixerControl_GetZOrder(This,dwStreamID,pZ)
  1821.     (This)->lpVtbl -> GetZOrder(This,dwStreamID,pZ)
  1822. #define IVMRMixerControl_SetOutputRect(This,dwStreamID,pRect)
  1823.     (This)->lpVtbl -> SetOutputRect(This,dwStreamID,pRect)
  1824. #define IVMRMixerControl_GetOutputRect(This,dwStreamID,pRect)
  1825.     (This)->lpVtbl -> GetOutputRect(This,dwStreamID,pRect)
  1826. #define IVMRMixerControl_SetBackgroundClr(This,ClrBkg)
  1827.     (This)->lpVtbl -> SetBackgroundClr(This,ClrBkg)
  1828. #define IVMRMixerControl_GetBackgroundClr(This,lpClrBkg)
  1829.     (This)->lpVtbl -> GetBackgroundClr(This,lpClrBkg)
  1830. #define IVMRMixerControl_SetMixingPrefs(This,dwMixerPrefs)
  1831.     (This)->lpVtbl -> SetMixingPrefs(This,dwMixerPrefs)
  1832. #define IVMRMixerControl_GetMixingPrefs(This,pdwMixerPrefs)
  1833.     (This)->lpVtbl -> GetMixingPrefs(This,pdwMixerPrefs)
  1834. #endif /* COBJMACROS */
  1835. #endif  /* C style interface */
  1836. HRESULT STDMETHODCALLTYPE IVMRMixerControl_SetAlpha_Proxy( 
  1837.     IVMRMixerControl * This,
  1838.     /* [in] */ DWORD dwStreamID,
  1839.     /* [in] */ float Alpha);
  1840. void __RPC_STUB IVMRMixerControl_SetAlpha_Stub(
  1841.     IRpcStubBuffer *This,
  1842.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1843.     PRPC_MESSAGE _pRpcMessage,
  1844.     DWORD *_pdwStubPhase);
  1845. HRESULT STDMETHODCALLTYPE IVMRMixerControl_GetAlpha_Proxy( 
  1846.     IVMRMixerControl * This,
  1847.     /* [in] */ DWORD dwStreamID,
  1848.     /* [out] */ float *pAlpha);
  1849. void __RPC_STUB IVMRMixerControl_GetAlpha_Stub(
  1850.     IRpcStubBuffer *This,
  1851.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1852.     PRPC_MESSAGE _pRpcMessage,
  1853.     DWORD *_pdwStubPhase);
  1854. HRESULT STDMETHODCALLTYPE IVMRMixerControl_SetZOrder_Proxy( 
  1855.     IVMRMixerControl * This,
  1856.     /* [in] */ DWORD dwStreamID,
  1857.     /* [in] */ DWORD dwZ);
  1858. void __RPC_STUB IVMRMixerControl_SetZOrder_Stub(
  1859.     IRpcStubBuffer *This,
  1860.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1861.     PRPC_MESSAGE _pRpcMessage,
  1862.     DWORD *_pdwStubPhase);
  1863. HRESULT STDMETHODCALLTYPE IVMRMixerControl_GetZOrder_Proxy( 
  1864.     IVMRMixerControl * This,
  1865.     /* [in] */ DWORD dwStreamID,
  1866.     /* [out] */ DWORD *pZ);
  1867. void __RPC_STUB IVMRMixerControl_GetZOrder_Stub(
  1868.     IRpcStubBuffer *This,
  1869.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1870.     PRPC_MESSAGE _pRpcMessage,
  1871.     DWORD *_pdwStubPhase);
  1872. HRESULT STDMETHODCALLTYPE IVMRMixerControl_SetOutputRect_Proxy( 
  1873.     IVMRMixerControl * This,
  1874.     /* [in] */ DWORD dwStreamID,
  1875.     /* [in] */ const NORMALIZEDRECT *pRect);
  1876. void __RPC_STUB IVMRMixerControl_SetOutputRect_Stub(
  1877.     IRpcStubBuffer *This,
  1878.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1879.     PRPC_MESSAGE _pRpcMessage,
  1880.     DWORD *_pdwStubPhase);
  1881. HRESULT STDMETHODCALLTYPE IVMRMixerControl_GetOutputRect_Proxy( 
  1882.     IVMRMixerControl * This,
  1883.     /* [in] */ DWORD dwStreamID,
  1884.     /* [out] */ NORMALIZEDRECT *pRect);
  1885. void __RPC_STUB IVMRMixerControl_GetOutputRect_Stub(
  1886.     IRpcStubBuffer *This,
  1887.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1888.     PRPC_MESSAGE _pRpcMessage,
  1889.     DWORD *_pdwStubPhase);
  1890. HRESULT STDMETHODCALLTYPE IVMRMixerControl_SetBackgroundClr_Proxy( 
  1891.     IVMRMixerControl * This,
  1892.     /* [in] */ COLORREF ClrBkg);
  1893. void __RPC_STUB IVMRMixerControl_SetBackgroundClr_Stub(
  1894.     IRpcStubBuffer *This,
  1895.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1896.     PRPC_MESSAGE _pRpcMessage,
  1897.     DWORD *_pdwStubPhase);
  1898. HRESULT STDMETHODCALLTYPE IVMRMixerControl_GetBackgroundClr_Proxy( 
  1899.     IVMRMixerControl * This,
  1900.     /* [in] */ COLORREF *lpClrBkg);
  1901. void __RPC_STUB IVMRMixerControl_GetBackgroundClr_Stub(
  1902.     IRpcStubBuffer *This,
  1903.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1904.     PRPC_MESSAGE _pRpcMessage,
  1905.     DWORD *_pdwStubPhase);
  1906. HRESULT STDMETHODCALLTYPE IVMRMixerControl_SetMixingPrefs_Proxy( 
  1907.     IVMRMixerControl * This,
  1908.     /* [in] */ DWORD dwMixerPrefs);
  1909. void __RPC_STUB IVMRMixerControl_SetMixingPrefs_Stub(
  1910.     IRpcStubBuffer *This,
  1911.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1912.     PRPC_MESSAGE _pRpcMessage,
  1913.     DWORD *_pdwStubPhase);
  1914. HRESULT STDMETHODCALLTYPE IVMRMixerControl_GetMixingPrefs_Proxy( 
  1915.     IVMRMixerControl * This,
  1916.     /* [out] */ DWORD *pdwMixerPrefs);
  1917. void __RPC_STUB IVMRMixerControl_GetMixingPrefs_Stub(
  1918.     IRpcStubBuffer *This,
  1919.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1920.     PRPC_MESSAGE _pRpcMessage,
  1921.     DWORD *_pdwStubPhase);
  1922. #endif  /* __IVMRMixerControl_INTERFACE_DEFINED__ */
  1923. /* interface __MIDL_itf_strmif_0385 */
  1924. /* [local] */ 
  1925. typedef struct tagVMRGUID
  1926.     {
  1927.     GUID *pGUID;
  1928.     GUID GUID;
  1929.     }  VMRGUID;
  1930. typedef struct tagVMRMONITORINFO
  1931.     {
  1932.     VMRGUID guid;
  1933.     RECT rcMonitor;
  1934.     HMONITOR hMon;
  1935.     DWORD dwFlags;
  1936.     wchar_t szDevice[ 32 ];
  1937.     wchar_t szDescription[ 256 ];
  1938.     }  VMRMONITORINFO;
  1939. extern RPC_IF_HANDLE __MIDL_itf_strmif_0385_v0_0_c_ifspec;
  1940. extern RPC_IF_HANDLE __MIDL_itf_strmif_0385_v0_0_s_ifspec;
  1941. #ifndef __IVMRMonitorConfig_INTERFACE_DEFINED__
  1942. #define __IVMRMonitorConfig_INTERFACE_DEFINED__
  1943. /* interface IVMRMonitorConfig */
  1944. /* [unique][helpstring][uuid][local][object] */ 
  1945. EXTERN_C const IID IID_IVMRMonitorConfig;
  1946. #if defined(__cplusplus) && !defined(CINTERFACE)
  1947.     
  1948.     MIDL_INTERFACE("9cf0b1b6-fbaa-4b7f-88cf-cf1f130a0dce")
  1949.     IVMRMonitorConfig : public IUnknown
  1950.     {
  1951.     public:
  1952.         virtual HRESULT STDMETHODCALLTYPE SetMonitor( 
  1953.             /* [in] */ const VMRGUID *pGUID) = 0;
  1954.         
  1955.         virtual HRESULT STDMETHODCALLTYPE GetMonitor( 
  1956.             /* [out] */ VMRGUID *pGUID) = 0;
  1957.         
  1958.         virtual HRESULT STDMETHODCALLTYPE SetDefaultMonitor( 
  1959.             /* [in] */ const VMRGUID *pGUID) = 0;
  1960.         
  1961.         virtual HRESULT STDMETHODCALLTYPE GetDefaultMonitor( 
  1962.             /* [out] */ VMRGUID *pGUID) = 0;
  1963.         
  1964.         virtual HRESULT STDMETHODCALLTYPE GetAvailableMonitors( 
  1965.             /* [size_is][out] */ VMRMONITORINFO *pInfo,
  1966.             /* [in] */ DWORD dwMaxInfoArraySize,
  1967.             /* [out] */ DWORD *pdwNumDevices) = 0;
  1968.         
  1969.     };
  1970.     
  1971. #else  /* C style interface */
  1972.     typedef struct IVMRMonitorConfigVtbl
  1973.     {
  1974.         BEGIN_INTERFACE
  1975.         
  1976.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1977.             IVMRMonitorConfig * This,
  1978.             /* [in] */ REFIID riid,
  1979.             /* [iid_is][out] */ void **ppvObject);
  1980.         
  1981.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1982.             IVMRMonitorConfig * This);
  1983.         
  1984.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1985.             IVMRMonitorConfig * This);
  1986.         
  1987.         HRESULT ( STDMETHODCALLTYPE *SetMonitor )( 
  1988.             IVMRMonitorConfig * This,
  1989.             /* [in] */ const VMRGUID *pGUID);
  1990.         
  1991.         HRESULT ( STDMETHODCALLTYPE *GetMonitor )( 
  1992.             IVMRMonitorConfig * This,
  1993.             /* [out] */ VMRGUID *pGUID);
  1994.         
  1995.         HRESULT ( STDMETHODCALLTYPE *SetDefaultMonitor )( 
  1996.             IVMRMonitorConfig * This,
  1997.             /* [in] */ const VMRGUID *pGUID);
  1998.         
  1999.         HRESULT ( STDMETHODCALLTYPE *GetDefaultMonitor )( 
  2000.             IVMRMonitorConfig * This,
  2001.             /* [out] */ VMRGUID *pGUID);
  2002.         
  2003.         HRESULT ( STDMETHODCALLTYPE *GetAvailableMonitors )( 
  2004.             IVMRMonitorConfig * This,
  2005.             /* [size_is][out] */ VMRMONITORINFO *pInfo,
  2006.             /* [in] */ DWORD dwMaxInfoArraySize,
  2007.             /* [out] */ DWORD *pdwNumDevices);
  2008.         
  2009.         END_INTERFACE
  2010.     } IVMRMonitorConfigVtbl;
  2011.     interface IVMRMonitorConfig
  2012.     {
  2013.         CONST_VTBL struct IVMRMonitorConfigVtbl *lpVtbl;
  2014.     };
  2015.     
  2016. #ifdef COBJMACROS
  2017. #define IVMRMonitorConfig_QueryInterface(This,riid,ppvObject)
  2018.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2019. #define IVMRMonitorConfig_AddRef(This)
  2020.     (This)->lpVtbl -> AddRef(This)
  2021. #define IVMRMonitorConfig_Release(This)
  2022.     (This)->lpVtbl -> Release(This)
  2023. #define IVMRMonitorConfig_SetMonitor(This,pGUID)
  2024.     (This)->lpVtbl -> SetMonitor(This,pGUID)
  2025. #define IVMRMonitorConfig_GetMonitor(This,pGUID)
  2026.     (This)->lpVtbl -> GetMonitor(This,pGUID)
  2027. #define IVMRMonitorConfig_SetDefaultMonitor(This,pGUID)
  2028.     (This)->lpVtbl -> SetDefaultMonitor(This,pGUID)
  2029. #define IVMRMonitorConfig_GetDefaultMonitor(This,pGUID)
  2030.     (This)->lpVtbl -> GetDefaultMonitor(This,pGUID)
  2031. #define IVMRMonitorConfig_GetAvailableMonitors(This,pInfo,dwMaxInfoArraySize,pdwNumDevices)
  2032.     (This)->lpVtbl -> GetAvailableMonitors(This,pInfo,dwMaxInfoArraySize,pdwNumDevices)
  2033. #endif /* COBJMACROS */
  2034. #endif  /* C style interface */
  2035. HRESULT STDMETHODCALLTYPE IVMRMonitorConfig_SetMonitor_Proxy( 
  2036.     IVMRMonitorConfig * This,
  2037.     /* [in] */ const VMRGUID *pGUID);
  2038. void __RPC_STUB IVMRMonitorConfig_SetMonitor_Stub(
  2039.     IRpcStubBuffer *This,
  2040.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2041.     PRPC_MESSAGE _pRpcMessage,
  2042.     DWORD *_pdwStubPhase);
  2043. HRESULT STDMETHODCALLTYPE IVMRMonitorConfig_GetMonitor_Proxy( 
  2044.     IVMRMonitorConfig * This,
  2045.     /* [out] */ VMRGUID *pGUID);
  2046. void __RPC_STUB IVMRMonitorConfig_GetMonitor_Stub(
  2047.     IRpcStubBuffer *This,
  2048.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2049.     PRPC_MESSAGE _pRpcMessage,
  2050.     DWORD *_pdwStubPhase);
  2051. HRESULT STDMETHODCALLTYPE IVMRMonitorConfig_SetDefaultMonitor_Proxy( 
  2052.     IVMRMonitorConfig * This,
  2053.     /* [in] */ const VMRGUID *pGUID);
  2054. void __RPC_STUB IVMRMonitorConfig_SetDefaultMonitor_Stub(
  2055.     IRpcStubBuffer *This,
  2056.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2057.     PRPC_MESSAGE _pRpcMessage,
  2058.     DWORD *_pdwStubPhase);
  2059. HRESULT STDMETHODCALLTYPE IVMRMonitorConfig_GetDefaultMonitor_Proxy( 
  2060.     IVMRMonitorConfig * This,
  2061.     /* [out] */ VMRGUID *pGUID);
  2062. void __RPC_STUB IVMRMonitorConfig_GetDefaultMonitor_Stub(
  2063.     IRpcStubBuffer *This,
  2064.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2065.     PRPC_MESSAGE _pRpcMessage,
  2066.     DWORD *_pdwStubPhase);
  2067. HRESULT STDMETHODCALLTYPE IVMRMonitorConfig_GetAvailableMonitors_Proxy( 
  2068.     IVMRMonitorConfig * This,
  2069.     /* [size_is][out] */ VMRMONITORINFO *pInfo,
  2070.     /* [in] */ DWORD dwMaxInfoArraySize,
  2071.     /* [out] */ DWORD *pdwNumDevices);
  2072. void __RPC_STUB IVMRMonitorConfig_GetAvailableMonitors_Stub(
  2073.     IRpcStubBuffer *This,
  2074.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2075.     PRPC_MESSAGE _pRpcMessage,
  2076.     DWORD *_pdwStubPhase);
  2077. #endif  /* __IVMRMonitorConfig_INTERFACE_DEFINED__ */
  2078. /* interface __MIDL_itf_strmif_0386 */
  2079. /* [local] */ 
  2080. typedef /* [public] */ 
  2081. enum __MIDL___MIDL_itf_strmif_0386_0001
  2082.     { RenderPrefs_ForceOffscreen = 0x1,
  2083. RenderPrefs_ForceOverlays = 0x2,
  2084. RenderPrefs_AllowOverlays = 0,
  2085. RenderPrefs_AllowOffscreen = 0,
  2086. RenderPrefs_DoNotRenderColorKeyAndBorder = 0x8,
  2087. RenderPrefs_RestrictToInitialMonitor = 0x10,
  2088. RenderPrefs_PreferAGPMemWhenMixing = 0x20,
  2089. RenderPrefs_Mask = 0x3f
  2090.     }  VMRRenderPrefs;
  2091. typedef /* [public] */ 
  2092. enum __MIDL___MIDL_itf_strmif_0386_0002
  2093.     { VMRMode_Windowed = 0x1,
  2094. VMRMode_Windowless = 0x2,
  2095. VMRMode_Renderless = 0x4,
  2096. VMRMode_Mask = 0x7
  2097.     }  VMRMode;
  2098. enum __MIDL___MIDL_itf_strmif_0386_0003
  2099.     { MAX_NUMBER_OF_STREAMS = 16
  2100.     } ;
  2101. extern RPC_IF_HANDLE __MIDL_itf_strmif_0386_v0_0_c_ifspec;
  2102. extern RPC_IF_HANDLE __MIDL_itf_strmif_0386_v0_0_s_ifspec;
  2103. #ifndef __IVMRFilterConfig_INTERFACE_DEFINED__
  2104. #define __IVMRFilterConfig_INTERFACE_DEFINED__
  2105. /* interface IVMRFilterConfig */
  2106. /* [unique][helpstring][uuid][local][object] */ 
  2107. EXTERN_C const IID IID_IVMRFilterConfig;
  2108. #if defined(__cplusplus) && !defined(CINTERFACE)
  2109.     
  2110.     MIDL_INTERFACE("9e5530c5-7034-48b4-bb46-0b8a6efc8e36")
  2111.     IVMRFilterConfig : public IUnknown
  2112.     {
  2113.     public:
  2114.         virtual HRESULT STDMETHODCALLTYPE SetImageCompositor( 
  2115.             /* [in] */ IVMRImageCompositor *lpVMRImgCompositor) = 0;
  2116.         
  2117.         virtual HRESULT STDMETHODCALLTYPE SetNumberOfStreams( 
  2118.             /* [in] */ DWORD dwMaxStreams) = 0;
  2119.         
  2120.         virtual HRESULT STDMETHODCALLTYPE GetNumberOfStreams( 
  2121.             /* [out] */ DWORD *pdwMaxStreams) = 0;
  2122.         
  2123.         virtual HRESULT STDMETHODCALLTYPE SetRenderingPrefs( 
  2124.             /* [in] */ DWORD dwRenderFlags) = 0;
  2125.         
  2126.         virtual HRESULT STDMETHODCALLTYPE GetRenderingPrefs( 
  2127.             /* [out] */ DWORD *pdwRenderFlags) = 0;
  2128.         
  2129.         virtual HRESULT STDMETHODCALLTYPE SetRenderingMode( 
  2130.             /* [in] */ DWORD Mode) = 0;
  2131.         
  2132.         virtual HRESULT STDMETHODCALLTYPE GetRenderingMode( 
  2133.             /* [out] */ DWORD *pMode) = 0;
  2134.         
  2135.     };
  2136.     
  2137. #else  /* C style interface */
  2138.     typedef struct IVMRFilterConfigVtbl
  2139.     {
  2140.         BEGIN_INTERFACE
  2141.         
  2142.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2143.             IVMRFilterConfig * This,
  2144.             /* [in] */ REFIID riid,
  2145.             /* [iid_is][out] */ void **ppvObject);
  2146.         
  2147.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2148.             IVMRFilterConfig * This);
  2149.         
  2150.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2151.             IVMRFilterConfig * This);
  2152.         
  2153.         HRESULT ( STDMETHODCALLTYPE *SetImageCompositor )( 
  2154.             IVMRFilterConfig * This,
  2155.             /* [in] */ IVMRImageCompositor *lpVMRImgCompositor);
  2156.         
  2157.         HRESULT ( STDMETHODCALLTYPE *SetNumberOfStreams )( 
  2158.             IVMRFilterConfig * This,
  2159.             /* [in] */ DWORD dwMaxStreams);
  2160.         
  2161.         HRESULT ( STDMETHODCALLTYPE *GetNumberOfStreams )( 
  2162.             IVMRFilterConfig * This,
  2163.             /* [out] */ DWORD *pdwMaxStreams);
  2164.         
  2165.         HRESULT ( STDMETHODCALLTYPE *SetRenderingPrefs )( 
  2166.             IVMRFilterConfig * This,
  2167.             /* [in] */ DWORD dwRenderFlags);
  2168.         
  2169.         HRESULT ( STDMETHODCALLTYPE *GetRenderingPrefs )( 
  2170.             IVMRFilterConfig * This,
  2171.             /* [out] */ DWORD *pdwRenderFlags);
  2172.         
  2173.         HRESULT ( STDMETHODCALLTYPE *SetRenderingMode )( 
  2174.             IVMRFilterConfig * This,
  2175.             /* [in] */ DWORD Mode);
  2176.         
  2177.         HRESULT ( STDMETHODCALLTYPE *GetRenderingMode )( 
  2178.             IVMRFilterConfig * This,
  2179.             /* [out] */ DWORD *pMode);
  2180.         
  2181.         END_INTERFACE
  2182.     } IVMRFilterConfigVtbl;
  2183.     interface IVMRFilterConfig
  2184.     {
  2185.         CONST_VTBL struct IVMRFilterConfigVtbl *lpVtbl;
  2186.     };
  2187.     
  2188. #ifdef COBJMACROS
  2189. #define IVMRFilterConfig_QueryInterface(This,riid,ppvObject)
  2190.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2191. #define IVMRFilterConfig_AddRef(This)
  2192.     (This)->lpVtbl -> AddRef(This)
  2193. #define IVMRFilterConfig_Release(This)
  2194.     (This)->lpVtbl -> Release(This)
  2195. #define IVMRFilterConfig_SetImageCompositor(This,lpVMRImgCompositor)
  2196.     (This)->lpVtbl -> SetImageCompositor(This,lpVMRImgCompositor)
  2197. #define IVMRFilterConfig_SetNumberOfStreams(This,dwMaxStreams)
  2198.     (This)->lpVtbl -> SetNumberOfStreams(This,dwMaxStreams)
  2199. #define IVMRFilterConfig_GetNumberOfStreams(This,pdwMaxStreams)
  2200.     (This)->lpVtbl -> GetNumberOfStreams(This,pdwMaxStreams)
  2201. #define IVMRFilterConfig_SetRenderingPrefs(This,dwRenderFlags)
  2202.     (This)->lpVtbl -> SetRenderingPrefs(This,dwRenderFlags)
  2203. #define IVMRFilterConfig_GetRenderingPrefs(This,pdwRenderFlags)
  2204.     (This)->lpVtbl -> GetRenderingPrefs(This,pdwRenderFlags)
  2205. #define IVMRFilterConfig_SetRenderingMode(This,Mode)
  2206.     (This)->lpVtbl -> SetRenderingMode(This,Mode)
  2207. #define IVMRFilterConfig_GetRenderingMode(This,pMode)
  2208.     (This)->lpVtbl -> GetRenderingMode(This,pMode)
  2209. #endif /* COBJMACROS */
  2210. #endif  /* C style interface */
  2211. HRESULT STDMETHODCALLTYPE IVMRFilterConfig_SetImageCompositor_Proxy( 
  2212.     IVMRFilterConfig * This,
  2213.     /* [in] */ IVMRImageCompositor *lpVMRImgCompositor);
  2214. void __RPC_STUB IVMRFilterConfig_SetImageCompositor_Stub(
  2215.     IRpcStubBuffer *This,
  2216.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2217.     PRPC_MESSAGE _pRpcMessage,
  2218.     DWORD *_pdwStubPhase);
  2219. HRESULT STDMETHODCALLTYPE IVMRFilterConfig_SetNumberOfStreams_Proxy( 
  2220.     IVMRFilterConfig * This,
  2221.     /* [in] */ DWORD dwMaxStreams);
  2222. void __RPC_STUB IVMRFilterConfig_SetNumberOfStreams_Stub(
  2223.     IRpcStubBuffer *This,
  2224.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2225.     PRPC_MESSAGE _pRpcMessage,
  2226.     DWORD *_pdwStubPhase);
  2227. HRESULT STDMETHODCALLTYPE IVMRFilterConfig_GetNumberOfStreams_Proxy( 
  2228.     IVMRFilterConfig * This,
  2229.     /* [out] */ DWORD *pdwMaxStreams);
  2230. void __RPC_STUB IVMRFilterConfig_GetNumberOfStreams_Stub(
  2231.     IRpcStubBuffer *This,
  2232.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2233.     PRPC_MESSAGE _pRpcMessage,
  2234.     DWORD *_pdwStubPhase);
  2235. HRESULT STDMETHODCALLTYPE IVMRFilterConfig_SetRenderingPrefs_Proxy( 
  2236.     IVMRFilterConfig * This,
  2237.     /* [in] */ DWORD dwRenderFlags);
  2238. void __RPC_STUB IVMRFilterConfig_SetRenderingPrefs_Stub(
  2239.     IRpcStubBuffer *This,
  2240.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2241.     PRPC_MESSAGE _pRpcMessage,
  2242.     DWORD *_pdwStubPhase);
  2243. HRESULT STDMETHODCALLTYPE IVMRFilterConfig_GetRenderingPrefs_Proxy( 
  2244.     IVMRFilterConfig * This,
  2245.     /* [out] */ DWORD *pdwRenderFlags);
  2246. void __RPC_STUB IVMRFilterConfig_GetRenderingPrefs_Stub(
  2247.     IRpcStubBuffer *This,
  2248.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2249.     PRPC_MESSAGE _pRpcMessage,
  2250.     DWORD *_pdwStubPhase);
  2251. HRESULT STDMETHODCALLTYPE IVMRFilterConfig_SetRenderingMode_Proxy( 
  2252.     IVMRFilterConfig * This,
  2253.     /* [in] */ DWORD Mode);
  2254. void __RPC_STUB IVMRFilterConfig_SetRenderingMode_Stub(
  2255.     IRpcStubBuffer *This,
  2256.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2257.     PRPC_MESSAGE _pRpcMessage,
  2258.     DWORD *_pdwStubPhase);
  2259. HRESULT STDMETHODCALLTYPE IVMRFilterConfig_GetRenderingMode_Proxy( 
  2260.     IVMRFilterConfig * This,
  2261.     /* [out] */ DWORD *pMode);
  2262. void __RPC_STUB IVMRFilterConfig_GetRenderingMode_Stub(
  2263.     IRpcStubBuffer *This,
  2264.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2265.     PRPC_MESSAGE _pRpcMessage,
  2266.     DWORD *_pdwStubPhase);
  2267. #endif  /* __IVMRFilterConfig_INTERFACE_DEFINED__ */
  2268. /* interface __MIDL_itf_strmif_0387 */
  2269. /* [local] */ 
  2270. typedef struct _VMRALPHABITMAP
  2271.     {
  2272.     DWORD dwFlags;
  2273.     HDC hdc;
  2274.     LPDIRECTDRAWSURFACE7 pDDS;
  2275.     RECT rSrc;
  2276.     NORMALIZEDRECT rDest;
  2277.     FLOAT fAlpha;
  2278.     COLORREF clrSrcKey;
  2279.     }  VMRALPHABITMAP;
  2280. typedef struct _VMRALPHABITMAP *PVMRALPHABITMAP;
  2281. #define VMRBITMAP_DISABLE            0x00000001
  2282. #define VMRBITMAP_HDC                0x00000002
  2283. #define VMRBITMAP_ENTIREDDS          0x00000004
  2284. #define VMRBITMAP_SRCCOLORKEY        0x00000008
  2285. #define VMRBITMAP_SRCRECT            0x00000010
  2286. extern RPC_IF_HANDLE __MIDL_itf_strmif_0387_v0_0_c_ifspec;
  2287. extern RPC_IF_HANDLE __MIDL_itf_strmif_0387_v0_0_s_ifspec;
  2288. #ifndef __IVMRMixerBitmap_INTERFACE_DEFINED__
  2289. #define __IVMRMixerBitmap_INTERFACE_DEFINED__
  2290. /* interface IVMRMixerBitmap */
  2291. /* [unique][helpstring][uuid][local][object] */ 
  2292. EXTERN_C const IID IID_IVMRMixerBitmap;
  2293. #if defined(__cplusplus) && !defined(CINTERFACE)
  2294.     
  2295.     MIDL_INTERFACE("1E673275-0257-40aa-AF20-7C608D4A0428")
  2296.     IVMRMixerBitmap : public IUnknown
  2297.     {
  2298.     public:
  2299.         virtual HRESULT STDMETHODCALLTYPE SetAlphaBitmap( 
  2300.             /* [in] */ const VMRALPHABITMAP *pBmpParms) = 0;
  2301.         
  2302.         virtual HRESULT STDMETHODCALLTYPE UpdateAlphaBitmapParameters( 
  2303.             /* [in] */ PVMRALPHABITMAP pBmpParms) = 0;
  2304.         
  2305.         virtual HRESULT STDMETHODCALLTYPE GetAlphaBitmapParameters( 
  2306.             /* [out] */ PVMRALPHABITMAP pBmpParms) = 0;
  2307.         
  2308.     };
  2309.     
  2310. #else  /* C style interface */
  2311.     typedef struct IVMRMixerBitmapVtbl
  2312.     {
  2313.         BEGIN_INTERFACE
  2314.         
  2315.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2316.             IVMRMixerBitmap * This,
  2317.             /* [in] */ REFIID riid,
  2318.             /* [iid_is][out] */ void **ppvObject);
  2319.         
  2320.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2321.             IVMRMixerBitmap * This);
  2322.         
  2323.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2324.             IVMRMixerBitmap * This);
  2325.         
  2326.         HRESULT ( STDMETHODCALLTYPE *SetAlphaBitmap )( 
  2327.             IVMRMixerBitmap * This,
  2328.             /* [in] */ const VMRALPHABITMAP *pBmpParms);
  2329.         
  2330.         HRESULT ( STDMETHODCALLTYPE *UpdateAlphaBitmapParameters )( 
  2331.             IVMRMixerBitmap * This,
  2332.             /* [in] */ PVMRALPHABITMAP pBmpParms);
  2333.         
  2334.         HRESULT ( STDMETHODCALLTYPE *GetAlphaBitmapParameters )( 
  2335.             IVMRMixerBitmap * This,
  2336.             /* [out] */ PVMRALPHABITMAP pBmpParms);
  2337.         
  2338.         END_INTERFACE
  2339.     } IVMRMixerBitmapVtbl;
  2340.     interface IVMRMixerBitmap
  2341.     {
  2342.         CONST_VTBL struct IVMRMixerBitmapVtbl *lpVtbl;
  2343.     };
  2344.     
  2345. #ifdef COBJMACROS
  2346. #define IVMRMixerBitmap_QueryInterface(This,riid,ppvObject)
  2347.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2348. #define IVMRMixerBitmap_AddRef(This)
  2349.     (This)->lpVtbl -> AddRef(This)
  2350. #define IVMRMixerBitmap_Release(This)
  2351.     (This)->lpVtbl -> Release(This)
  2352. #define IVMRMixerBitmap_SetAlphaBitmap(This,pBmpParms)
  2353.     (This)->lpVtbl -> SetAlphaBitmap(This,pBmpParms)
  2354. #define IVMRMixerBitmap_UpdateAlphaBitmapParameters(This,pBmpParms)
  2355.     (This)->lpVtbl -> UpdateAlphaBitmapParameters(This,pBmpParms)
  2356. #define IVMRMixerBitmap_GetAlphaBitmapParameters(This,pBmpParms)
  2357.     (This)->lpVtbl -> GetAlphaBitmapParameters(This,pBmpParms)
  2358. #endif /* COBJMACROS */
  2359. #endif  /* C style interface */
  2360. HRESULT STDMETHODCALLTYPE IVMRMixerBitmap_SetAlphaBitmap_Proxy( 
  2361.     IVMRMixerBitmap * This,
  2362.     /* [in] */ const VMRALPHABITMAP *pBmpParms);
  2363. void __RPC_STUB IVMRMixerBitmap_SetAlphaBitmap_Stub(
  2364.     IRpcStubBuffer *This,
  2365.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2366.     PRPC_MESSAGE _pRpcMessage,
  2367.     DWORD *_pdwStubPhase);
  2368. HRESULT STDMETHODCALLTYPE IVMRMixerBitmap_UpdateAlphaBitmapParameters_Proxy( 
  2369.     IVMRMixerBitmap * This,
  2370.     /* [in] */ PVMRALPHABITMAP pBmpParms);
  2371. void __RPC_STUB IVMRMixerBitmap_UpdateAlphaBitmapParameters_Stub(
  2372.     IRpcStubBuffer *This,
  2373.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2374.     PRPC_MESSAGE _pRpcMessage,
  2375.     DWORD *_pdwStubPhase);
  2376. HRESULT STDMETHODCALLTYPE IVMRMixerBitmap_GetAlphaBitmapParameters_Proxy( 
  2377.     IVMRMixerBitmap * This,
  2378.     /* [out] */ PVMRALPHABITMAP pBmpParms);
  2379. void __RPC_STUB IVMRMixerBitmap_GetAlphaBitmapParameters_Stub(
  2380.     IRpcStubBuffer *This,
  2381.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2382.     PRPC_MESSAGE _pRpcMessage,
  2383.     DWORD *_pdwStubPhase);
  2384. #endif  /* __IVMRMixerBitmap_INTERFACE_DEFINED__ */
  2385. /* interface __MIDL_itf_strmif_0388 */
  2386. /* [local] */ 
  2387. typedef struct _VMRVIDEOSTREAMINFO
  2388.     {
  2389.     LPDIRECTDRAWSURFACE7 pddsVideoSurface;
  2390.     DWORD dwWidth;
  2391.     DWORD dwHeight;
  2392.     DWORD dwStrmID;
  2393.     FLOAT fAlpha;
  2394.     DDCOLORKEY ddClrKey;
  2395.     NORMALIZEDRECT rNormal;
  2396.     }  VMRVIDEOSTREAMINFO;
  2397. extern RPC_IF_HANDLE __MIDL_itf_strmif_0388_v0_0_c_ifspec;
  2398. extern RPC_IF_HANDLE __MIDL_itf_strmif_0388_v0_0_s_ifspec;
  2399. #ifndef __IVMRImageCompositor_INTERFACE_DEFINED__
  2400. #define __IVMRImageCompositor_INTERFACE_DEFINED__
  2401. /* interface IVMRImageCompositor */
  2402. /* [unique][helpstring][uuid][local][object][local] */ 
  2403. EXTERN_C const IID IID_IVMRImageCompositor;
  2404. #if defined(__cplusplus) && !defined(CINTERFACE)
  2405.     
  2406.     MIDL_INTERFACE("7a4fb5af-479f-4074-bb40-ce6722e43c82")
  2407.     IVMRImageCompositor : public IUnknown
  2408.     {
  2409.     public:
  2410.         virtual HRESULT STDMETHODCALLTYPE InitCompositionTarget( 
  2411.             /* [in] */ IUnknown *pD3DDevice,
  2412.             /* [in] */ LPDIRECTDRAWSURFACE7 pddsRenderTarget) = 0;
  2413.         
  2414.         virtual HRESULT STDMETHODCALLTYPE TermCompositionTarget( 
  2415.             /* [in] */ IUnknown *pD3DDevice,
  2416.             /* [in] */ LPDIRECTDRAWSURFACE7 pddsRenderTarget) = 0;
  2417.         
  2418.         virtual HRESULT STDMETHODCALLTYPE SetStreamMediaType( 
  2419.             /* [in] */ DWORD dwStrmID,
  2420.             /* [in] */ AM_MEDIA_TYPE *pmt,
  2421.             /* [in] */ BOOL fTexture) = 0;
  2422.         
  2423.         virtual HRESULT STDMETHODCALLTYPE CompositeImage( 
  2424.             /* [in] */ IUnknown *pD3DDevice,
  2425.             /* [in] */ LPDIRECTDRAWSURFACE7 pddsRenderTarget,
  2426.             /* [in] */ AM_MEDIA_TYPE *pmtRenderTarget,
  2427.             /* [in] */ REFERENCE_TIME rtStart,
  2428.             /* [in] */ REFERENCE_TIME rtEnd,
  2429.             /* [in] */ DWORD dwClrBkGnd,
  2430.             /* [in] */ VMRVIDEOSTREAMINFO *pVideoStreamInfo,
  2431.             /* [in] */ UINT cStreams) = 0;
  2432.         
  2433.     };
  2434.     
  2435. #else  /* C style interface */
  2436.     typedef struct IVMRImageCompositorVtbl
  2437.     {
  2438.         BEGIN_INTERFACE
  2439.         
  2440.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2441.             IVMRImageCompositor * This,
  2442.             /* [in] */ REFIID riid,
  2443.             /* [iid_is][out] */ void **ppvObject);
  2444.         
  2445.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2446.             IVMRImageCompositor * This);
  2447.         
  2448.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2449.             IVMRImageCompositor * This);
  2450.         
  2451.         HRESULT ( STDMETHODCALLTYPE *InitCompositionTarget )( 
  2452.             IVMRImageCompositor * This,
  2453.             /* [in] */ IUnknown *pD3DDevice,
  2454.             /* [in] */ LPDIRECTDRAWSURFACE7 pddsRenderTarget);
  2455.         
  2456.         HRESULT ( STDMETHODCALLTYPE *TermCompositionTarget )( 
  2457.             IVMRImageCompositor * This,
  2458.             /* [in] */ IUnknown *pD3DDevice,
  2459.             /* [in] */ LPDIRECTDRAWSURFACE7 pddsRenderTarget);
  2460.         
  2461.         HRESULT ( STDMETHODCALLTYPE *SetStreamMediaType )( 
  2462.             IVMRImageCompositor * This,
  2463.             /* [in] */ DWORD dwStrmID,
  2464.             /* [in] */ AM_MEDIA_TYPE *pmt,
  2465.             /* [in] */ BOOL fTexture);
  2466.         
  2467.         HRESULT ( STDMETHODCALLTYPE *CompositeImage )( 
  2468.             IVMRImageCompositor * This,
  2469.             /* [in] */ IUnknown *pD3DDevice,
  2470.             /* [in] */ LPDIRECTDRAWSURFACE7 pddsRenderTarget,
  2471.             /* [in] */ AM_MEDIA_TYPE *pmtRenderTarget,
  2472.             /* [in] */ REFERENCE_TIME rtStart,
  2473.             /* [in] */ REFERENCE_TIME rtEnd,
  2474.             /* [in] */ DWORD dwClrBkGnd,
  2475.             /* [in] */ VMRVIDEOSTREAMINFO *pVideoStreamInfo,
  2476.             /* [in] */ UINT cStreams);
  2477.         
  2478.         END_INTERFACE
  2479.     } IVMRImageCompositorVtbl;
  2480.     interface IVMRImageCompositor
  2481.     {
  2482.         CONST_VTBL struct IVMRImageCompositorVtbl *lpVtbl;
  2483.     };
  2484.     
  2485. #ifdef COBJMACROS
  2486. #define IVMRImageCompositor_QueryInterface(This,riid,ppvObject)
  2487.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2488. #define IVMRImageCompositor_AddRef(This)
  2489.     (This)->lpVtbl -> AddRef(This)
  2490. #define IVMRImageCompositor_Release(This)
  2491.     (This)->lpVtbl -> Release(This)
  2492. #define IVMRImageCompositor_InitCompositionTarget(This,pD3DDevice,pddsRenderTarget)
  2493.     (This)->lpVtbl -> InitCompositionTarget(This,pD3DDevice,pddsRenderTarget)
  2494. #define IVMRImageCompositor_TermCompositionTarget(This,pD3DDevice,pddsRenderTarget)
  2495.     (This)->lpVtbl -> TermCompositionTarget(This,pD3DDevice,pddsRenderTarget)
  2496. #define IVMRImageCompositor_SetStreamMediaType(This,dwStrmID,pmt,fTexture)
  2497.     (This)->lpVtbl -> SetStreamMediaType(This,dwStrmID,pmt,fTexture)
  2498. #define IVMRImageCompositor_CompositeImage(This,pD3DDevice,pddsRenderTarget,pmtRenderTarget,rtStart,rtEnd,dwClrBkGnd,pVideoStreamInfo,cStreams)
  2499.     (This)->lpVtbl -> CompositeImage(This,pD3DDevice,pddsRenderTarget,pmtRenderTarget,rtStart,rtEnd,dwClrBkGnd,pVideoStreamInfo,cStreams)
  2500. #endif /* COBJMACROS */
  2501. #endif  /* C style interface */
  2502. HRESULT STDMETHODCALLTYPE IVMRImageCompositor_InitCompositionTarget_Proxy( 
  2503.     IVMRImageCompositor * This,
  2504.     /* [in] */ IUnknown *pD3DDevice,
  2505.     /* [in] */ LPDIRECTDRAWSURFACE7 pddsRenderTarget);
  2506. void __RPC_STUB IVMRImageCompositor_InitCompositionTarget_Stub(
  2507.     IRpcStubBuffer *This,
  2508.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2509.     PRPC_MESSAGE _pRpcMessage,
  2510.     DWORD *_pdwStubPhase);
  2511. HRESULT STDMETHODCALLTYPE IVMRImageCompositor_TermCompositionTarget_Proxy( 
  2512.     IVMRImageCompositor * This,
  2513.     /* [in] */ IUnknown *pD3DDevice,
  2514.     /* [in] */ LPDIRECTDRAWSURFACE7 pddsRenderTarget);
  2515. void __RPC_STUB IVMRImageCompositor_TermCompositionTarget_Stub(
  2516.     IRpcStubBuffer *This,
  2517.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2518.     PRPC_MESSAGE _pRpcMessage,
  2519.     DWORD *_pdwStubPhase);
  2520. HRESULT STDMETHODCALLTYPE IVMRImageCompositor_SetStreamMediaType_Proxy( 
  2521.     IVMRImageCompositor * This,
  2522.     /* [in] */ DWORD dwStrmID,
  2523.     /* [in] */ AM_MEDIA_TYPE *pmt,
  2524.     /* [in] */ BOOL fTexture);
  2525. void __RPC_STUB IVMRImageCompositor_SetStreamMediaType_Stub(
  2526.     IRpcStubBuffer *This,
  2527.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2528.     PRPC_MESSAGE _pRpcMessage,
  2529.     DWORD *_pdwStubPhase);
  2530. HRESULT STDMETHODCALLTYPE IVMRImageCompositor_CompositeImage_Proxy( 
  2531.     IVMRImageCompositor * This,
  2532.     /* [in] */ IUnknown *pD3DDevice,
  2533.     /* [in] */ LPDIRECTDRAWSURFACE7 pddsRenderTarget,
  2534.     /* [in] */ AM_MEDIA_TYPE *pmtRenderTarget,
  2535.     /* [in] */ REFERENCE_TIME rtStart,
  2536.     /* [in] */ REFERENCE_TIME rtEnd,
  2537.     /* [in] */ DWORD dwClrBkGnd,
  2538.     /* [in] */ VMRVIDEOSTREAMINFO *pVideoStreamInfo,
  2539.     /* [in] */ UINT cStreams);
  2540. void __RPC_STUB IVMRImageCompositor_CompositeImage_Stub(
  2541.     IRpcStubBuffer *This,
  2542.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2543.     PRPC_MESSAGE _pRpcMessage,
  2544.     DWORD *_pdwStubPhase);
  2545. #endif  /* __IVMRImageCompositor_INTERFACE_DEFINED__ */
  2546. #ifndef __IVMRVideoStreamControl_INTERFACE_DEFINED__
  2547. #define __IVMRVideoStreamControl_INTERFACE_DEFINED__
  2548. /* interface IVMRVideoStreamControl */
  2549. /* [unique][helpstring][uuid][local][object] */ 
  2550. EXTERN_C const IID IID_IVMRVideoStreamControl;
  2551. #if defined(__cplusplus) && !defined(CINTERFACE)
  2552.     
  2553.     MIDL_INTERFACE("058d1f11-2a54-4bef-bd54-df706626b727")
  2554.     IVMRVideoStreamControl : public IUnknown
  2555.     {
  2556.     public:
  2557.         virtual HRESULT STDMETHODCALLTYPE SetColorKey( 
  2558.             /* [in] */ LPDDCOLORKEY lpClrKey) = 0;
  2559.         
  2560.         virtual HRESULT STDMETHODCALLTYPE GetColorKey( 
  2561.             /* [out] */ LPDDCOLORKEY lpClrKey) = 0;
  2562.         
  2563.         virtual HRESULT STDMETHODCALLTYPE SetStreamActiveState( 
  2564.             /* [in] */ BOOL fActive) = 0;
  2565.         
  2566.         virtual HRESULT STDMETHODCALLTYPE GetStreamActiveState( 
  2567.             /* [out] */ BOOL *lpfActive) = 0;
  2568.         
  2569.     };
  2570.     
  2571. #else  /* C style interface */
  2572.     typedef struct IVMRVideoStreamControlVtbl
  2573.     {
  2574.         BEGIN_INTERFACE
  2575.         
  2576.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2577.             IVMRVideoStreamControl * This,
  2578.             /* [in] */ REFIID riid,
  2579.             /* [iid_is][out] */ void **ppvObject);
  2580.         
  2581.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2582.             IVMRVideoStreamControl * This);
  2583.         
  2584.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2585.             IVMRVideoStreamControl * This);
  2586.         
  2587.         HRESULT ( STDMETHODCALLTYPE *SetColorKey )( 
  2588.             IVMRVideoStreamControl * This,
  2589.             /* [in] */ LPDDCOLORKEY lpClrKey);
  2590.         
  2591.         HRESULT ( STDMETHODCALLTYPE *GetColorKey )( 
  2592.             IVMRVideoStreamControl * This,
  2593.             /* [out] */ LPDDCOLORKEY lpClrKey);
  2594.         
  2595.         HRESULT ( STDMETHODCALLTYPE *SetStreamActiveState )( 
  2596.             IVMRVideoStreamControl * This,
  2597.             /* [in] */ BOOL fActive);
  2598.         
  2599.         HRESULT ( STDMETHODCALLTYPE *GetStreamActiveState )( 
  2600.             IVMRVideoStreamControl * This,
  2601.             /* [out] */ BOOL *lpfActive);
  2602.         
  2603.         END_INTERFACE
  2604.     } IVMRVideoStreamControlVtbl;
  2605.     interface IVMRVideoStreamControl
  2606.     {
  2607.         CONST_VTBL struct IVMRVideoStreamControlVtbl *lpVtbl;
  2608.     };
  2609.     
  2610. #ifdef COBJMACROS
  2611. #define IVMRVideoStreamControl_QueryInterface(This,riid,ppvObject)
  2612.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2613. #define IVMRVideoStreamControl_AddRef(This)
  2614.     (This)->lpVtbl -> AddRef(This)
  2615. #define IVMRVideoStreamControl_Release(This)
  2616.     (This)->lpVtbl -> Release(This)
  2617. #define IVMRVideoStreamControl_SetColorKey(This,lpClrKey)
  2618.     (This)->lpVtbl -> SetColorKey(This,lpClrKey)
  2619. #define IVMRVideoStreamControl_GetColorKey(This,lpClrKey)
  2620.     (This)->lpVtbl -> GetColorKey(This,lpClrKey)
  2621. #define IVMRVideoStreamControl_SetStreamActiveState(This,fActive)
  2622.     (This)->lpVtbl -> SetStreamActiveState(This,fActive)
  2623. #define IVMRVideoStreamControl_GetStreamActiveState(This,lpfActive)
  2624.     (This)->lpVtbl -> GetStreamActiveState(This,lpfActive)
  2625. #endif /* COBJMACROS */
  2626. #endif  /* C style interface */
  2627. HRESULT STDMETHODCALLTYPE IVMRVideoStreamControl_SetColorKey_Proxy( 
  2628.     IVMRVideoStreamControl * This,
  2629.     /* [in] */ LPDDCOLORKEY lpClrKey);
  2630. void __RPC_STUB IVMRVideoStreamControl_SetColorKey_Stub(
  2631.     IRpcStubBuffer *This,
  2632.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2633.     PRPC_MESSAGE _pRpcMessage,
  2634.     DWORD *_pdwStubPhase);
  2635. HRESULT STDMETHODCALLTYPE IVMRVideoStreamControl_GetColorKey_Proxy( 
  2636.     IVMRVideoStreamControl * This,
  2637.     /* [out] */ LPDDCOLORKEY lpClrKey);
  2638. void __RPC_STUB IVMRVideoStreamControl_GetColorKey_Stub(
  2639.     IRpcStubBuffer *This,
  2640.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2641.     PRPC_MESSAGE _pRpcMessage,
  2642.     DWORD *_pdwStubPhase);
  2643. HRESULT STDMETHODCALLTYPE IVMRVideoStreamControl_SetStreamActiveState_Proxy( 
  2644.     IVMRVideoStreamControl * This,
  2645.     /* [in] */ BOOL fActive);
  2646. void __RPC_STUB IVMRVideoStreamControl_SetStreamActiveState_Stub(
  2647.     IRpcStubBuffer *This,
  2648.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2649.     PRPC_MESSAGE _pRpcMessage,
  2650.     DWORD *_pdwStubPhase);
  2651. HRESULT STDMETHODCALLTYPE IVMRVideoStreamControl_GetStreamActiveState_Proxy( 
  2652.     IVMRVideoStreamControl * This,
  2653.     /* [out] */ BOOL *lpfActive);
  2654. void __RPC_STUB IVMRVideoStreamControl_GetStreamActiveState_Stub(
  2655.     IRpcStubBuffer *This,
  2656.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2657.     PRPC_MESSAGE _pRpcMessage,
  2658.     DWORD *_pdwStubPhase);
  2659. #endif  /* __IVMRVideoStreamControl_INTERFACE_DEFINED__ */
  2660. #ifndef __IVMRSurface_INTERFACE_DEFINED__
  2661. #define __IVMRSurface_INTERFACE_DEFINED__
  2662. /* interface IVMRSurface */
  2663. /* [unique][helpstring][uuid][local][object][local] */ 
  2664. EXTERN_C const IID IID_IVMRSurface;
  2665. #if defined(__cplusplus) && !defined(CINTERFACE)
  2666.     
  2667.     MIDL_INTERFACE("a9849bbe-9ec8-4263-b764-62730f0d15d0")
  2668.     IVMRSurface : public IUnknown
  2669.     {
  2670.     public:
  2671.         virtual HRESULT STDMETHODCALLTYPE IsSurfaceLocked( void) = 0;
  2672.         
  2673.         virtual HRESULT STDMETHODCALLTYPE LockSurface( 
  2674.             /* [out] */ BYTE **lpSurface) = 0;
  2675.         
  2676.         virtual HRESULT STDMETHODCALLTYPE UnlockSurface( void) = 0;
  2677.         
  2678.         virtual HRESULT STDMETHODCALLTYPE GetSurface( 
  2679.             /* [out] */ LPDIRECTDRAWSURFACE7 *lplpSurface) = 0;
  2680.         
  2681.     };
  2682.     
  2683. #else  /* C style interface */
  2684.     typedef struct IVMRSurfaceVtbl
  2685.     {
  2686.         BEGIN_INTERFACE
  2687.         
  2688.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2689.             IVMRSurface * This,
  2690.             /* [in] */ REFIID riid,
  2691.             /* [iid_is][out] */ void **ppvObject);
  2692.         
  2693.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2694.             IVMRSurface * This);
  2695.         
  2696.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2697.             IVMRSurface * This);
  2698.         
  2699.         HRESULT ( STDMETHODCALLTYPE *IsSurfaceLocked )( 
  2700.             IVMRSurface * This);
  2701.         
  2702.         HRESULT ( STDMETHODCALLTYPE *LockSurface )( 
  2703.             IVMRSurface * This,
  2704.             /* [out] */ BYTE **lpSurface);
  2705.         
  2706.         HRESULT ( STDMETHODCALLTYPE *UnlockSurface )( 
  2707.             IVMRSurface * This);
  2708.         
  2709.         HRESULT ( STDMETHODCALLTYPE *GetSurface )( 
  2710.             IVMRSurface * This,
  2711.             /* [out] */ LPDIRECTDRAWSURFACE7 *lplpSurface);
  2712.         
  2713.         END_INTERFACE
  2714.     } IVMRSurfaceVtbl;
  2715.     interface IVMRSurface
  2716.     {
  2717.         CONST_VTBL struct IVMRSurfaceVtbl *lpVtbl;
  2718.     };
  2719.     
  2720. #ifdef COBJMACROS
  2721. #define IVMRSurface_QueryInterface(This,riid,ppvObject)
  2722.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2723. #define IVMRSurface_AddRef(This)
  2724.     (This)->lpVtbl -> AddRef(This)
  2725. #define IVMRSurface_Release(This)
  2726.     (This)->lpVtbl -> Release(This)
  2727. #define IVMRSurface_IsSurfaceLocked(This)
  2728.     (This)->lpVtbl -> IsSurfaceLocked(This)
  2729. #define IVMRSurface_LockSurface(This,lpSurface)
  2730.     (This)->lpVtbl -> LockSurface(This,lpSurface)
  2731. #define IVMRSurface_UnlockSurface(This)
  2732.     (This)->lpVtbl -> UnlockSurface(This)
  2733. #define IVMRSurface_GetSurface(This,lplpSurface)
  2734.     (This)->lpVtbl -> GetSurface(This,lplpSurface)
  2735. #endif /* COBJMACROS */
  2736. #endif  /* C style interface */
  2737. HRESULT STDMETHODCALLTYPE IVMRSurface_IsSurfaceLocked_Proxy( 
  2738.     IVMRSurface * This);
  2739. void __RPC_STUB IVMRSurface_IsSurfaceLocked_Stub(
  2740.     IRpcStubBuffer *This,
  2741.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2742.     PRPC_MESSAGE _pRpcMessage,
  2743.     DWORD *_pdwStubPhase);
  2744. HRESULT STDMETHODCALLTYPE IVMRSurface_LockSurface_Proxy( 
  2745.     IVMRSurface * This,
  2746.     /* [out] */ BYTE **lpSurface);
  2747. void __RPC_STUB IVMRSurface_LockSurface_Stub(
  2748.     IRpcStubBuffer *This,
  2749.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2750.     PRPC_MESSAGE _pRpcMessage,
  2751.     DWORD *_pdwStubPhase);
  2752. HRESULT STDMETHODCALLTYPE IVMRSurface_UnlockSurface_Proxy( 
  2753.     IVMRSurface * This);
  2754. void __RPC_STUB IVMRSurface_UnlockSurface_Stub(
  2755.     IRpcStubBuffer *This,
  2756.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2757.     PRPC_MESSAGE _pRpcMessage,
  2758.     DWORD *_pdwStubPhase);
  2759. HRESULT STDMETHODCALLTYPE IVMRSurface_GetSurface_Proxy( 
  2760.     IVMRSurface * This,
  2761.     /* [out] */ LPDIRECTDRAWSURFACE7 *lplpSurface);
  2762. void __RPC_STUB IVMRSurface_GetSurface_Stub(
  2763.     IRpcStubBuffer *This,
  2764.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2765.     PRPC_MESSAGE _pRpcMessage,
  2766.     DWORD *_pdwStubPhase);
  2767. #endif  /* __IVMRSurface_INTERFACE_DEFINED__ */
  2768. #ifndef __IVMRImagePresenterConfig_INTERFACE_DEFINED__
  2769. #define __IVMRImagePresenterConfig_INTERFACE_DEFINED__
  2770. /* interface IVMRImagePresenterConfig */
  2771. /* [unique][helpstring][uuid][local][object][local] */ 
  2772. EXTERN_C const IID IID_IVMRImagePresenterConfig;
  2773. #if defined(__cplusplus) && !defined(CINTERFACE)
  2774.     
  2775.     MIDL_INTERFACE("9f3a1c85-8555-49ba-935f-be5b5b29d178")
  2776.     IVMRImagePresenterConfig : public IUnknown
  2777.     {
  2778.     public:
  2779.         virtual HRESULT STDMETHODCALLTYPE SetRenderingPrefs( 
  2780.             /* [in] */ DWORD dwRenderFlags) = 0;
  2781.         
  2782.         virtual HRESULT STDMETHODCALLTYPE GetRenderingPrefs( 
  2783.             /* [out] */ DWORD *dwRenderFlags) = 0;
  2784.         
  2785.     };
  2786.     
  2787. #else  /* C style interface */
  2788.     typedef struct IVMRImagePresenterConfigVtbl
  2789.     {
  2790.         BEGIN_INTERFACE
  2791.         
  2792.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2793.             IVMRImagePresenterConfig * This,
  2794.             /* [in] */ REFIID riid,
  2795.             /* [iid_is][out] */ void **ppvObject);
  2796.         
  2797.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2798.             IVMRImagePresenterConfig * This);
  2799.         
  2800.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2801.             IVMRImagePresenterConfig * This);
  2802.         
  2803.         HRESULT ( STDMETHODCALLTYPE *SetRenderingPrefs )( 
  2804.             IVMRImagePresenterConfig * This,
  2805.             /* [in] */ DWORD dwRenderFlags);
  2806.         
  2807.         HRESULT ( STDMETHODCALLTYPE *GetRenderingPrefs )( 
  2808.             IVMRImagePresenterConfig * This,
  2809.             /* [out] */ DWORD *dwRenderFlags);
  2810.         
  2811.         END_INTERFACE
  2812.     } IVMRImagePresenterConfigVtbl;
  2813.     interface IVMRImagePresenterConfig
  2814.     {
  2815.         CONST_VTBL struct IVMRImagePresenterConfigVtbl *lpVtbl;
  2816.     };
  2817.     
  2818. #ifdef COBJMACROS
  2819. #define IVMRImagePresenterConfig_QueryInterface(This,riid,ppvObject)
  2820.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2821. #define IVMRImagePresenterConfig_AddRef(This)
  2822.     (This)->lpVtbl -> AddRef(This)
  2823. #define IVMRImagePresenterConfig_Release(This)
  2824.     (This)->lpVtbl -> Release(This)
  2825. #define IVMRImagePresenterConfig_SetRenderingPrefs(This,dwRenderFlags)
  2826.     (This)->lpVtbl -> SetRenderingPrefs(This,dwRenderFlags)
  2827. #define IVMRImagePresenterConfig_GetRenderingPrefs(This,dwRenderFlags)
  2828.     (This)->lpVtbl -> GetRenderingPrefs(This,dwRenderFlags)
  2829. #endif /* COBJMACROS */
  2830. #endif  /* C style interface */
  2831. HRESULT STDMETHODCALLTYPE IVMRImagePresenterConfig_SetRenderingPrefs_Proxy( 
  2832.     IVMRImagePresenterConfig * This,
  2833.     /* [in] */ DWORD dwRenderFlags);
  2834. void __RPC_STUB IVMRImagePresenterConfig_SetRenderingPrefs_Stub(
  2835.     IRpcStubBuffer *This,
  2836.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2837.     PRPC_MESSAGE _pRpcMessage,
  2838.     DWORD *_pdwStubPhase);
  2839. HRESULT STDMETHODCALLTYPE IVMRImagePresenterConfig_GetRenderingPrefs_Proxy( 
  2840.     IVMRImagePresenterConfig * This,
  2841.     /* [out] */ DWORD *dwRenderFlags);
  2842. void __RPC_STUB IVMRImagePresenterConfig_GetRenderingPrefs_Stub(
  2843.     IRpcStubBuffer *This,
  2844.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2845.     PRPC_MESSAGE _pRpcMessage,
  2846.     DWORD *_pdwStubPhase);
  2847. #endif  /* __IVMRImagePresenterConfig_INTERFACE_DEFINED__ */
  2848. #ifndef __IVMRImagePresenterExclModeConfig_INTERFACE_DEFINED__
  2849. #define __IVMRImagePresenterExclModeConfig_INTERFACE_DEFINED__
  2850. /* interface IVMRImagePresenterExclModeConfig */
  2851. /* [unique][helpstring][uuid][local][object][local] */ 
  2852. EXTERN_C const IID IID_IVMRImagePresenterExclModeConfig;
  2853. #if defined(__cplusplus) && !defined(CINTERFACE)
  2854.     
  2855.     MIDL_INTERFACE("e6f7ce40-4673-44f1-8f77-5499d68cb4ea")
  2856.     IVMRImagePresenterExclModeConfig : public IVMRImagePresenterConfig
  2857.     {
  2858.     public:
  2859.         virtual HRESULT STDMETHODCALLTYPE SetXlcModeDDObjAndPrimarySurface( 
  2860.             /* [in] */ LPDIRECTDRAW7 lpDDObj,
  2861.             /* [in] */ LPDIRECTDRAWSURFACE7 lpPrimarySurf) = 0;
  2862.         
  2863.         virtual HRESULT STDMETHODCALLTYPE GetXlcModeDDObjAndPrimarySurface( 
  2864.             /* [out] */ LPDIRECTDRAW7 *lpDDObj,
  2865.             /* [out] */ LPDIRECTDRAWSURFACE7 *lpPrimarySurf) = 0;
  2866.         
  2867.     };
  2868.     
  2869. #else  /* C style interface */
  2870.     typedef struct IVMRImagePresenterExclModeConfigVtbl
  2871.     {
  2872.         BEGIN_INTERFACE
  2873.         
  2874.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2875.             IVMRImagePresenterExclModeConfig * This,
  2876.             /* [in] */ REFIID riid,
  2877.             /* [iid_is][out] */ void **ppvObject);
  2878.         
  2879.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2880.             IVMRImagePresenterExclModeConfig * This);
  2881.         
  2882.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2883.             IVMRImagePresenterExclModeConfig * This);
  2884.         
  2885.         HRESULT ( STDMETHODCALLTYPE *SetRenderingPrefs )( 
  2886.             IVMRImagePresenterExclModeConfig * This,
  2887.             /* [in] */ DWORD dwRenderFlags);
  2888.         
  2889.         HRESULT ( STDMETHODCALLTYPE *GetRenderingPrefs )( 
  2890.             IVMRImagePresenterExclModeConfig * This,
  2891.             /* [out] */ DWORD *dwRenderFlags);
  2892.         
  2893.         HRESULT ( STDMETHODCALLTYPE *SetXlcModeDDObjAndPrimarySurface )( 
  2894.             IVMRImagePresenterExclModeConfig * This,
  2895.             /* [in] */ LPDIRECTDRAW7 lpDDObj,
  2896.             /* [in] */ LPDIRECTDRAWSURFACE7 lpPrimarySurf);
  2897.         
  2898.         HRESULT ( STDMETHODCALLTYPE *GetXlcModeDDObjAndPrimarySurface )( 
  2899.             IVMRImagePresenterExclModeConfig * This,
  2900.             /* [out] */ LPDIRECTDRAW7 *lpDDObj,
  2901.             /* [out] */ LPDIRECTDRAWSURFACE7 *lpPrimarySurf);
  2902.         
  2903.         END_INTERFACE
  2904.     } IVMRImagePresenterExclModeConfigVtbl;
  2905.     interface IVMRImagePresenterExclModeConfig
  2906.     {
  2907.         CONST_VTBL struct IVMRImagePresenterExclModeConfigVtbl *lpVtbl;
  2908.     };
  2909.     
  2910. #ifdef COBJMACROS
  2911. #define IVMRImagePresenterExclModeConfig_QueryInterface(This,riid,ppvObject)
  2912.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2913. #define IVMRImagePresenterExclModeConfig_AddRef(This)
  2914.     (This)->lpVtbl -> AddRef(This)
  2915. #define IVMRImagePresenterExclModeConfig_Release(This)
  2916.     (This)->lpVtbl -> Release(This)
  2917. #define IVMRImagePresenterExclModeConfig_SetRenderingPrefs(This,dwRenderFlags)
  2918.     (This)->lpVtbl -> SetRenderingPrefs(This,dwRenderFlags)
  2919. #define IVMRImagePresenterExclModeConfig_GetRenderingPrefs(This,dwRenderFlags)
  2920.     (This)->lpVtbl -> GetRenderingPrefs(This,dwRenderFlags)
  2921. #define IVMRImagePresenterExclModeConfig_SetXlcModeDDObjAndPrimarySurface(This,lpDDObj,lpPrimarySurf)
  2922.     (This)->lpVtbl -> SetXlcModeDDObjAndPrimarySurface(This,lpDDObj,lpPrimarySurf)
  2923. #define IVMRImagePresenterExclModeConfig_GetXlcModeDDObjAndPrimarySurface(This,lpDDObj,lpPrimarySurf)
  2924.     (This)->lpVtbl -> GetXlcModeDDObjAndPrimarySurface(This,lpDDObj,lpPrimarySurf)
  2925. #endif /* COBJMACROS */
  2926. #endif  /* C style interface */
  2927. HRESULT STDMETHODCALLTYPE IVMRImagePresenterExclModeConfig_SetXlcModeDDObjAndPrimarySurface_Proxy( 
  2928.     IVMRImagePresenterExclModeConfig * This,
  2929.     /* [in] */ LPDIRECTDRAW7 lpDDObj,
  2930.     /* [in] */ LPDIRECTDRAWSURFACE7 lpPrimarySurf);
  2931. void __RPC_STUB IVMRImagePresenterExclModeConfig_SetXlcModeDDObjAndPrimarySurface_Stub(
  2932.     IRpcStubBuffer *This,
  2933.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2934.     PRPC_MESSAGE _pRpcMessage,
  2935.     DWORD *_pdwStubPhase);
  2936. HRESULT STDMETHODCALLTYPE IVMRImagePresenterExclModeConfig_GetXlcModeDDObjAndPrimarySurface_Proxy( 
  2937.     IVMRImagePresenterExclModeConfig * This,
  2938.     /* [out] */ LPDIRECTDRAW7 *lpDDObj,
  2939.     /* [out] */ LPDIRECTDRAWSURFACE7 *lpPrimarySurf);
  2940. void __RPC_STUB IVMRImagePresenterExclModeConfig_GetXlcModeDDObjAndPrimarySurface_Stub(
  2941.     IRpcStubBuffer *This,
  2942.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2943.     PRPC_MESSAGE _pRpcMessage,
  2944.     DWORD *_pdwStubPhase);
  2945. #endif  /* __IVMRImagePresenterExclModeConfig_INTERFACE_DEFINED__ */
  2946. #ifndef __IVPManager_INTERFACE_DEFINED__
  2947. #define __IVPManager_INTERFACE_DEFINED__
  2948. /* interface IVPManager */
  2949. /* [unique][helpstring][uuid][local][object][local] */ 
  2950. EXTERN_C const IID IID_IVPManager;
  2951. #if defined(__cplusplus) && !defined(CINTERFACE)
  2952.     
  2953.     MIDL_INTERFACE("aac18c18-e186-46d2-825d-a1f8dc8e395a")
  2954.     IVPManager : public IUnknown
  2955.     {
  2956.     public:
  2957.         virtual HRESULT STDMETHODCALLTYPE SetVideoPortIndex( 
  2958.             /* [in] */ DWORD dwVideoPortIndex) = 0;
  2959.         
  2960.         virtual HRESULT STDMETHODCALLTYPE GetVideoPortIndex( 
  2961.             /* [out] */ DWORD *pdwVideoPortIndex) = 0;
  2962.         
  2963.     };
  2964.     
  2965. #else  /* C style interface */
  2966.     typedef struct IVPManagerVtbl
  2967.     {
  2968.         BEGIN_INTERFACE
  2969.         
  2970.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2971.             IVPManager * This,
  2972.             /* [in] */ REFIID riid,
  2973.             /* [iid_is][out] */ void **ppvObject);
  2974.         
  2975.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2976.             IVPManager * This);
  2977.         
  2978.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2979.             IVPManager * This);
  2980.         
  2981.         HRESULT ( STDMETHODCALLTYPE *SetVideoPortIndex )( 
  2982.             IVPManager * This,
  2983.             /* [in] */ DWORD dwVideoPortIndex);
  2984.         
  2985.         HRESULT ( STDMETHODCALLTYPE *GetVideoPortIndex )( 
  2986.             IVPManager * This,
  2987.             /* [out] */ DWORD *pdwVideoPortIndex);
  2988.         
  2989.         END_INTERFACE
  2990.     } IVPManagerVtbl;
  2991.     interface IVPManager
  2992.     {
  2993.         CONST_VTBL struct IVPManagerVtbl *lpVtbl;
  2994.     };
  2995.     
  2996. #ifdef COBJMACROS
  2997. #define IVPManager_QueryInterface(This,riid,ppvObject)
  2998.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2999. #define IVPManager_AddRef(This)
  3000.     (This)->lpVtbl -> AddRef(This)
  3001. #define IVPManager_Release(This)
  3002.     (This)->lpVtbl -> Release(This)
  3003. #define IVPManager_SetVideoPortIndex(This,dwVideoPortIndex)
  3004.     (This)->lpVtbl -> SetVideoPortIndex(This,dwVideoPortIndex)
  3005. #define IVPManager_GetVideoPortIndex(This,pdwVideoPortIndex)
  3006.     (This)->lpVtbl -> GetVideoPortIndex(This,pdwVideoPortIndex)
  3007. #endif /* COBJMACROS */
  3008. #endif  /* C style interface */
  3009. HRESULT STDMETHODCALLTYPE IVPManager_SetVideoPortIndex_Proxy( 
  3010.     IVPManager * This,
  3011.     /* [in] */ DWORD dwVideoPortIndex);
  3012. void __RPC_STUB IVPManager_SetVideoPortIndex_Stub(
  3013.     IRpcStubBuffer *This,
  3014.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3015.     PRPC_MESSAGE _pRpcMessage,
  3016.     DWORD *_pdwStubPhase);
  3017. HRESULT STDMETHODCALLTYPE IVPManager_GetVideoPortIndex_Proxy( 
  3018.     IVPManager * This,
  3019.     /* [out] */ DWORD *pdwVideoPortIndex);
  3020. void __RPC_STUB IVPManager_GetVideoPortIndex_Stub(
  3021.     IRpcStubBuffer *This,
  3022.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3023.     PRPC_MESSAGE _pRpcMessage,
  3024.     DWORD *_pdwStubPhase);
  3025. #endif  /* __IVPManager_INTERFACE_DEFINED__ */
  3026. /* Additional Prototypes for ALL interfaces */
  3027. unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long *, unsigned long            , VARIANT * ); 
  3028. unsigned char * __RPC_USER  VARIANT_UserMarshal(  unsigned long *, unsigned char *, VARIANT * ); 
  3029. unsigned char * __RPC_USER  VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * ); 
  3030. void                      __RPC_USER  VARIANT_UserFree(     unsigned long *, VARIANT * ); 
  3031. /* [local] */ HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder_FindInterface_Proxy( 
  3032.     ICaptureGraphBuilder * This,
  3033.     /* [unique][in] */ const GUID *pCategory,
  3034.     /* [in] */ IBaseFilter *pf,
  3035.     /* [in] */ REFIID riid,
  3036.     /* [out] */ void **ppint);
  3037. /* [call_as] */ HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder_FindInterface_Stub( 
  3038.     ICaptureGraphBuilder * This,
  3039.     /* [unique][in] */ const GUID *pCategory,
  3040.     /* [in] */ IBaseFilter *pf,
  3041.     /* [in] */ REFIID riid,
  3042.     /* [out] */ IUnknown **ppint);
  3043. /* [local] */ HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder2_FindInterface_Proxy( 
  3044.     ICaptureGraphBuilder2 * This,
  3045.     /* [in] */ const GUID *pCategory,
  3046.     /* [in] */ const GUID *pType,
  3047.     /* [in] */ IBaseFilter *pf,
  3048.     /* [in] */ REFIID riid,
  3049.     /* [out] */ void **ppint);
  3050. /* [call_as] */ HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder2_FindInterface_Stub( 
  3051.     ICaptureGraphBuilder2 * This,
  3052.     /* [in] */ const GUID *pCategory,
  3053.     /* [in] */ const GUID *pType,
  3054.     /* [in] */ IBaseFilter *pf,
  3055.     /* [in] */ REFIID riid,
  3056.     /* [out] */ IUnknown **ppint);
  3057. /* [local] */ HRESULT STDMETHODCALLTYPE IKsPropertySet_Set_Proxy( 
  3058.     IKsPropertySet * This,
  3059.     /* [in] */ REFGUID guidPropSet,
  3060.     /* [in] */ DWORD dwPropID,
  3061.     /* [size_is][in] */ LPVOID pInstanceData,
  3062.     /* [in] */ DWORD cbInstanceData,
  3063.     /* [size_is][in] */ LPVOID pPropData,
  3064.     /* [in] */ DWORD cbPropData);
  3065. /* [call_as] */ HRESULT STDMETHODCALLTYPE IKsPropertySet_Set_Stub( 
  3066.     IKsPropertySet * This,
  3067.     /* [in] */ REFGUID guidPropSet,
  3068.     /* [in] */ DWORD dwPropID,
  3069.     /* [size_is][in] */ byte *pInstanceData,
  3070.     /* [in] */ DWORD cbInstanceData,
  3071.     /* [size_is][in] */ byte *pPropData,
  3072.     /* [in] */ DWORD cbPropData);
  3073. /* [local] */ HRESULT STDMETHODCALLTYPE IKsPropertySet_Get_Proxy( 
  3074.     IKsPropertySet * This,
  3075.     /* [in] */ REFGUID guidPropSet,
  3076.     /* [in] */ DWORD dwPropID,
  3077.     /* [size_is][in] */ LPVOID pInstanceData,
  3078.     /* [in] */ DWORD cbInstanceData,
  3079.     /* [size_is][out] */ LPVOID pPropData,
  3080.     /* [in] */ DWORD cbPropData,
  3081.     /* [out] */ DWORD *pcbReturned);
  3082. /* [call_as] */ HRESULT STDMETHODCALLTYPE IKsPropertySet_Get_Stub( 
  3083.     IKsPropertySet * This,
  3084.     /* [in] */ REFGUID guidPropSet,
  3085.     /* [in] */ DWORD dwPropID,
  3086.     /* [size_is][in] */ byte *pInstanceData,
  3087.     /* [in] */ DWORD cbInstanceData,
  3088.     /* [size_is][out] */ byte *pPropData,
  3089.     /* [in] */ DWORD cbPropData,
  3090.     /* [out] */ DWORD *pcbReturned);
  3091. /* end of Additional Prototypes */
  3092. #ifdef __cplusplus
  3093. }
  3094. #endif
  3095. #endif