home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / mac / SiteBldr / AMOVIE / SDK / _SETUP / COMMON.Z / strmif.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-06-26  |  226.8 KB  |  7,916 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 2.00.0102 */
  5. /* at Wed Jun 26 01:38:28 1996
  6.  */
  7. //@@MIDL_FILE_HEADING(  )
  8. #include "rpc.h"
  9. #include "rpcndr.h"
  10. #ifndef COM_NO_WINDOWS_H
  11. #include "windows.h"
  12. #include "ole2.h"
  13. #endif /*COM_NO_WINDOWS_H*/
  14.  
  15. #ifndef __strmif_h__
  16. #define __strmif_h__
  17.  
  18. #ifdef __cplusplus
  19. extern "C"{
  20. #endif 
  21.  
  22. /* Forward Declarations */ 
  23.  
  24. #ifndef __IPin_FWD_DEFINED__
  25. #define __IPin_FWD_DEFINED__
  26. typedef interface IPin IPin;
  27. #endif     /* __IPin_FWD_DEFINED__ */
  28.  
  29.  
  30. #ifndef __IEnumPins_FWD_DEFINED__
  31. #define __IEnumPins_FWD_DEFINED__
  32. typedef interface IEnumPins IEnumPins;
  33. #endif     /* __IEnumPins_FWD_DEFINED__ */
  34.  
  35.  
  36. #ifndef __IEnumMediaTypes_FWD_DEFINED__
  37. #define __IEnumMediaTypes_FWD_DEFINED__
  38. typedef interface IEnumMediaTypes IEnumMediaTypes;
  39. #endif     /* __IEnumMediaTypes_FWD_DEFINED__ */
  40.  
  41.  
  42. #ifndef __IFilterGraph_FWD_DEFINED__
  43. #define __IFilterGraph_FWD_DEFINED__
  44. typedef interface IFilterGraph IFilterGraph;
  45. #endif     /* __IFilterGraph_FWD_DEFINED__ */
  46.  
  47.  
  48. #ifndef __IEnumFilters_FWD_DEFINED__
  49. #define __IEnumFilters_FWD_DEFINED__
  50. typedef interface IEnumFilters IEnumFilters;
  51. #endif     /* __IEnumFilters_FWD_DEFINED__ */
  52.  
  53.  
  54. #ifndef __IMediaFilter_FWD_DEFINED__
  55. #define __IMediaFilter_FWD_DEFINED__
  56. typedef interface IMediaFilter IMediaFilter;
  57. #endif     /* __IMediaFilter_FWD_DEFINED__ */
  58.  
  59.  
  60. #ifndef __IFilter_FWD_DEFINED__
  61. #define __IFilter_FWD_DEFINED__
  62. typedef interface IFilter IFilter;
  63. #endif     /* __IFilter_FWD_DEFINED__ */
  64.  
  65.  
  66. #ifndef __IReferenceClock_FWD_DEFINED__
  67. #define __IReferenceClock_FWD_DEFINED__
  68. typedef interface IReferenceClock IReferenceClock;
  69. #endif     /* __IReferenceClock_FWD_DEFINED__ */
  70.  
  71.  
  72. #ifndef __IMediaSample_FWD_DEFINED__
  73. #define __IMediaSample_FWD_DEFINED__
  74. typedef interface IMediaSample IMediaSample;
  75. #endif     /* __IMediaSample_FWD_DEFINED__ */
  76.  
  77.  
  78. #ifndef __IMemAllocator_FWD_DEFINED__
  79. #define __IMemAllocator_FWD_DEFINED__
  80. typedef interface IMemAllocator IMemAllocator;
  81. #endif     /* __IMemAllocator_FWD_DEFINED__ */
  82.  
  83.  
  84. #ifndef __IMemInputPin_FWD_DEFINED__
  85. #define __IMemInputPin_FWD_DEFINED__
  86. typedef interface IMemInputPin IMemInputPin;
  87. #endif     /* __IMemInputPin_FWD_DEFINED__ */
  88.  
  89.  
  90. #ifndef __IAMovieSetup_FWD_DEFINED__
  91. #define __IAMovieSetup_FWD_DEFINED__
  92. typedef interface IAMovieSetup IAMovieSetup;
  93. #endif     /* __IAMovieSetup_FWD_DEFINED__ */
  94.  
  95.  
  96. #ifndef __IMediaSelection_FWD_DEFINED__
  97. #define __IMediaSelection_FWD_DEFINED__
  98. typedef interface IMediaSelection IMediaSelection;
  99. #endif     /* __IMediaSelection_FWD_DEFINED__ */
  100.  
  101.  
  102. #ifndef __IMediaSeeking_FWD_DEFINED__
  103. #define __IMediaSeeking_FWD_DEFINED__
  104. typedef interface IMediaSeeking IMediaSeeking;
  105. #endif     /* __IMediaSeeking_FWD_DEFINED__ */
  106.  
  107.  
  108. #ifndef __IEnumRegFilters_FWD_DEFINED__
  109. #define __IEnumRegFilters_FWD_DEFINED__
  110. typedef interface IEnumRegFilters IEnumRegFilters;
  111. #endif     /* __IEnumRegFilters_FWD_DEFINED__ */
  112.  
  113.  
  114. #ifndef __IFilterMapper_FWD_DEFINED__
  115. #define __IFilterMapper_FWD_DEFINED__
  116. typedef interface IFilterMapper IFilterMapper;
  117. #endif     /* __IFilterMapper_FWD_DEFINED__ */
  118.  
  119.  
  120. #ifndef __IQualityControl_FWD_DEFINED__
  121. #define __IQualityControl_FWD_DEFINED__
  122. typedef interface IQualityControl IQualityControl;
  123. #endif     /* __IQualityControl_FWD_DEFINED__ */
  124.  
  125.  
  126. #ifndef __IOverlayNotify_FWD_DEFINED__
  127. #define __IOverlayNotify_FWD_DEFINED__
  128. typedef interface IOverlayNotify IOverlayNotify;
  129. #endif     /* __IOverlayNotify_FWD_DEFINED__ */
  130.  
  131.  
  132. #ifndef __IOverlay_FWD_DEFINED__
  133. #define __IOverlay_FWD_DEFINED__
  134. typedef interface IOverlay IOverlay;
  135. #endif     /* __IOverlay_FWD_DEFINED__ */
  136.  
  137.  
  138. #ifndef __IMediaEventSink_FWD_DEFINED__
  139. #define __IMediaEventSink_FWD_DEFINED__
  140. typedef interface IMediaEventSink IMediaEventSink;
  141. #endif     /* __IMediaEventSink_FWD_DEFINED__ */
  142.  
  143.  
  144. #ifndef __IFileSourceFilter_FWD_DEFINED__
  145. #define __IFileSourceFilter_FWD_DEFINED__
  146. typedef interface IFileSourceFilter IFileSourceFilter;
  147. #endif     /* __IFileSourceFilter_FWD_DEFINED__ */
  148.  
  149.  
  150. #ifndef __IFileSinkFilter_FWD_DEFINED__
  151. #define __IFileSinkFilter_FWD_DEFINED__
  152. typedef interface IFileSinkFilter IFileSinkFilter;
  153. #endif     /* __IFileSinkFilter_FWD_DEFINED__ */
  154.  
  155.  
  156. #ifndef __IFileAsyncIO_FWD_DEFINED__
  157. #define __IFileAsyncIO_FWD_DEFINED__
  158. typedef interface IFileAsyncIO IFileAsyncIO;
  159. #endif     /* __IFileAsyncIO_FWD_DEFINED__ */
  160.  
  161.  
  162. #ifndef __IGraphBuilder_FWD_DEFINED__
  163. #define __IGraphBuilder_FWD_DEFINED__
  164. typedef interface IGraphBuilder IGraphBuilder;
  165. #endif     /* __IGraphBuilder_FWD_DEFINED__ */
  166.  
  167.  
  168. #ifndef __IStreamBuilder_FWD_DEFINED__
  169. #define __IStreamBuilder_FWD_DEFINED__
  170. typedef interface IStreamBuilder IStreamBuilder;
  171. #endif     /* __IStreamBuilder_FWD_DEFINED__ */
  172.  
  173.  
  174. #ifndef __IAsyncReader_FWD_DEFINED__
  175. #define __IAsyncReader_FWD_DEFINED__
  176. typedef interface IAsyncReader IAsyncReader;
  177. #endif     /* __IAsyncReader_FWD_DEFINED__ */
  178.  
  179.  
  180. #ifndef __IGraphVersion_FWD_DEFINED__
  181. #define __IGraphVersion_FWD_DEFINED__
  182. typedef interface IGraphVersion IGraphVersion;
  183. #endif     /* __IGraphVersion_FWD_DEFINED__ */
  184.  
  185.  
  186. #ifndef __IResourceConsumer_FWD_DEFINED__
  187. #define __IResourceConsumer_FWD_DEFINED__
  188. typedef interface IResourceConsumer IResourceConsumer;
  189. #endif     /* __IResourceConsumer_FWD_DEFINED__ */
  190.  
  191.  
  192. #ifndef __IResourceManager_FWD_DEFINED__
  193. #define __IResourceManager_FWD_DEFINED__
  194. typedef interface IResourceManager IResourceManager;
  195. #endif     /* __IResourceManager_FWD_DEFINED__ */
  196.  
  197.  
  198. #ifndef __IDistributorNotify_FWD_DEFINED__
  199. #define __IDistributorNotify_FWD_DEFINED__
  200. typedef interface IDistributorNotify IDistributorNotify;
  201. #endif     /* __IDistributorNotify_FWD_DEFINED__ */
  202.  
  203.  
  204. #ifndef __IAMovie_FWD_DEFINED__
  205. #define __IAMovie_FWD_DEFINED__
  206. typedef interface IAMovie IAMovie;
  207. #endif     /* __IAMovie_FWD_DEFINED__ */
  208.  
  209.  
  210. /* header files for imported files */
  211. #include "unknwn.h"
  212. #include "objidl.h"
  213.  
  214. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  215. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  216.  
  217. /****************************************
  218.  * Generated header for interface: __MIDL__intf_0000
  219.  * at Wed Jun 26 01:38:28 1996
  220.  * using MIDL 2.00.0102
  221.  ****************************************/
  222. /* [local] */ 
  223.  
  224.  
  225. #pragma warning(disable: 4152 4209 4211 4214 4310 4514)
  226.  
  227. #define CHARS_IN_GUID     39
  228.             /* size is 72 */
  229. typedef struct  _AMMediaType
  230.     {
  231.     GUID majortype;
  232.     GUID subtype;
  233.     BOOL bFixedSizeSamples;
  234.     BOOL bTemporalCompression;
  235.     ULONG lSampleSize;
  236.     GUID formattype;
  237.     IUnknown __RPC_FAR *pUnk;
  238.     ULONG cbFormat;
  239.     /* [size_is] */ BYTE __RPC_FAR *pbFormat;
  240.     }    AM_MEDIA_TYPE;
  241.  
  242.             /* size is 2 */
  243. typedef 
  244. enum _PinDirection
  245.     {    PINDIR_INPUT    = 0,
  246.     PINDIR_OUTPUT    = PINDIR_INPUT + 1
  247.     }    PIN_DIRECTION;
  248.  
  249. #define MAX_PIN_NAME     128
  250. #define MAX_FILTER_NAME  128
  251.             /* size is 8 */
  252. typedef LONGLONG REFERENCE_TIME;
  253.  
  254.             /* size is 8 */
  255. typedef double REFTIME;
  256.  
  257.             /* size is 8 */
  258. typedef LONGLONG TIME;
  259.  
  260.             /* size is 4 */
  261. typedef unsigned long HSEMAPHORE;
  262.  
  263.             /* size is 4 */
  264. typedef unsigned long HEVENT;
  265.  
  266.             /* size is 16 */
  267. typedef struct  _AllocatorProperties
  268.     {
  269.     long cBuffers;
  270.     long cbBuffer;
  271.     long cbAlign;
  272.     long cbPrefix;
  273.     }    ALLOCATOR_PROPERTIES;
  274.  
  275.             /* size is 0 */
  276.  
  277.             /* size is 0 */
  278.  
  279.             /* size is 0 */
  280.  
  281.             /* size is 0 */
  282.  
  283.             /* size is 0 */
  284.  
  285.             /* size is 0 */
  286.  
  287.             /* size is 0 */
  288.  
  289.             /* size is 0 */
  290.  
  291.             /* size is 0 */
  292.  
  293.             /* size is 0 */
  294.  
  295.             /* size is 0 */
  296.  
  297.             /* size is 0 */
  298.  
  299.             /* size is 0 */
  300.  
  301.  
  302.  
  303. extern RPC_IF_HANDLE __MIDL__intf_0000_v0_0_c_ifspec;
  304. extern RPC_IF_HANDLE __MIDL__intf_0000_v0_0_s_ifspec;
  305.  
  306. #ifndef __IPin_INTERFACE_DEFINED__
  307. #define __IPin_INTERFACE_DEFINED__
  308.  
  309. /****************************************
  310.  * Generated header for interface: IPin
  311.  * at Wed Jun 26 01:38:28 1996
  312.  * using MIDL 2.00.0102
  313.  ****************************************/
  314. /* [unique][uuid][object] */ 
  315.  
  316.  
  317.             /* size is 262 */
  318. typedef struct  _PinInfo
  319.     {
  320.     IFilter __RPC_FAR *pFilter;
  321.     PIN_DIRECTION dir;
  322.     /* [string] */ WCHAR achName[ 128 ];
  323.     }    PIN_INFO;
  324.  
  325.  
  326. EXTERN_C const IID IID_IPin;
  327.  
  328. #if defined(__cplusplus) && !defined(CINTERFACE)
  329.     
  330.     interface IPin : public IUnknown
  331.     {
  332.     public:
  333.         virtual HRESULT __stdcall Connect( 
  334.             /* [in] */ IPin __RPC_FAR *pReceivePin,
  335.             /* [in] */ const AM_MEDIA_TYPE __RPC_FAR *pmt) = 0;
  336.         
  337.         virtual HRESULT __stdcall ReceiveConnection( 
  338.             /* [in] */ IPin __RPC_FAR *pConnector,
  339.             /* [in] */ const AM_MEDIA_TYPE __RPC_FAR *pmt) = 0;
  340.         
  341.         virtual HRESULT __stdcall Disconnect( void) = 0;
  342.         
  343.         virtual HRESULT __stdcall ConnectedTo( 
  344.             /* [out] */ IPin __RPC_FAR *__RPC_FAR *pPin) = 0;
  345.         
  346.         virtual HRESULT __stdcall ConnectionMediaType( 
  347.             /* [out] */ AM_MEDIA_TYPE __RPC_FAR *pmt) = 0;
  348.         
  349.         virtual HRESULT __stdcall QueryPinInfo( 
  350.             /* [out] */ PIN_INFO __RPC_FAR *pInfo) = 0;
  351.         
  352.         virtual HRESULT __stdcall QueryDirection( 
  353.             /* [out] */ PIN_DIRECTION __RPC_FAR *pPinDir) = 0;
  354.         
  355.         virtual HRESULT __stdcall QueryId( 
  356.             /* [out] */ LPWSTR __RPC_FAR *Id) = 0;
  357.         
  358.         virtual HRESULT __stdcall QueryAccept( 
  359.             /* [in] */ const AM_MEDIA_TYPE __RPC_FAR *pmt) = 0;
  360.         
  361.         virtual HRESULT __stdcall EnumMediaTypes( 
  362.             /* [out] */ IEnumMediaTypes __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  363.         
  364.         virtual HRESULT __stdcall QueryInternalConnections( 
  365.             /* [out] */ IPin __RPC_FAR *__RPC_FAR *apPin,
  366.             /* [out][in] */ ULONG __RPC_FAR *nPin) = 0;
  367.         
  368.         virtual HRESULT __stdcall EndOfStream( void) = 0;
  369.         
  370.         virtual HRESULT __stdcall BeginFlush( void) = 0;
  371.         
  372.         virtual HRESULT __stdcall EndFlush( void) = 0;
  373.         
  374.         virtual HRESULT __stdcall NewSegment( 
  375.             /* [in] */ REFERENCE_TIME tStart,
  376.             /* [in] */ REFERENCE_TIME tStop,
  377.             /* [in] */ double dRate) = 0;
  378.         
  379.     };
  380.     
  381. #else     /* C style interface */
  382.  
  383.     typedef struct IPinVtbl
  384.     {
  385.         
  386.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  387.             IPin __RPC_FAR * This,
  388.             /* [in] */ REFIID riid,
  389.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  390.         
  391.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  392.             IPin __RPC_FAR * This);
  393.         
  394.         ULONG ( __stdcall __RPC_FAR *Release )( 
  395.             IPin __RPC_FAR * This);
  396.         
  397.         HRESULT ( __stdcall __RPC_FAR *Connect )( 
  398.             IPin __RPC_FAR * This,
  399.             /* [in] */ IPin __RPC_FAR *pReceivePin,
  400.             /* [in] */ const AM_MEDIA_TYPE __RPC_FAR *pmt);
  401.         
  402.         HRESULT ( __stdcall __RPC_FAR *ReceiveConnection )( 
  403.             IPin __RPC_FAR * This,
  404.             /* [in] */ IPin __RPC_FAR *pConnector,
  405.             /* [in] */ const AM_MEDIA_TYPE __RPC_FAR *pmt);
  406.         
  407.         HRESULT ( __stdcall __RPC_FAR *Disconnect )( 
  408.             IPin __RPC_FAR * This);
  409.         
  410.         HRESULT ( __stdcall __RPC_FAR *ConnectedTo )( 
  411.             IPin __RPC_FAR * This,
  412.             /* [out] */ IPin __RPC_FAR *__RPC_FAR *pPin);
  413.         
  414.         HRESULT ( __stdcall __RPC_FAR *ConnectionMediaType )( 
  415.             IPin __RPC_FAR * This,
  416.             /* [out] */ AM_MEDIA_TYPE __RPC_FAR *pmt);
  417.         
  418.         HRESULT ( __stdcall __RPC_FAR *QueryPinInfo )( 
  419.             IPin __RPC_FAR * This,
  420.             /* [out] */ PIN_INFO __RPC_FAR *pInfo);
  421.         
  422.         HRESULT ( __stdcall __RPC_FAR *QueryDirection )( 
  423.             IPin __RPC_FAR * This,
  424.             /* [out] */ PIN_DIRECTION __RPC_FAR *pPinDir);
  425.         
  426.         HRESULT ( __stdcall __RPC_FAR *QueryId )( 
  427.             IPin __RPC_FAR * This,
  428.             /* [out] */ LPWSTR __RPC_FAR *Id);
  429.         
  430.         HRESULT ( __stdcall __RPC_FAR *QueryAccept )( 
  431.             IPin __RPC_FAR * This,
  432.             /* [in] */ const AM_MEDIA_TYPE __RPC_FAR *pmt);
  433.         
  434.         HRESULT ( __stdcall __RPC_FAR *EnumMediaTypes )( 
  435.             IPin __RPC_FAR * This,
  436.             /* [out] */ IEnumMediaTypes __RPC_FAR *__RPC_FAR *ppEnum);
  437.         
  438.         HRESULT ( __stdcall __RPC_FAR *QueryInternalConnections )( 
  439.             IPin __RPC_FAR * This,
  440.             /* [out] */ IPin __RPC_FAR *__RPC_FAR *apPin,
  441.             /* [out][in] */ ULONG __RPC_FAR *nPin);
  442.         
  443.         HRESULT ( __stdcall __RPC_FAR *EndOfStream )( 
  444.             IPin __RPC_FAR * This);
  445.         
  446.         HRESULT ( __stdcall __RPC_FAR *BeginFlush )( 
  447.             IPin __RPC_FAR * This);
  448.         
  449.         HRESULT ( __stdcall __RPC_FAR *EndFlush )( 
  450.             IPin __RPC_FAR * This);
  451.         
  452.         HRESULT ( __stdcall __RPC_FAR *NewSegment )( 
  453.             IPin __RPC_FAR * This,
  454.             /* [in] */ REFERENCE_TIME tStart,
  455.             /* [in] */ REFERENCE_TIME tStop,
  456.             /* [in] */ double dRate);
  457.         
  458.     } IPinVtbl;
  459.  
  460.     interface IPin
  461.     {
  462.         CONST_VTBL struct IPinVtbl __RPC_FAR *lpVtbl;
  463.     };
  464.  
  465.     
  466.  
  467. #ifdef COBJMACROS
  468.  
  469.  
  470. #define IPin_QueryInterface(This,riid,ppvObject)    \
  471.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  472.  
  473. #define IPin_AddRef(This)    \
  474.     (This)->lpVtbl -> AddRef(This)
  475.  
  476. #define IPin_Release(This)    \
  477.     (This)->lpVtbl -> Release(This)
  478.  
  479.  
  480. #define IPin_Connect(This,pReceivePin,pmt)    \
  481.     (This)->lpVtbl -> Connect(This,pReceivePin,pmt)
  482.  
  483. #define IPin_ReceiveConnection(This,pConnector,pmt)    \
  484.     (This)->lpVtbl -> ReceiveConnection(This,pConnector,pmt)
  485.  
  486. #define IPin_Disconnect(This)    \
  487.     (This)->lpVtbl -> Disconnect(This)
  488.  
  489. #define IPin_ConnectedTo(This,pPin)    \
  490.     (This)->lpVtbl -> ConnectedTo(This,pPin)
  491.  
  492. #define IPin_ConnectionMediaType(This,pmt)    \
  493.     (This)->lpVtbl -> ConnectionMediaType(This,pmt)
  494.  
  495. #define IPin_QueryPinInfo(This,pInfo)    \
  496.     (This)->lpVtbl -> QueryPinInfo(This,pInfo)
  497.  
  498. #define IPin_QueryDirection(This,pPinDir)    \
  499.     (This)->lpVtbl -> QueryDirection(This,pPinDir)
  500.  
  501. #define IPin_QueryId(This,Id)    \
  502.     (This)->lpVtbl -> QueryId(This,Id)
  503.  
  504. #define IPin_QueryAccept(This,pmt)    \
  505.     (This)->lpVtbl -> QueryAccept(This,pmt)
  506.  
  507. #define IPin_EnumMediaTypes(This,ppEnum)    \
  508.     (This)->lpVtbl -> EnumMediaTypes(This,ppEnum)
  509.  
  510. #define IPin_QueryInternalConnections(This,apPin,nPin)    \
  511.     (This)->lpVtbl -> QueryInternalConnections(This,apPin,nPin)
  512.  
  513. #define IPin_EndOfStream(This)    \
  514.     (This)->lpVtbl -> EndOfStream(This)
  515.  
  516. #define IPin_BeginFlush(This)    \
  517.     (This)->lpVtbl -> BeginFlush(This)
  518.  
  519. #define IPin_EndFlush(This)    \
  520.     (This)->lpVtbl -> EndFlush(This)
  521.  
  522. #define IPin_NewSegment(This,tStart,tStop,dRate)    \
  523.     (This)->lpVtbl -> NewSegment(This,tStart,tStop,dRate)
  524.  
  525. #endif /* COBJMACROS */
  526.  
  527.  
  528. #endif     /* C style interface */
  529.  
  530.  
  531.  
  532. HRESULT __stdcall IPin_Connect_Proxy( 
  533.     IPin __RPC_FAR * This,
  534.     /* [in] */ IPin __RPC_FAR *pReceivePin,
  535.     /* [in] */ const AM_MEDIA_TYPE __RPC_FAR *pmt);
  536.  
  537.  
  538. void __RPC_STUB IPin_Connect_Stub(
  539.     IRpcStubBuffer *This,
  540.     IRpcChannelBuffer *_pRpcChannelBuffer,
  541.     PRPC_MESSAGE _pRpcMessage,
  542.     DWORD *_pdwStubPhase);
  543.  
  544.  
  545. HRESULT __stdcall IPin_ReceiveConnection_Proxy( 
  546.     IPin __RPC_FAR * This,
  547.     /* [in] */ IPin __RPC_FAR *pConnector,
  548.     /* [in] */ const AM_MEDIA_TYPE __RPC_FAR *pmt);
  549.  
  550.  
  551. void __RPC_STUB IPin_ReceiveConnection_Stub(
  552.     IRpcStubBuffer *This,
  553.     IRpcChannelBuffer *_pRpcChannelBuffer,
  554.     PRPC_MESSAGE _pRpcMessage,
  555.     DWORD *_pdwStubPhase);
  556.  
  557.  
  558. HRESULT __stdcall IPin_Disconnect_Proxy( 
  559.     IPin __RPC_FAR * This);
  560.  
  561.  
  562. void __RPC_STUB IPin_Disconnect_Stub(
  563.     IRpcStubBuffer *This,
  564.     IRpcChannelBuffer *_pRpcChannelBuffer,
  565.     PRPC_MESSAGE _pRpcMessage,
  566.     DWORD *_pdwStubPhase);
  567.  
  568.  
  569. HRESULT __stdcall IPin_ConnectedTo_Proxy( 
  570.     IPin __RPC_FAR * This,
  571.     /* [out] */ IPin __RPC_FAR *__RPC_FAR *pPin);
  572.  
  573.  
  574. void __RPC_STUB IPin_ConnectedTo_Stub(
  575.     IRpcStubBuffer *This,
  576.     IRpcChannelBuffer *_pRpcChannelBuffer,
  577.     PRPC_MESSAGE _pRpcMessage,
  578.     DWORD *_pdwStubPhase);
  579.  
  580.  
  581. HRESULT __stdcall IPin_ConnectionMediaType_Proxy( 
  582.     IPin __RPC_FAR * This,
  583.     /* [out] */ AM_MEDIA_TYPE __RPC_FAR *pmt);
  584.  
  585.  
  586. void __RPC_STUB IPin_ConnectionMediaType_Stub(
  587.     IRpcStubBuffer *This,
  588.     IRpcChannelBuffer *_pRpcChannelBuffer,
  589.     PRPC_MESSAGE _pRpcMessage,
  590.     DWORD *_pdwStubPhase);
  591.  
  592.  
  593. HRESULT __stdcall IPin_QueryPinInfo_Proxy( 
  594.     IPin __RPC_FAR * This,
  595.     /* [out] */ PIN_INFO __RPC_FAR *pInfo);
  596.  
  597.  
  598. void __RPC_STUB IPin_QueryPinInfo_Stub(
  599.     IRpcStubBuffer *This,
  600.     IRpcChannelBuffer *_pRpcChannelBuffer,
  601.     PRPC_MESSAGE _pRpcMessage,
  602.     DWORD *_pdwStubPhase);
  603.  
  604.  
  605. HRESULT __stdcall IPin_QueryDirection_Proxy( 
  606.     IPin __RPC_FAR * This,
  607.     /* [out] */ PIN_DIRECTION __RPC_FAR *pPinDir);
  608.  
  609.  
  610. void __RPC_STUB IPin_QueryDirection_Stub(
  611.     IRpcStubBuffer *This,
  612.     IRpcChannelBuffer *_pRpcChannelBuffer,
  613.     PRPC_MESSAGE _pRpcMessage,
  614.     DWORD *_pdwStubPhase);
  615.  
  616.  
  617. HRESULT __stdcall IPin_QueryId_Proxy( 
  618.     IPin __RPC_FAR * This,
  619.     /* [out] */ LPWSTR __RPC_FAR *Id);
  620.  
  621.  
  622. void __RPC_STUB IPin_QueryId_Stub(
  623.     IRpcStubBuffer *This,
  624.     IRpcChannelBuffer *_pRpcChannelBuffer,
  625.     PRPC_MESSAGE _pRpcMessage,
  626.     DWORD *_pdwStubPhase);
  627.  
  628.  
  629. HRESULT __stdcall IPin_QueryAccept_Proxy( 
  630.     IPin __RPC_FAR * This,
  631.     /* [in] */ const AM_MEDIA_TYPE __RPC_FAR *pmt);
  632.  
  633.  
  634. void __RPC_STUB IPin_QueryAccept_Stub(
  635.     IRpcStubBuffer *This,
  636.     IRpcChannelBuffer *_pRpcChannelBuffer,
  637.     PRPC_MESSAGE _pRpcMessage,
  638.     DWORD *_pdwStubPhase);
  639.  
  640.  
  641. HRESULT __stdcall IPin_EnumMediaTypes_Proxy( 
  642.     IPin __RPC_FAR * This,
  643.     /* [out] */ IEnumMediaTypes __RPC_FAR *__RPC_FAR *ppEnum);
  644.  
  645.  
  646. void __RPC_STUB IPin_EnumMediaTypes_Stub(
  647.     IRpcStubBuffer *This,
  648.     IRpcChannelBuffer *_pRpcChannelBuffer,
  649.     PRPC_MESSAGE _pRpcMessage,
  650.     DWORD *_pdwStubPhase);
  651.  
  652.  
  653. HRESULT __stdcall IPin_QueryInternalConnections_Proxy( 
  654.     IPin __RPC_FAR * This,
  655.     /* [out] */ IPin __RPC_FAR *__RPC_FAR *apPin,
  656.     /* [out][in] */ ULONG __RPC_FAR *nPin);
  657.  
  658.  
  659. void __RPC_STUB IPin_QueryInternalConnections_Stub(
  660.     IRpcStubBuffer *This,
  661.     IRpcChannelBuffer *_pRpcChannelBuffer,
  662.     PRPC_MESSAGE _pRpcMessage,
  663.     DWORD *_pdwStubPhase);
  664.  
  665.  
  666. HRESULT __stdcall IPin_EndOfStream_Proxy( 
  667.     IPin __RPC_FAR * This);
  668.  
  669.  
  670. void __RPC_STUB IPin_EndOfStream_Stub(
  671.     IRpcStubBuffer *This,
  672.     IRpcChannelBuffer *_pRpcChannelBuffer,
  673.     PRPC_MESSAGE _pRpcMessage,
  674.     DWORD *_pdwStubPhase);
  675.  
  676.  
  677. HRESULT __stdcall IPin_BeginFlush_Proxy( 
  678.     IPin __RPC_FAR * This);
  679.  
  680.  
  681. void __RPC_STUB IPin_BeginFlush_Stub(
  682.     IRpcStubBuffer *This,
  683.     IRpcChannelBuffer *_pRpcChannelBuffer,
  684.     PRPC_MESSAGE _pRpcMessage,
  685.     DWORD *_pdwStubPhase);
  686.  
  687.  
  688. HRESULT __stdcall IPin_EndFlush_Proxy( 
  689.     IPin __RPC_FAR * This);
  690.  
  691.  
  692. void __RPC_STUB IPin_EndFlush_Stub(
  693.     IRpcStubBuffer *This,
  694.     IRpcChannelBuffer *_pRpcChannelBuffer,
  695.     PRPC_MESSAGE _pRpcMessage,
  696.     DWORD *_pdwStubPhase);
  697.  
  698.  
  699. HRESULT __stdcall IPin_NewSegment_Proxy( 
  700.     IPin __RPC_FAR * This,
  701.     /* [in] */ REFERENCE_TIME tStart,
  702.     /* [in] */ REFERENCE_TIME tStop,
  703.     /* [in] */ double dRate);
  704.  
  705.  
  706. void __RPC_STUB IPin_NewSegment_Stub(
  707.     IRpcStubBuffer *This,
  708.     IRpcChannelBuffer *_pRpcChannelBuffer,
  709.     PRPC_MESSAGE _pRpcMessage,
  710.     DWORD *_pdwStubPhase);
  711.  
  712.  
  713.  
  714. #endif     /* __IPin_INTERFACE_DEFINED__ */
  715.  
  716.  
  717. /****************************************
  718.  * Generated header for interface: __MIDL__intf_0041
  719.  * at Wed Jun 26 01:38:28 1996
  720.  * using MIDL 2.00.0102
  721.  ****************************************/
  722. /* [local] */ 
  723.  
  724.  
  725.             /* size is 4 */
  726. typedef IPin __RPC_FAR *PPIN;
  727.  
  728.  
  729.  
  730. extern RPC_IF_HANDLE __MIDL__intf_0041_v0_0_c_ifspec;
  731. extern RPC_IF_HANDLE __MIDL__intf_0041_v0_0_s_ifspec;
  732.  
  733. #ifndef __IEnumPins_INTERFACE_DEFINED__
  734. #define __IEnumPins_INTERFACE_DEFINED__
  735.  
  736. /****************************************
  737.  * Generated header for interface: IEnumPins
  738.  * at Wed Jun 26 01:38:28 1996
  739.  * using MIDL 2.00.0102
  740.  ****************************************/
  741. /* [unique][uuid][object] */ 
  742.  
  743.  
  744.  
  745. EXTERN_C const IID IID_IEnumPins;
  746.  
  747. #if defined(__cplusplus) && !defined(CINTERFACE)
  748.     
  749.     interface IEnumPins : public IUnknown
  750.     {
  751.     public:
  752.         virtual HRESULT __stdcall Next( 
  753.             /* [in] */ ULONG cPins,
  754.             /* [size_is][out] */ IPin __RPC_FAR *__RPC_FAR *ppPins,
  755.             /* [out] */ ULONG __RPC_FAR *pcFetched) = 0;
  756.         
  757.         virtual HRESULT __stdcall Skip( 
  758.             /* [in] */ ULONG cPins) = 0;
  759.         
  760.         virtual HRESULT __stdcall Reset( void) = 0;
  761.         
  762.         virtual HRESULT __stdcall Clone( 
  763.             /* [out] */ IEnumPins __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  764.         
  765.     };
  766.     
  767. #else     /* C style interface */
  768.  
  769.     typedef struct IEnumPinsVtbl
  770.     {
  771.         
  772.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  773.             IEnumPins __RPC_FAR * This,
  774.             /* [in] */ REFIID riid,
  775.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  776.         
  777.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  778.             IEnumPins __RPC_FAR * This);
  779.         
  780.         ULONG ( __stdcall __RPC_FAR *Release )( 
  781.             IEnumPins __RPC_FAR * This);
  782.         
  783.         HRESULT ( __stdcall __RPC_FAR *Next )( 
  784.             IEnumPins __RPC_FAR * This,
  785.             /* [in] */ ULONG cPins,
  786.             /* [size_is][out] */ IPin __RPC_FAR *__RPC_FAR *ppPins,
  787.             /* [out] */ ULONG __RPC_FAR *pcFetched);
  788.         
  789.         HRESULT ( __stdcall __RPC_FAR *Skip )( 
  790.             IEnumPins __RPC_FAR * This,
  791.             /* [in] */ ULONG cPins);
  792.         
  793.         HRESULT ( __stdcall __RPC_FAR *Reset )( 
  794.             IEnumPins __RPC_FAR * This);
  795.         
  796.         HRESULT ( __stdcall __RPC_FAR *Clone )( 
  797.             IEnumPins __RPC_FAR * This,
  798.             /* [out] */ IEnumPins __RPC_FAR *__RPC_FAR *ppEnum);
  799.         
  800.     } IEnumPinsVtbl;
  801.  
  802.     interface IEnumPins
  803.     {
  804.         CONST_VTBL struct IEnumPinsVtbl __RPC_FAR *lpVtbl;
  805.     };
  806.  
  807.     
  808.  
  809. #ifdef COBJMACROS
  810.  
  811.  
  812. #define IEnumPins_QueryInterface(This,riid,ppvObject)    \
  813.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  814.  
  815. #define IEnumPins_AddRef(This)    \
  816.     (This)->lpVtbl -> AddRef(This)
  817.  
  818. #define IEnumPins_Release(This)    \
  819.     (This)->lpVtbl -> Release(This)
  820.  
  821.  
  822. #define IEnumPins_Next(This,cPins,ppPins,pcFetched)    \
  823.     (This)->lpVtbl -> Next(This,cPins,ppPins,pcFetched)
  824.  
  825. #define IEnumPins_Skip(This,cPins)    \
  826.     (This)->lpVtbl -> Skip(This,cPins)
  827.  
  828. #define IEnumPins_Reset(This)    \
  829.     (This)->lpVtbl -> Reset(This)
  830.  
  831. #define IEnumPins_Clone(This,ppEnum)    \
  832.     (This)->lpVtbl -> Clone(This,ppEnum)
  833.  
  834. #endif /* COBJMACROS */
  835.  
  836.  
  837. #endif     /* C style interface */
  838.  
  839.  
  840.  
  841. HRESULT __stdcall IEnumPins_Next_Proxy( 
  842.     IEnumPins __RPC_FAR * This,
  843.     /* [in] */ ULONG cPins,
  844.     /* [size_is][out] */ IPin __RPC_FAR *__RPC_FAR *ppPins,
  845.     /* [out] */ ULONG __RPC_FAR *pcFetched);
  846.  
  847.  
  848. void __RPC_STUB IEnumPins_Next_Stub(
  849.     IRpcStubBuffer *This,
  850.     IRpcChannelBuffer *_pRpcChannelBuffer,
  851.     PRPC_MESSAGE _pRpcMessage,
  852.     DWORD *_pdwStubPhase);
  853.  
  854.  
  855. HRESULT __stdcall IEnumPins_Skip_Proxy( 
  856.     IEnumPins __RPC_FAR * This,
  857.     /* [in] */ ULONG cPins);
  858.  
  859.  
  860. void __RPC_STUB IEnumPins_Skip_Stub(
  861.     IRpcStubBuffer *This,
  862.     IRpcChannelBuffer *_pRpcChannelBuffer,
  863.     PRPC_MESSAGE _pRpcMessage,
  864.     DWORD *_pdwStubPhase);
  865.  
  866.  
  867. HRESULT __stdcall IEnumPins_Reset_Proxy( 
  868.     IEnumPins __RPC_FAR * This);
  869.  
  870.  
  871. void __RPC_STUB IEnumPins_Reset_Stub(
  872.     IRpcStubBuffer *This,
  873.     IRpcChannelBuffer *_pRpcChannelBuffer,
  874.     PRPC_MESSAGE _pRpcMessage,
  875.     DWORD *_pdwStubPhase);
  876.  
  877.  
  878. HRESULT __stdcall IEnumPins_Clone_Proxy( 
  879.     IEnumPins __RPC_FAR * This,
  880.     /* [out] */ IEnumPins __RPC_FAR *__RPC_FAR *ppEnum);
  881.  
  882.  
  883. void __RPC_STUB IEnumPins_Clone_Stub(
  884.     IRpcStubBuffer *This,
  885.     IRpcChannelBuffer *_pRpcChannelBuffer,
  886.     PRPC_MESSAGE _pRpcMessage,
  887.     DWORD *_pdwStubPhase);
  888.  
  889.  
  890.  
  891. #endif     /* __IEnumPins_INTERFACE_DEFINED__ */
  892.  
  893.  
  894. /****************************************
  895.  * Generated header for interface: __MIDL__intf_0042
  896.  * at Wed Jun 26 01:38:28 1996
  897.  * using MIDL 2.00.0102
  898.  ****************************************/
  899. /* [local] */ 
  900.  
  901.  
  902.             /* size is 4 */
  903. typedef IEnumPins __RPC_FAR *PENUMPINS;
  904.  
  905.  
  906.  
  907. extern RPC_IF_HANDLE __MIDL__intf_0042_v0_0_c_ifspec;
  908. extern RPC_IF_HANDLE __MIDL__intf_0042_v0_0_s_ifspec;
  909.  
  910. #ifndef __IEnumMediaTypes_INTERFACE_DEFINED__
  911. #define __IEnumMediaTypes_INTERFACE_DEFINED__
  912.  
  913. /****************************************
  914.  * Generated header for interface: IEnumMediaTypes
  915.  * at Wed Jun 26 01:38:28 1996
  916.  * using MIDL 2.00.0102
  917.  ****************************************/
  918. /* [unique][uuid][object] */ 
  919.  
  920.  
  921.  
  922. EXTERN_C const IID IID_IEnumMediaTypes;
  923.  
  924. #if defined(__cplusplus) && !defined(CINTERFACE)
  925.     
  926.     interface IEnumMediaTypes : public IUnknown
  927.     {
  928.     public:
  929.         virtual HRESULT __stdcall Next( 
  930.             /* [in] */ ULONG cMediaTypes,
  931.             /* [size_is][out] */ AM_MEDIA_TYPE __RPC_FAR *__RPC_FAR *ppMediaTypes,
  932.             /* [out] */ ULONG __RPC_FAR *pcFetched) = 0;
  933.         
  934.         virtual HRESULT __stdcall Skip( 
  935.             /* [in] */ ULONG cMediaTypes) = 0;
  936.         
  937.         virtual HRESULT __stdcall Reset( void) = 0;
  938.         
  939.         virtual HRESULT __stdcall Clone( 
  940.             /* [out] */ IEnumMediaTypes __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  941.         
  942.     };
  943.     
  944. #else     /* C style interface */
  945.  
  946.     typedef struct IEnumMediaTypesVtbl
  947.     {
  948.         
  949.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  950.             IEnumMediaTypes __RPC_FAR * This,
  951.             /* [in] */ REFIID riid,
  952.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  953.         
  954.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  955.             IEnumMediaTypes __RPC_FAR * This);
  956.         
  957.         ULONG ( __stdcall __RPC_FAR *Release )( 
  958.             IEnumMediaTypes __RPC_FAR * This);
  959.         
  960.         HRESULT ( __stdcall __RPC_FAR *Next )( 
  961.             IEnumMediaTypes __RPC_FAR * This,
  962.             /* [in] */ ULONG cMediaTypes,
  963.             /* [size_is][out] */ AM_MEDIA_TYPE __RPC_FAR *__RPC_FAR *ppMediaTypes,
  964.             /* [out] */ ULONG __RPC_FAR *pcFetched);
  965.         
  966.         HRESULT ( __stdcall __RPC_FAR *Skip )( 
  967.             IEnumMediaTypes __RPC_FAR * This,
  968.             /* [in] */ ULONG cMediaTypes);
  969.         
  970.         HRESULT ( __stdcall __RPC_FAR *Reset )( 
  971.             IEnumMediaTypes __RPC_FAR * This);
  972.         
  973.         HRESULT ( __stdcall __RPC_FAR *Clone )( 
  974.             IEnumMediaTypes __RPC_FAR * This,
  975.             /* [out] */ IEnumMediaTypes __RPC_FAR *__RPC_FAR *ppEnum);
  976.         
  977.     } IEnumMediaTypesVtbl;
  978.  
  979.     interface IEnumMediaTypes
  980.     {
  981.         CONST_VTBL struct IEnumMediaTypesVtbl __RPC_FAR *lpVtbl;
  982.     };
  983.  
  984.     
  985.  
  986. #ifdef COBJMACROS
  987.  
  988.  
  989. #define IEnumMediaTypes_QueryInterface(This,riid,ppvObject)    \
  990.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  991.  
  992. #define IEnumMediaTypes_AddRef(This)    \
  993.     (This)->lpVtbl -> AddRef(This)
  994.  
  995. #define IEnumMediaTypes_Release(This)    \
  996.     (This)->lpVtbl -> Release(This)
  997.  
  998.  
  999. #define IEnumMediaTypes_Next(This,cMediaTypes,ppMediaTypes,pcFetched)    \
  1000.     (This)->lpVtbl -> Next(This,cMediaTypes,ppMediaTypes,pcFetched)
  1001.  
  1002. #define IEnumMediaTypes_Skip(This,cMediaTypes)    \
  1003.     (This)->lpVtbl -> Skip(This,cMediaTypes)
  1004.  
  1005. #define IEnumMediaTypes_Reset(This)    \
  1006.     (This)->lpVtbl -> Reset(This)
  1007.  
  1008. #define IEnumMediaTypes_Clone(This,ppEnum)    \
  1009.     (This)->lpVtbl -> Clone(This,ppEnum)
  1010.  
  1011. #endif /* COBJMACROS */
  1012.  
  1013.  
  1014. #endif     /* C style interface */
  1015.  
  1016.  
  1017.  
  1018. HRESULT __stdcall IEnumMediaTypes_Next_Proxy( 
  1019.     IEnumMediaTypes __RPC_FAR * This,
  1020.     /* [in] */ ULONG cMediaTypes,
  1021.     /* [size_is][out] */ AM_MEDIA_TYPE __RPC_FAR *__RPC_FAR *ppMediaTypes,
  1022.     /* [out] */ ULONG __RPC_FAR *pcFetched);
  1023.  
  1024.  
  1025. void __RPC_STUB IEnumMediaTypes_Next_Stub(
  1026.     IRpcStubBuffer *This,
  1027.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1028.     PRPC_MESSAGE _pRpcMessage,
  1029.     DWORD *_pdwStubPhase);
  1030.  
  1031.  
  1032. HRESULT __stdcall IEnumMediaTypes_Skip_Proxy( 
  1033.     IEnumMediaTypes __RPC_FAR * This,
  1034.     /* [in] */ ULONG cMediaTypes);
  1035.  
  1036.  
  1037. void __RPC_STUB IEnumMediaTypes_Skip_Stub(
  1038.     IRpcStubBuffer *This,
  1039.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1040.     PRPC_MESSAGE _pRpcMessage,
  1041.     DWORD *_pdwStubPhase);
  1042.  
  1043.  
  1044. HRESULT __stdcall IEnumMediaTypes_Reset_Proxy( 
  1045.     IEnumMediaTypes __RPC_FAR * This);
  1046.  
  1047.  
  1048. void __RPC_STUB IEnumMediaTypes_Reset_Stub(
  1049.     IRpcStubBuffer *This,
  1050.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1051.     PRPC_MESSAGE _pRpcMessage,
  1052.     DWORD *_pdwStubPhase);
  1053.  
  1054.  
  1055. HRESULT __stdcall IEnumMediaTypes_Clone_Proxy( 
  1056.     IEnumMediaTypes __RPC_FAR * This,
  1057.     /* [out] */ IEnumMediaTypes __RPC_FAR *__RPC_FAR *ppEnum);
  1058.  
  1059.  
  1060. void __RPC_STUB IEnumMediaTypes_Clone_Stub(
  1061.     IRpcStubBuffer *This,
  1062.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1063.     PRPC_MESSAGE _pRpcMessage,
  1064.     DWORD *_pdwStubPhase);
  1065.  
  1066.  
  1067.  
  1068. #endif     /* __IEnumMediaTypes_INTERFACE_DEFINED__ */
  1069.  
  1070.  
  1071. /****************************************
  1072.  * Generated header for interface: __MIDL__intf_0043
  1073.  * at Wed Jun 26 01:38:28 1996
  1074.  * using MIDL 2.00.0102
  1075.  ****************************************/
  1076. /* [local] */ 
  1077.  
  1078.  
  1079.             /* size is 4 */
  1080. typedef IEnumMediaTypes __RPC_FAR *PENUMMEDIATYPES;
  1081.  
  1082.  
  1083.  
  1084. extern RPC_IF_HANDLE __MIDL__intf_0043_v0_0_c_ifspec;
  1085. extern RPC_IF_HANDLE __MIDL__intf_0043_v0_0_s_ifspec;
  1086.  
  1087. #ifndef __IFilterGraph_INTERFACE_DEFINED__
  1088. #define __IFilterGraph_INTERFACE_DEFINED__
  1089.  
  1090. /****************************************
  1091.  * Generated header for interface: IFilterGraph
  1092.  * at Wed Jun 26 01:38:28 1996
  1093.  * using MIDL 2.00.0102
  1094.  ****************************************/
  1095. /* [unique][uuid][object] */ 
  1096.  
  1097.  
  1098.  
  1099. EXTERN_C const IID IID_IFilterGraph;
  1100.  
  1101. #if defined(__cplusplus) && !defined(CINTERFACE)
  1102.     
  1103.     interface IFilterGraph : public IUnknown
  1104.     {
  1105.     public:
  1106.         virtual HRESULT __stdcall AddFilter( 
  1107.             /* [in] */ IFilter __RPC_FAR *pFilter,
  1108.             /* [string][in] */ LPCWSTR pName) = 0;
  1109.         
  1110.         virtual HRESULT __stdcall RemoveFilter( 
  1111.             /* [in] */ IFilter __RPC_FAR *pFilter) = 0;
  1112.         
  1113.         virtual HRESULT __stdcall EnumFilters( 
  1114.             /* [out] */ IEnumFilters __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  1115.         
  1116.         virtual HRESULT __stdcall FindFilterByName( 
  1117.             /* [string][in] */ LPCWSTR pName,
  1118.             /* [out] */ IFilter __RPC_FAR *__RPC_FAR *ppFilter) = 0;
  1119.         
  1120.         virtual HRESULT __stdcall ConnectDirect( 
  1121.             /* [in] */ IPin __RPC_FAR *ppinOut,
  1122.             /* [in] */ IPin __RPC_FAR *ppinIn,
  1123.             /* [in] */ const AM_MEDIA_TYPE __RPC_FAR *pmt) = 0;
  1124.         
  1125.         virtual HRESULT __stdcall Reconnect( 
  1126.             /* [in] */ IPin __RPC_FAR *ppin) = 0;
  1127.         
  1128.         virtual HRESULT __stdcall Disconnect( 
  1129.             /* [in] */ IPin __RPC_FAR *ppin) = 0;
  1130.         
  1131.         virtual HRESULT __stdcall SetDefaultSyncSource( void) = 0;
  1132.         
  1133.     };
  1134.     
  1135. #else     /* C style interface */
  1136.  
  1137.     typedef struct IFilterGraphVtbl
  1138.     {
  1139.         
  1140.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  1141.             IFilterGraph __RPC_FAR * This,
  1142.             /* [in] */ REFIID riid,
  1143.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1144.         
  1145.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  1146.             IFilterGraph __RPC_FAR * This);
  1147.         
  1148.         ULONG ( __stdcall __RPC_FAR *Release )( 
  1149.             IFilterGraph __RPC_FAR * This);
  1150.         
  1151.         HRESULT ( __stdcall __RPC_FAR *AddFilter )( 
  1152.             IFilterGraph __RPC_FAR * This,
  1153.             /* [in] */ IFilter __RPC_FAR *pFilter,
  1154.             /* [string][in] */ LPCWSTR pName);
  1155.         
  1156.         HRESULT ( __stdcall __RPC_FAR *RemoveFilter )( 
  1157.             IFilterGraph __RPC_FAR * This,
  1158.             /* [in] */ IFilter __RPC_FAR *pFilter);
  1159.         
  1160.         HRESULT ( __stdcall __RPC_FAR *EnumFilters )( 
  1161.             IFilterGraph __RPC_FAR * This,
  1162.             /* [out] */ IEnumFilters __RPC_FAR *__RPC_FAR *ppEnum);
  1163.         
  1164.         HRESULT ( __stdcall __RPC_FAR *FindFilterByName )( 
  1165.             IFilterGraph __RPC_FAR * This,
  1166.             /* [string][in] */ LPCWSTR pName,
  1167.             /* [out] */ IFilter __RPC_FAR *__RPC_FAR *ppFilter);
  1168.         
  1169.         HRESULT ( __stdcall __RPC_FAR *ConnectDirect )( 
  1170.             IFilterGraph __RPC_FAR * This,
  1171.             /* [in] */ IPin __RPC_FAR *ppinOut,
  1172.             /* [in] */ IPin __RPC_FAR *ppinIn,
  1173.             /* [in] */ const AM_MEDIA_TYPE __RPC_FAR *pmt);
  1174.         
  1175.         HRESULT ( __stdcall __RPC_FAR *Reconnect )( 
  1176.             IFilterGraph __RPC_FAR * This,
  1177.             /* [in] */ IPin __RPC_FAR *ppin);
  1178.         
  1179.         HRESULT ( __stdcall __RPC_FAR *Disconnect )( 
  1180.             IFilterGraph __RPC_FAR * This,
  1181.             /* [in] */ IPin __RPC_FAR *ppin);
  1182.         
  1183.         HRESULT ( __stdcall __RPC_FAR *SetDefaultSyncSource )( 
  1184.             IFilterGraph __RPC_FAR * This);
  1185.         
  1186.     } IFilterGraphVtbl;
  1187.  
  1188.     interface IFilterGraph
  1189.     {
  1190.         CONST_VTBL struct IFilterGraphVtbl __RPC_FAR *lpVtbl;
  1191.     };
  1192.  
  1193.     
  1194.  
  1195. #ifdef COBJMACROS
  1196.  
  1197.  
  1198. #define IFilterGraph_QueryInterface(This,riid,ppvObject)    \
  1199.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1200.  
  1201. #define IFilterGraph_AddRef(This)    \
  1202.     (This)->lpVtbl -> AddRef(This)
  1203.  
  1204. #define IFilterGraph_Release(This)    \
  1205.     (This)->lpVtbl -> Release(This)
  1206.  
  1207.  
  1208. #define IFilterGraph_AddFilter(This,pFilter,pName)    \
  1209.     (This)->lpVtbl -> AddFilter(This,pFilter,pName)
  1210.  
  1211. #define IFilterGraph_RemoveFilter(This,pFilter)    \
  1212.     (This)->lpVtbl -> RemoveFilter(This,pFilter)
  1213.  
  1214. #define IFilterGraph_EnumFilters(This,ppEnum)    \
  1215.     (This)->lpVtbl -> EnumFilters(This,ppEnum)
  1216.  
  1217. #define IFilterGraph_FindFilterByName(This,pName,ppFilter)    \
  1218.     (This)->lpVtbl -> FindFilterByName(This,pName,ppFilter)
  1219.  
  1220. #define IFilterGraph_ConnectDirect(This,ppinOut,ppinIn,pmt)    \
  1221.     (This)->lpVtbl -> ConnectDirect(This,ppinOut,ppinIn,pmt)
  1222.  
  1223. #define IFilterGraph_Reconnect(This,ppin)    \
  1224.     (This)->lpVtbl -> Reconnect(This,ppin)
  1225.  
  1226. #define IFilterGraph_Disconnect(This,ppin)    \
  1227.     (This)->lpVtbl -> Disconnect(This,ppin)
  1228.  
  1229. #define IFilterGraph_SetDefaultSyncSource(This)    \
  1230.     (This)->lpVtbl -> SetDefaultSyncSource(This)
  1231.  
  1232. #endif /* COBJMACROS */
  1233.  
  1234.  
  1235. #endif     /* C style interface */
  1236.  
  1237.  
  1238.  
  1239. HRESULT __stdcall IFilterGraph_AddFilter_Proxy( 
  1240.     IFilterGraph __RPC_FAR * This,
  1241.     /* [in] */ IFilter __RPC_FAR *pFilter,
  1242.     /* [string][in] */ LPCWSTR pName);
  1243.  
  1244.  
  1245. void __RPC_STUB IFilterGraph_AddFilter_Stub(
  1246.     IRpcStubBuffer *This,
  1247.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1248.     PRPC_MESSAGE _pRpcMessage,
  1249.     DWORD *_pdwStubPhase);
  1250.  
  1251.  
  1252. HRESULT __stdcall IFilterGraph_RemoveFilter_Proxy( 
  1253.     IFilterGraph __RPC_FAR * This,
  1254.     /* [in] */ IFilter __RPC_FAR *pFilter);
  1255.  
  1256.  
  1257. void __RPC_STUB IFilterGraph_RemoveFilter_Stub(
  1258.     IRpcStubBuffer *This,
  1259.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1260.     PRPC_MESSAGE _pRpcMessage,
  1261.     DWORD *_pdwStubPhase);
  1262.  
  1263.  
  1264. HRESULT __stdcall IFilterGraph_EnumFilters_Proxy( 
  1265.     IFilterGraph __RPC_FAR * This,
  1266.     /* [out] */ IEnumFilters __RPC_FAR *__RPC_FAR *ppEnum);
  1267.  
  1268.  
  1269. void __RPC_STUB IFilterGraph_EnumFilters_Stub(
  1270.     IRpcStubBuffer *This,
  1271.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1272.     PRPC_MESSAGE _pRpcMessage,
  1273.     DWORD *_pdwStubPhase);
  1274.  
  1275.  
  1276. HRESULT __stdcall IFilterGraph_FindFilterByName_Proxy( 
  1277.     IFilterGraph __RPC_FAR * This,
  1278.     /* [string][in] */ LPCWSTR pName,
  1279.     /* [out] */ IFilter __RPC_FAR *__RPC_FAR *ppFilter);
  1280.  
  1281.  
  1282. void __RPC_STUB IFilterGraph_FindFilterByName_Stub(
  1283.     IRpcStubBuffer *This,
  1284.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1285.     PRPC_MESSAGE _pRpcMessage,
  1286.     DWORD *_pdwStubPhase);
  1287.  
  1288.  
  1289. HRESULT __stdcall IFilterGraph_ConnectDirect_Proxy( 
  1290.     IFilterGraph __RPC_FAR * This,
  1291.     /* [in] */ IPin __RPC_FAR *ppinOut,
  1292.     /* [in] */ IPin __RPC_FAR *ppinIn,
  1293.     /* [in] */ const AM_MEDIA_TYPE __RPC_FAR *pmt);
  1294.  
  1295.  
  1296. void __RPC_STUB IFilterGraph_ConnectDirect_Stub(
  1297.     IRpcStubBuffer *This,
  1298.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1299.     PRPC_MESSAGE _pRpcMessage,
  1300.     DWORD *_pdwStubPhase);
  1301.  
  1302.  
  1303. HRESULT __stdcall IFilterGraph_Reconnect_Proxy( 
  1304.     IFilterGraph __RPC_FAR * This,
  1305.     /* [in] */ IPin __RPC_FAR *ppin);
  1306.  
  1307.  
  1308. void __RPC_STUB IFilterGraph_Reconnect_Stub(
  1309.     IRpcStubBuffer *This,
  1310.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1311.     PRPC_MESSAGE _pRpcMessage,
  1312.     DWORD *_pdwStubPhase);
  1313.  
  1314.  
  1315. HRESULT __stdcall IFilterGraph_Disconnect_Proxy( 
  1316.     IFilterGraph __RPC_FAR * This,
  1317.     /* [in] */ IPin __RPC_FAR *ppin);
  1318.  
  1319.  
  1320. void __RPC_STUB IFilterGraph_Disconnect_Stub(
  1321.     IRpcStubBuffer *This,
  1322.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1323.     PRPC_MESSAGE _pRpcMessage,
  1324.     DWORD *_pdwStubPhase);
  1325.  
  1326.  
  1327. HRESULT __stdcall IFilterGraph_SetDefaultSyncSource_Proxy( 
  1328.     IFilterGraph __RPC_FAR * This);
  1329.  
  1330.  
  1331. void __RPC_STUB IFilterGraph_SetDefaultSyncSource_Stub(
  1332.     IRpcStubBuffer *This,
  1333.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1334.     PRPC_MESSAGE _pRpcMessage,
  1335.     DWORD *_pdwStubPhase);
  1336.  
  1337.  
  1338.  
  1339. #endif     /* __IFilterGraph_INTERFACE_DEFINED__ */
  1340.  
  1341.  
  1342. /****************************************
  1343.  * Generated header for interface: __MIDL__intf_0044
  1344.  * at Wed Jun 26 01:38:28 1996
  1345.  * using MIDL 2.00.0102
  1346.  ****************************************/
  1347. /* [local] */ 
  1348.  
  1349.  
  1350.             /* size is 4 */
  1351. typedef IFilterGraph __RPC_FAR *PFILTERGRAPH;
  1352.  
  1353.  
  1354.  
  1355. extern RPC_IF_HANDLE __MIDL__intf_0044_v0_0_c_ifspec;
  1356. extern RPC_IF_HANDLE __MIDL__intf_0044_v0_0_s_ifspec;
  1357.  
  1358. #ifndef __IEnumFilters_INTERFACE_DEFINED__
  1359. #define __IEnumFilters_INTERFACE_DEFINED__
  1360.  
  1361. /****************************************
  1362.  * Generated header for interface: IEnumFilters
  1363.  * at Wed Jun 26 01:38:28 1996
  1364.  * using MIDL 2.00.0102
  1365.  ****************************************/
  1366. /* [unique][uuid][object] */ 
  1367.  
  1368.  
  1369.  
  1370. EXTERN_C const IID IID_IEnumFilters;
  1371.  
  1372. #if defined(__cplusplus) && !defined(CINTERFACE)
  1373.     
  1374.     interface IEnumFilters : public IUnknown
  1375.     {
  1376.     public:
  1377.         virtual HRESULT __stdcall Next( 
  1378.             /* [in] */ ULONG cFilters,
  1379.             /* [out] */ IFilter __RPC_FAR *__RPC_FAR *ppFilter,
  1380.             /* [out] */ ULONG __RPC_FAR *pcFetched) = 0;
  1381.         
  1382.         virtual HRESULT __stdcall Skip( 
  1383.             /* [in] */ ULONG cFilters) = 0;
  1384.         
  1385.         virtual HRESULT __stdcall Reset( void) = 0;
  1386.         
  1387.         virtual HRESULT __stdcall Clone( 
  1388.             /* [out] */ IEnumFilters __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  1389.         
  1390.     };
  1391.     
  1392. #else     /* C style interface */
  1393.  
  1394.     typedef struct IEnumFiltersVtbl
  1395.     {
  1396.         
  1397.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  1398.             IEnumFilters __RPC_FAR * This,
  1399.             /* [in] */ REFIID riid,
  1400.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1401.         
  1402.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  1403.             IEnumFilters __RPC_FAR * This);
  1404.         
  1405.         ULONG ( __stdcall __RPC_FAR *Release )( 
  1406.             IEnumFilters __RPC_FAR * This);
  1407.         
  1408.         HRESULT ( __stdcall __RPC_FAR *Next )( 
  1409.             IEnumFilters __RPC_FAR * This,
  1410.             /* [in] */ ULONG cFilters,
  1411.             /* [out] */ IFilter __RPC_FAR *__RPC_FAR *ppFilter,
  1412.             /* [out] */ ULONG __RPC_FAR *pcFetched);
  1413.         
  1414.         HRESULT ( __stdcall __RPC_FAR *Skip )( 
  1415.             IEnumFilters __RPC_FAR * This,
  1416.             /* [in] */ ULONG cFilters);
  1417.         
  1418.         HRESULT ( __stdcall __RPC_FAR *Reset )( 
  1419.             IEnumFilters __RPC_FAR * This);
  1420.         
  1421.         HRESULT ( __stdcall __RPC_FAR *Clone )( 
  1422.             IEnumFilters __RPC_FAR * This,
  1423.             /* [out] */ IEnumFilters __RPC_FAR *__RPC_FAR *ppEnum);
  1424.         
  1425.     } IEnumFiltersVtbl;
  1426.  
  1427.     interface IEnumFilters
  1428.     {
  1429.         CONST_VTBL struct IEnumFiltersVtbl __RPC_FAR *lpVtbl;
  1430.     };
  1431.  
  1432.     
  1433.  
  1434. #ifdef COBJMACROS
  1435.  
  1436.  
  1437. #define IEnumFilters_QueryInterface(This,riid,ppvObject)    \
  1438.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1439.  
  1440. #define IEnumFilters_AddRef(This)    \
  1441.     (This)->lpVtbl -> AddRef(This)
  1442.  
  1443. #define IEnumFilters_Release(This)    \
  1444.     (This)->lpVtbl -> Release(This)
  1445.  
  1446.  
  1447. #define IEnumFilters_Next(This,cFilters,ppFilter,pcFetched)    \
  1448.     (This)->lpVtbl -> Next(This,cFilters,ppFilter,pcFetched)
  1449.  
  1450. #define IEnumFilters_Skip(This,cFilters)    \
  1451.     (This)->lpVtbl -> Skip(This,cFilters)
  1452.  
  1453. #define IEnumFilters_Reset(This)    \
  1454.     (This)->lpVtbl -> Reset(This)
  1455.  
  1456. #define IEnumFilters_Clone(This,ppEnum)    \
  1457.     (This)->lpVtbl -> Clone(This,ppEnum)
  1458.  
  1459. #endif /* COBJMACROS */
  1460.  
  1461.  
  1462. #endif     /* C style interface */
  1463.  
  1464.  
  1465.  
  1466. HRESULT __stdcall IEnumFilters_Next_Proxy( 
  1467.     IEnumFilters __RPC_FAR * This,
  1468.     /* [in] */ ULONG cFilters,
  1469.     /* [out] */ IFilter __RPC_FAR *__RPC_FAR *ppFilter,
  1470.     /* [out] */ ULONG __RPC_FAR *pcFetched);
  1471.  
  1472.  
  1473. void __RPC_STUB IEnumFilters_Next_Stub(
  1474.     IRpcStubBuffer *This,
  1475.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1476.     PRPC_MESSAGE _pRpcMessage,
  1477.     DWORD *_pdwStubPhase);
  1478.  
  1479.  
  1480. HRESULT __stdcall IEnumFilters_Skip_Proxy( 
  1481.     IEnumFilters __RPC_FAR * This,
  1482.     /* [in] */ ULONG cFilters);
  1483.  
  1484.  
  1485. void __RPC_STUB IEnumFilters_Skip_Stub(
  1486.     IRpcStubBuffer *This,
  1487.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1488.     PRPC_MESSAGE _pRpcMessage,
  1489.     DWORD *_pdwStubPhase);
  1490.  
  1491.  
  1492. HRESULT __stdcall IEnumFilters_Reset_Proxy( 
  1493.     IEnumFilters __RPC_FAR * This);
  1494.  
  1495.  
  1496. void __RPC_STUB IEnumFilters_Reset_Stub(
  1497.     IRpcStubBuffer *This,
  1498.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1499.     PRPC_MESSAGE _pRpcMessage,
  1500.     DWORD *_pdwStubPhase);
  1501.  
  1502.  
  1503. HRESULT __stdcall IEnumFilters_Clone_Proxy( 
  1504.     IEnumFilters __RPC_FAR * This,
  1505.     /* [out] */ IEnumFilters __RPC_FAR *__RPC_FAR *ppEnum);
  1506.  
  1507.  
  1508. void __RPC_STUB IEnumFilters_Clone_Stub(
  1509.     IRpcStubBuffer *This,
  1510.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1511.     PRPC_MESSAGE _pRpcMessage,
  1512.     DWORD *_pdwStubPhase);
  1513.  
  1514.  
  1515.  
  1516. #endif     /* __IEnumFilters_INTERFACE_DEFINED__ */
  1517.  
  1518.  
  1519. /****************************************
  1520.  * Generated header for interface: __MIDL__intf_0045
  1521.  * at Wed Jun 26 01:38:28 1996
  1522.  * using MIDL 2.00.0102
  1523.  ****************************************/
  1524. /* [local] */ 
  1525.  
  1526.  
  1527.             /* size is 4 */
  1528. typedef IEnumFilters __RPC_FAR *PENUMFILTERS;
  1529.  
  1530.  
  1531.  
  1532. extern RPC_IF_HANDLE __MIDL__intf_0045_v0_0_c_ifspec;
  1533. extern RPC_IF_HANDLE __MIDL__intf_0045_v0_0_s_ifspec;
  1534.  
  1535. #ifndef __IMediaFilter_INTERFACE_DEFINED__
  1536. #define __IMediaFilter_INTERFACE_DEFINED__
  1537.  
  1538. /****************************************
  1539.  * Generated header for interface: IMediaFilter
  1540.  * at Wed Jun 26 01:38:28 1996
  1541.  * using MIDL 2.00.0102
  1542.  ****************************************/
  1543. /* [unique][uuid][object] */ 
  1544.  
  1545.  
  1546.             /* size is 2 */
  1547. typedef 
  1548. enum _FilterState
  1549.     {    State_Stopped    = 0,
  1550.     State_Paused    = State_Stopped + 1,
  1551.     State_Running    = State_Paused + 1
  1552.     }    FILTER_STATE;
  1553.  
  1554.  
  1555. EXTERN_C const IID IID_IMediaFilter;
  1556.  
  1557. #if defined(__cplusplus) && !defined(CINTERFACE)
  1558.     
  1559.     interface IMediaFilter : public IPersist
  1560.     {
  1561.     public:
  1562.         virtual HRESULT __stdcall Stop( void) = 0;
  1563.         
  1564.         virtual HRESULT __stdcall Pause( void) = 0;
  1565.         
  1566.         virtual HRESULT __stdcall Run( 
  1567.             REFERENCE_TIME tStart) = 0;
  1568.         
  1569.         virtual HRESULT __stdcall GetState( 
  1570.             /* [in] */ DWORD dwMilliSecsTimeout,
  1571.             /* [out] */ FILTER_STATE __RPC_FAR *State) = 0;
  1572.         
  1573.         virtual HRESULT __stdcall SetSyncSource( 
  1574.             /* [in] */ IReferenceClock __RPC_FAR *pClock) = 0;
  1575.         
  1576.         virtual HRESULT __stdcall GetSyncSource( 
  1577.             /* [out] */ IReferenceClock __RPC_FAR *__RPC_FAR *pClock) = 0;
  1578.         
  1579.     };
  1580.     
  1581. #else     /* C style interface */
  1582.  
  1583.     typedef struct IMediaFilterVtbl
  1584.     {
  1585.         
  1586.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  1587.             IMediaFilter __RPC_FAR * This,
  1588.             /* [in] */ REFIID riid,
  1589.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1590.         
  1591.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  1592.             IMediaFilter __RPC_FAR * This);
  1593.         
  1594.         ULONG ( __stdcall __RPC_FAR *Release )( 
  1595.             IMediaFilter __RPC_FAR * This);
  1596.         
  1597.         HRESULT ( __stdcall __RPC_FAR *GetClassID )( 
  1598.             IMediaFilter __RPC_FAR * This,
  1599.             /* [out] */ CLSID __RPC_FAR *pClassID);
  1600.         
  1601.         HRESULT ( __stdcall __RPC_FAR *Stop )( 
  1602.             IMediaFilter __RPC_FAR * This);
  1603.         
  1604.         HRESULT ( __stdcall __RPC_FAR *Pause )( 
  1605.             IMediaFilter __RPC_FAR * This);
  1606.         
  1607.         HRESULT ( __stdcall __RPC_FAR *Run )( 
  1608.             IMediaFilter __RPC_FAR * This,
  1609.             REFERENCE_TIME tStart);
  1610.         
  1611.         HRESULT ( __stdcall __RPC_FAR *GetState )( 
  1612.             IMediaFilter __RPC_FAR * This,
  1613.             /* [in] */ DWORD dwMilliSecsTimeout,
  1614.             /* [out] */ FILTER_STATE __RPC_FAR *State);
  1615.         
  1616.         HRESULT ( __stdcall __RPC_FAR *SetSyncSource )( 
  1617.             IMediaFilter __RPC_FAR * This,
  1618.             /* [in] */ IReferenceClock __RPC_FAR *pClock);
  1619.         
  1620.         HRESULT ( __stdcall __RPC_FAR *GetSyncSource )( 
  1621.             IMediaFilter __RPC_FAR * This,
  1622.             /* [out] */ IReferenceClock __RPC_FAR *__RPC_FAR *pClock);
  1623.         
  1624.     } IMediaFilterVtbl;
  1625.  
  1626.     interface IMediaFilter
  1627.     {
  1628.         CONST_VTBL struct IMediaFilterVtbl __RPC_FAR *lpVtbl;
  1629.     };
  1630.  
  1631.     
  1632.  
  1633. #ifdef COBJMACROS
  1634.  
  1635.  
  1636. #define IMediaFilter_QueryInterface(This,riid,ppvObject)    \
  1637.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1638.  
  1639. #define IMediaFilter_AddRef(This)    \
  1640.     (This)->lpVtbl -> AddRef(This)
  1641.  
  1642. #define IMediaFilter_Release(This)    \
  1643.     (This)->lpVtbl -> Release(This)
  1644.  
  1645.  
  1646. #define IMediaFilter_GetClassID(This,pClassID)    \
  1647.     (This)->lpVtbl -> GetClassID(This,pClassID)
  1648.  
  1649.  
  1650. #define IMediaFilter_Stop(This)    \
  1651.     (This)->lpVtbl -> Stop(This)
  1652.  
  1653. #define IMediaFilter_Pause(This)    \
  1654.     (This)->lpVtbl -> Pause(This)
  1655.  
  1656. #define IMediaFilter_Run(This,tStart)    \
  1657.     (This)->lpVtbl -> Run(This,tStart)
  1658.  
  1659. #define IMediaFilter_GetState(This,dwMilliSecsTimeout,State)    \
  1660.     (This)->lpVtbl -> GetState(This,dwMilliSecsTimeout,State)
  1661.  
  1662. #define IMediaFilter_SetSyncSource(This,pClock)    \
  1663.     (This)->lpVtbl -> SetSyncSource(This,pClock)
  1664.  
  1665. #define IMediaFilter_GetSyncSource(This,pClock)    \
  1666.     (This)->lpVtbl -> GetSyncSource(This,pClock)
  1667.  
  1668. #endif /* COBJMACROS */
  1669.  
  1670.  
  1671. #endif     /* C style interface */
  1672.  
  1673.  
  1674.  
  1675. HRESULT __stdcall IMediaFilter_Stop_Proxy( 
  1676.     IMediaFilter __RPC_FAR * This);
  1677.  
  1678.  
  1679. void __RPC_STUB IMediaFilter_Stop_Stub(
  1680.     IRpcStubBuffer *This,
  1681.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1682.     PRPC_MESSAGE _pRpcMessage,
  1683.     DWORD *_pdwStubPhase);
  1684.  
  1685.  
  1686. HRESULT __stdcall IMediaFilter_Pause_Proxy( 
  1687.     IMediaFilter __RPC_FAR * This);
  1688.  
  1689.  
  1690. void __RPC_STUB IMediaFilter_Pause_Stub(
  1691.     IRpcStubBuffer *This,
  1692.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1693.     PRPC_MESSAGE _pRpcMessage,
  1694.     DWORD *_pdwStubPhase);
  1695.  
  1696.  
  1697. HRESULT __stdcall IMediaFilter_Run_Proxy( 
  1698.     IMediaFilter __RPC_FAR * This,
  1699.     REFERENCE_TIME tStart);
  1700.  
  1701.  
  1702. void __RPC_STUB IMediaFilter_Run_Stub(
  1703.     IRpcStubBuffer *This,
  1704.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1705.     PRPC_MESSAGE _pRpcMessage,
  1706.     DWORD *_pdwStubPhase);
  1707.  
  1708.  
  1709. HRESULT __stdcall IMediaFilter_GetState_Proxy( 
  1710.     IMediaFilter __RPC_FAR * This,
  1711.     /* [in] */ DWORD dwMilliSecsTimeout,
  1712.     /* [out] */ FILTER_STATE __RPC_FAR *State);
  1713.  
  1714.  
  1715. void __RPC_STUB IMediaFilter_GetState_Stub(
  1716.     IRpcStubBuffer *This,
  1717.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1718.     PRPC_MESSAGE _pRpcMessage,
  1719.     DWORD *_pdwStubPhase);
  1720.  
  1721.  
  1722. HRESULT __stdcall IMediaFilter_SetSyncSource_Proxy( 
  1723.     IMediaFilter __RPC_FAR * This,
  1724.     /* [in] */ IReferenceClock __RPC_FAR *pClock);
  1725.  
  1726.  
  1727. void __RPC_STUB IMediaFilter_SetSyncSource_Stub(
  1728.     IRpcStubBuffer *This,
  1729.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1730.     PRPC_MESSAGE _pRpcMessage,
  1731.     DWORD *_pdwStubPhase);
  1732.  
  1733.  
  1734. HRESULT __stdcall IMediaFilter_GetSyncSource_Proxy( 
  1735.     IMediaFilter __RPC_FAR * This,
  1736.     /* [out] */ IReferenceClock __RPC_FAR *__RPC_FAR *pClock);
  1737.  
  1738.  
  1739. void __RPC_STUB IMediaFilter_GetSyncSource_Stub(
  1740.     IRpcStubBuffer *This,
  1741.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1742.     PRPC_MESSAGE _pRpcMessage,
  1743.     DWORD *_pdwStubPhase);
  1744.  
  1745.  
  1746.  
  1747. #endif     /* __IMediaFilter_INTERFACE_DEFINED__ */
  1748.  
  1749.  
  1750. /****************************************
  1751.  * Generated header for interface: __MIDL__intf_0046
  1752.  * at Wed Jun 26 01:38:28 1996
  1753.  * using MIDL 2.00.0102
  1754.  ****************************************/
  1755. /* [local] */ 
  1756.  
  1757.  
  1758.             /* size is 4 */
  1759. typedef IMediaFilter __RPC_FAR *PMEDIAFILTER;
  1760.  
  1761.  
  1762.  
  1763. extern RPC_IF_HANDLE __MIDL__intf_0046_v0_0_c_ifspec;
  1764. extern RPC_IF_HANDLE __MIDL__intf_0046_v0_0_s_ifspec;
  1765.  
  1766. #ifndef __IFilter_INTERFACE_DEFINED__
  1767. #define __IFilter_INTERFACE_DEFINED__
  1768.  
  1769. /****************************************
  1770.  * Generated header for interface: IFilter
  1771.  * at Wed Jun 26 01:38:28 1996
  1772.  * using MIDL 2.00.0102
  1773.  ****************************************/
  1774. /* [unique][uuid][object] */ 
  1775.  
  1776.  
  1777.             /* size is 260 */
  1778. typedef struct  _FilterInfo
  1779.     {
  1780.     /* [string] */ WCHAR achName[ 128 ];
  1781.     IFilterGraph __RPC_FAR *pGraph;
  1782.     }    FILTER_INFO;
  1783.  
  1784.  
  1785. EXTERN_C const IID IID_IFilter;
  1786.  
  1787. #if defined(__cplusplus) && !defined(CINTERFACE)
  1788.     
  1789.     interface IFilter : public IMediaFilter
  1790.     {
  1791.     public:
  1792.         virtual HRESULT __stdcall EnumPins( 
  1793.             /* [out] */ IEnumPins __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  1794.         
  1795.         virtual HRESULT __stdcall FindPin( 
  1796.             /* [string][in] */ LPCWSTR Id,
  1797.             /* [out] */ IPin __RPC_FAR *__RPC_FAR *ppPin) = 0;
  1798.         
  1799.         virtual HRESULT __stdcall QueryFilterInfo( 
  1800.             /* [out] */ FILTER_INFO __RPC_FAR *pInfo) = 0;
  1801.         
  1802.         virtual HRESULT __stdcall JoinFilterGraph( 
  1803.             /* [in] */ IFilterGraph __RPC_FAR *pGraph,
  1804.             /* [string][in] */ LPCWSTR pName) = 0;
  1805.         
  1806.         virtual HRESULT __stdcall QueryVendorInfo( 
  1807.             /* [string][out] */ LPWSTR __RPC_FAR *pVendorInfo) = 0;
  1808.         
  1809.     };
  1810.     
  1811. #else     /* C style interface */
  1812.  
  1813.     typedef struct IFilterVtbl
  1814.     {
  1815.         
  1816.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  1817.             IFilter __RPC_FAR * This,
  1818.             /* [in] */ REFIID riid,
  1819.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1820.         
  1821.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  1822.             IFilter __RPC_FAR * This);
  1823.         
  1824.         ULONG ( __stdcall __RPC_FAR *Release )( 
  1825.             IFilter __RPC_FAR * This);
  1826.         
  1827.         HRESULT ( __stdcall __RPC_FAR *GetClassID )( 
  1828.             IFilter __RPC_FAR * This,
  1829.             /* [out] */ CLSID __RPC_FAR *pClassID);
  1830.         
  1831.         HRESULT ( __stdcall __RPC_FAR *Stop )( 
  1832.             IFilter __RPC_FAR * This);
  1833.         
  1834.         HRESULT ( __stdcall __RPC_FAR *Pause )( 
  1835.             IFilter __RPC_FAR * This);
  1836.         
  1837.         HRESULT ( __stdcall __RPC_FAR *Run )( 
  1838.             IFilter __RPC_FAR * This,
  1839.             REFERENCE_TIME tStart);
  1840.         
  1841.         HRESULT ( __stdcall __RPC_FAR *GetState )( 
  1842.             IFilter __RPC_FAR * This,
  1843.             /* [in] */ DWORD dwMilliSecsTimeout,
  1844.             /* [out] */ FILTER_STATE __RPC_FAR *State);
  1845.         
  1846.         HRESULT ( __stdcall __RPC_FAR *SetSyncSource )( 
  1847.             IFilter __RPC_FAR * This,
  1848.             /* [in] */ IReferenceClock __RPC_FAR *pClock);
  1849.         
  1850.         HRESULT ( __stdcall __RPC_FAR *GetSyncSource )( 
  1851.             IFilter __RPC_FAR * This,
  1852.             /* [out] */ IReferenceClock __RPC_FAR *__RPC_FAR *pClock);
  1853.         
  1854.         HRESULT ( __stdcall __RPC_FAR *EnumPins )( 
  1855.             IFilter __RPC_FAR * This,
  1856.             /* [out] */ IEnumPins __RPC_FAR *__RPC_FAR *ppEnum);
  1857.         
  1858.         HRESULT ( __stdcall __RPC_FAR *FindPin )( 
  1859.             IFilter __RPC_FAR * This,
  1860.             /* [string][in] */ LPCWSTR Id,
  1861.             /* [out] */ IPin __RPC_FAR *__RPC_FAR *ppPin);
  1862.         
  1863.         HRESULT ( __stdcall __RPC_FAR *QueryFilterInfo )( 
  1864.             IFilter __RPC_FAR * This,
  1865.             /* [out] */ FILTER_INFO __RPC_FAR *pInfo);
  1866.         
  1867.         HRESULT ( __stdcall __RPC_FAR *JoinFilterGraph )( 
  1868.             IFilter __RPC_FAR * This,
  1869.             /* [in] */ IFilterGraph __RPC_FAR *pGraph,
  1870.             /* [string][in] */ LPCWSTR pName);
  1871.         
  1872.         HRESULT ( __stdcall __RPC_FAR *QueryVendorInfo )( 
  1873.             IFilter __RPC_FAR * This,
  1874.             /* [string][out] */ LPWSTR __RPC_FAR *pVendorInfo);
  1875.         
  1876.     } IFilterVtbl;
  1877.  
  1878.     interface IFilter
  1879.     {
  1880.         CONST_VTBL struct IFilterVtbl __RPC_FAR *lpVtbl;
  1881.     };
  1882.  
  1883.     
  1884.  
  1885. #ifdef COBJMACROS
  1886.  
  1887.  
  1888. #define IFilter_QueryInterface(This,riid,ppvObject)    \
  1889.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1890.  
  1891. #define IFilter_AddRef(This)    \
  1892.     (This)->lpVtbl -> AddRef(This)
  1893.  
  1894. #define IFilter_Release(This)    \
  1895.     (This)->lpVtbl -> Release(This)
  1896.  
  1897.  
  1898. #define IFilter_GetClassID(This,pClassID)    \
  1899.     (This)->lpVtbl -> GetClassID(This,pClassID)
  1900.  
  1901.  
  1902. #define IFilter_Stop(This)    \
  1903.     (This)->lpVtbl -> Stop(This)
  1904.  
  1905. #define IFilter_Pause(This)    \
  1906.     (This)->lpVtbl -> Pause(This)
  1907.  
  1908. #define IFilter_Run(This,tStart)    \
  1909.     (This)->lpVtbl -> Run(This,tStart)
  1910.  
  1911. #define IFilter_GetState(This,dwMilliSecsTimeout,State)    \
  1912.     (This)->lpVtbl -> GetState(This,dwMilliSecsTimeout,State)
  1913.  
  1914. #define IFilter_SetSyncSource(This,pClock)    \
  1915.     (This)->lpVtbl -> SetSyncSource(This,pClock)
  1916.  
  1917. #define IFilter_GetSyncSource(This,pClock)    \
  1918.     (This)->lpVtbl -> GetSyncSource(This,pClock)
  1919.  
  1920.  
  1921. #define IFilter_EnumPins(This,ppEnum)    \
  1922.     (This)->lpVtbl -> EnumPins(This,ppEnum)
  1923.  
  1924. #define IFilter_FindPin(This,Id,ppPin)    \
  1925.     (This)->lpVtbl -> FindPin(This,Id,ppPin)
  1926.  
  1927. #define IFilter_QueryFilterInfo(This,pInfo)    \
  1928.     (This)->lpVtbl -> QueryFilterInfo(This,pInfo)
  1929.  
  1930. #define IFilter_JoinFilterGraph(This,pGraph,pName)    \
  1931.     (This)->lpVtbl -> JoinFilterGraph(This,pGraph,pName)
  1932.  
  1933. #define IFilter_QueryVendorInfo(This,pVendorInfo)    \
  1934.     (This)->lpVtbl -> QueryVendorInfo(This,pVendorInfo)
  1935.  
  1936. #endif /* COBJMACROS */
  1937.  
  1938.  
  1939. #endif     /* C style interface */
  1940.  
  1941.  
  1942.  
  1943. HRESULT __stdcall IFilter_EnumPins_Proxy( 
  1944.     IFilter __RPC_FAR * This,
  1945.     /* [out] */ IEnumPins __RPC_FAR *__RPC_FAR *ppEnum);
  1946.  
  1947.  
  1948. void __RPC_STUB IFilter_EnumPins_Stub(
  1949.     IRpcStubBuffer *This,
  1950.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1951.     PRPC_MESSAGE _pRpcMessage,
  1952.     DWORD *_pdwStubPhase);
  1953.  
  1954.  
  1955. HRESULT __stdcall IFilter_FindPin_Proxy( 
  1956.     IFilter __RPC_FAR * This,
  1957.     /* [string][in] */ LPCWSTR Id,
  1958.     /* [out] */ IPin __RPC_FAR *__RPC_FAR *ppPin);
  1959.  
  1960.  
  1961. void __RPC_STUB IFilter_FindPin_Stub(
  1962.     IRpcStubBuffer *This,
  1963.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1964.     PRPC_MESSAGE _pRpcMessage,
  1965.     DWORD *_pdwStubPhase);
  1966.  
  1967.  
  1968. HRESULT __stdcall IFilter_QueryFilterInfo_Proxy( 
  1969.     IFilter __RPC_FAR * This,
  1970.     /* [out] */ FILTER_INFO __RPC_FAR *pInfo);
  1971.  
  1972.  
  1973. void __RPC_STUB IFilter_QueryFilterInfo_Stub(
  1974.     IRpcStubBuffer *This,
  1975.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1976.     PRPC_MESSAGE _pRpcMessage,
  1977.     DWORD *_pdwStubPhase);
  1978.  
  1979.  
  1980. HRESULT __stdcall IFilter_JoinFilterGraph_Proxy( 
  1981.     IFilter __RPC_FAR * This,
  1982.     /* [in] */ IFilterGraph __RPC_FAR *pGraph,
  1983.     /* [string][in] */ LPCWSTR pName);
  1984.  
  1985.  
  1986. void __RPC_STUB IFilter_JoinFilterGraph_Stub(
  1987.     IRpcStubBuffer *This,
  1988.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1989.     PRPC_MESSAGE _pRpcMessage,
  1990.     DWORD *_pdwStubPhase);
  1991.  
  1992.  
  1993. HRESULT __stdcall IFilter_QueryVendorInfo_Proxy( 
  1994.     IFilter __RPC_FAR * This,
  1995.     /* [string][out] */ LPWSTR __RPC_FAR *pVendorInfo);
  1996.  
  1997.  
  1998. void __RPC_STUB IFilter_QueryVendorInfo_Stub(
  1999.     IRpcStubBuffer *This,
  2000.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2001.     PRPC_MESSAGE _pRpcMessage,
  2002.     DWORD *_pdwStubPhase);
  2003.  
  2004.  
  2005.  
  2006. #endif     /* __IFilter_INTERFACE_DEFINED__ */
  2007.  
  2008.  
  2009. /****************************************
  2010.  * Generated header for interface: __MIDL__intf_0047
  2011.  * at Wed Jun 26 01:38:28 1996
  2012.  * using MIDL 2.00.0102
  2013.  ****************************************/
  2014. /* [local] */ 
  2015.  
  2016.  
  2017.             /* size is 4 */
  2018. typedef IFilter __RPC_FAR *PFILTER;
  2019.  
  2020.  
  2021.  
  2022. extern RPC_IF_HANDLE __MIDL__intf_0047_v0_0_c_ifspec;
  2023. extern RPC_IF_HANDLE __MIDL__intf_0047_v0_0_s_ifspec;
  2024.  
  2025. #ifndef __IReferenceClock_INTERFACE_DEFINED__
  2026. #define __IReferenceClock_INTERFACE_DEFINED__
  2027.  
  2028. /****************************************
  2029.  * Generated header for interface: IReferenceClock
  2030.  * at Wed Jun 26 01:38:28 1996
  2031.  * using MIDL 2.00.0102
  2032.  ****************************************/
  2033. /* [unique][uuid][object] */ 
  2034.  
  2035.  
  2036.  
  2037. EXTERN_C const IID IID_IReferenceClock;
  2038.  
  2039. #if defined(__cplusplus) && !defined(CINTERFACE)
  2040.     
  2041.     interface IReferenceClock : public IUnknown
  2042.     {
  2043.     public:
  2044.         virtual HRESULT __stdcall GetTime( 
  2045.             /* [out] */ REFERENCE_TIME __RPC_FAR *pTime) = 0;
  2046.         
  2047.         virtual HRESULT __stdcall AdviseTime( 
  2048.             /* [in] */ REFERENCE_TIME baseTime,
  2049.             /* [in] */ REFERENCE_TIME streamTime,
  2050.             /* [in] */ HEVENT hEvent,
  2051.             /* [out] */ DWORD __RPC_FAR *pdwAdviseCookie) = 0;
  2052.         
  2053.         virtual HRESULT __stdcall AdvisePeriodic( 
  2054.             /* [in] */ REFERENCE_TIME startTime,
  2055.             /* [in] */ REFERENCE_TIME periodTime,
  2056.             /* [in] */ HSEMAPHORE hSemaphore,
  2057.             /* [out] */ DWORD __RPC_FAR *pdwAdviseCookie) = 0;
  2058.         
  2059.         virtual HRESULT __stdcall Unadvise( 
  2060.             /* [in] */ DWORD dwAdviseCookie) = 0;
  2061.         
  2062.     };
  2063.     
  2064. #else     /* C style interface */
  2065.  
  2066.     typedef struct IReferenceClockVtbl
  2067.     {
  2068.         
  2069.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  2070.             IReferenceClock __RPC_FAR * This,
  2071.             /* [in] */ REFIID riid,
  2072.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2073.         
  2074.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  2075.             IReferenceClock __RPC_FAR * This);
  2076.         
  2077.         ULONG ( __stdcall __RPC_FAR *Release )( 
  2078.             IReferenceClock __RPC_FAR * This);
  2079.         
  2080.         HRESULT ( __stdcall __RPC_FAR *GetTime )( 
  2081.             IReferenceClock __RPC_FAR * This,
  2082.             /* [out] */ REFERENCE_TIME __RPC_FAR *pTime);
  2083.         
  2084.         HRESULT ( __stdcall __RPC_FAR *AdviseTime )( 
  2085.             IReferenceClock __RPC_FAR * This,
  2086.             /* [in] */ REFERENCE_TIME baseTime,
  2087.             /* [in] */ REFERENCE_TIME streamTime,
  2088.             /* [in] */ HEVENT hEvent,
  2089.             /* [out] */ DWORD __RPC_FAR *pdwAdviseCookie);
  2090.         
  2091.         HRESULT ( __stdcall __RPC_FAR *AdvisePeriodic )( 
  2092.             IReferenceClock __RPC_FAR * This,
  2093.             /* [in] */ REFERENCE_TIME startTime,
  2094.             /* [in] */ REFERENCE_TIME periodTime,
  2095.             /* [in] */ HSEMAPHORE hSemaphore,
  2096.             /* [out] */ DWORD __RPC_FAR *pdwAdviseCookie);
  2097.         
  2098.         HRESULT ( __stdcall __RPC_FAR *Unadvise )( 
  2099.             IReferenceClock __RPC_FAR * This,
  2100.             /* [in] */ DWORD dwAdviseCookie);
  2101.         
  2102.     } IReferenceClockVtbl;
  2103.  
  2104.     interface IReferenceClock
  2105.     {
  2106.         CONST_VTBL struct IReferenceClockVtbl __RPC_FAR *lpVtbl;
  2107.     };
  2108.  
  2109.     
  2110.  
  2111. #ifdef COBJMACROS
  2112.  
  2113.  
  2114. #define IReferenceClock_QueryInterface(This,riid,ppvObject)    \
  2115.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2116.  
  2117. #define IReferenceClock_AddRef(This)    \
  2118.     (This)->lpVtbl -> AddRef(This)
  2119.  
  2120. #define IReferenceClock_Release(This)    \
  2121.     (This)->lpVtbl -> Release(This)
  2122.  
  2123.  
  2124. #define IReferenceClock_GetTime(This,pTime)    \
  2125.     (This)->lpVtbl -> GetTime(This,pTime)
  2126.  
  2127. #define IReferenceClock_AdviseTime(This,baseTime,streamTime,hEvent,pdwAdviseCookie)    \
  2128.     (This)->lpVtbl -> AdviseTime(This,baseTime,streamTime,hEvent,pdwAdviseCookie)
  2129.  
  2130. #define IReferenceClock_AdvisePeriodic(This,startTime,periodTime,hSemaphore,pdwAdviseCookie)    \
  2131.     (This)->lpVtbl -> AdvisePeriodic(This,startTime,periodTime,hSemaphore,pdwAdviseCookie)
  2132.  
  2133. #define IReferenceClock_Unadvise(This,dwAdviseCookie)    \
  2134.     (This)->lpVtbl -> Unadvise(This,dwAdviseCookie)
  2135.  
  2136. #endif /* COBJMACROS */
  2137.  
  2138.  
  2139. #endif     /* C style interface */
  2140.  
  2141.  
  2142.  
  2143. HRESULT __stdcall IReferenceClock_GetTime_Proxy( 
  2144.     IReferenceClock __RPC_FAR * This,
  2145.     /* [out] */ REFERENCE_TIME __RPC_FAR *pTime);
  2146.  
  2147.  
  2148. void __RPC_STUB IReferenceClock_GetTime_Stub(
  2149.     IRpcStubBuffer *This,
  2150.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2151.     PRPC_MESSAGE _pRpcMessage,
  2152.     DWORD *_pdwStubPhase);
  2153.  
  2154.  
  2155. HRESULT __stdcall IReferenceClock_AdviseTime_Proxy( 
  2156.     IReferenceClock __RPC_FAR * This,
  2157.     /* [in] */ REFERENCE_TIME baseTime,
  2158.     /* [in] */ REFERENCE_TIME streamTime,
  2159.     /* [in] */ HEVENT hEvent,
  2160.     /* [out] */ DWORD __RPC_FAR *pdwAdviseCookie);
  2161.  
  2162.  
  2163. void __RPC_STUB IReferenceClock_AdviseTime_Stub(
  2164.     IRpcStubBuffer *This,
  2165.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2166.     PRPC_MESSAGE _pRpcMessage,
  2167.     DWORD *_pdwStubPhase);
  2168.  
  2169.  
  2170. HRESULT __stdcall IReferenceClock_AdvisePeriodic_Proxy( 
  2171.     IReferenceClock __RPC_FAR * This,
  2172.     /* [in] */ REFERENCE_TIME startTime,
  2173.     /* [in] */ REFERENCE_TIME periodTime,
  2174.     /* [in] */ HSEMAPHORE hSemaphore,
  2175.     /* [out] */ DWORD __RPC_FAR *pdwAdviseCookie);
  2176.  
  2177.  
  2178. void __RPC_STUB IReferenceClock_AdvisePeriodic_Stub(
  2179.     IRpcStubBuffer *This,
  2180.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2181.     PRPC_MESSAGE _pRpcMessage,
  2182.     DWORD *_pdwStubPhase);
  2183.  
  2184.  
  2185. HRESULT __stdcall IReferenceClock_Unadvise_Proxy( 
  2186.     IReferenceClock __RPC_FAR * This,
  2187.     /* [in] */ DWORD dwAdviseCookie);
  2188.  
  2189.  
  2190. void __RPC_STUB IReferenceClock_Unadvise_Stub(
  2191.     IRpcStubBuffer *This,
  2192.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2193.     PRPC_MESSAGE _pRpcMessage,
  2194.     DWORD *_pdwStubPhase);
  2195.  
  2196.  
  2197.  
  2198. #endif     /* __IReferenceClock_INTERFACE_DEFINED__ */
  2199.  
  2200.  
  2201. /****************************************
  2202.  * Generated header for interface: __MIDL__intf_0048
  2203.  * at Wed Jun 26 01:38:28 1996
  2204.  * using MIDL 2.00.0102
  2205.  ****************************************/
  2206. /* [local] */ 
  2207.  
  2208.  
  2209.             /* size is 4 */
  2210. typedef IReferenceClock __RPC_FAR *PREFERENCECLOCK;
  2211.  
  2212.  
  2213.  
  2214. extern RPC_IF_HANDLE __MIDL__intf_0048_v0_0_c_ifspec;
  2215. extern RPC_IF_HANDLE __MIDL__intf_0048_v0_0_s_ifspec;
  2216.  
  2217. #ifndef __IMediaSample_INTERFACE_DEFINED__
  2218. #define __IMediaSample_INTERFACE_DEFINED__
  2219.  
  2220. /****************************************
  2221.  * Generated header for interface: IMediaSample
  2222.  * at Wed Jun 26 01:38:28 1996
  2223.  * using MIDL 2.00.0102
  2224.  ****************************************/
  2225. /* [unique][uuid][object][local] */ 
  2226.  
  2227.  
  2228.  
  2229. EXTERN_C const IID IID_IMediaSample;
  2230.  
  2231. #if defined(__cplusplus) && !defined(CINTERFACE)
  2232.     
  2233.     interface IMediaSample : public IUnknown
  2234.     {
  2235.     public:
  2236.         virtual HRESULT __stdcall GetPointer( 
  2237.             /* [out] */ BYTE __RPC_FAR *__RPC_FAR *ppBuffer) = 0;
  2238.         
  2239.         virtual long __stdcall GetSize( void) = 0;
  2240.         
  2241.         virtual HRESULT __stdcall GetTime( 
  2242.             /* [out] */ REFERENCE_TIME __RPC_FAR *pTimeStart,
  2243.             /* [out] */ REFERENCE_TIME __RPC_FAR *pTimeEnd) = 0;
  2244.         
  2245.         virtual HRESULT __stdcall SetTime( 
  2246.             /* [in] */ REFERENCE_TIME __RPC_FAR *pTimeStart,
  2247.             /* [in] */ REFERENCE_TIME __RPC_FAR *pTimeEnd) = 0;
  2248.         
  2249.         virtual HRESULT __stdcall IsSyncPoint( void) = 0;
  2250.         
  2251.         virtual HRESULT __stdcall SetSyncPoint( 
  2252.             BOOL bIsSyncPoint) = 0;
  2253.         
  2254.         virtual HRESULT __stdcall IsPreroll( void) = 0;
  2255.         
  2256.         virtual HRESULT __stdcall SetPreroll( 
  2257.             BOOL bIsPreroll) = 0;
  2258.         
  2259.         virtual long __stdcall GetActualDataLength( void) = 0;
  2260.         
  2261.         virtual HRESULT __stdcall SetActualDataLength( 
  2262.             long __MIDL_0002) = 0;
  2263.         
  2264.         virtual HRESULT __stdcall GetMediaType( 
  2265.             AM_MEDIA_TYPE __RPC_FAR *__RPC_FAR *ppMediaType) = 0;
  2266.         
  2267.         virtual HRESULT __stdcall SetMediaType( 
  2268.             AM_MEDIA_TYPE __RPC_FAR *pMediaType) = 0;
  2269.         
  2270.         virtual HRESULT __stdcall IsDiscontinuity( void) = 0;
  2271.         
  2272.         virtual HRESULT __stdcall SetDiscontinuity( 
  2273.             BOOL bDiscontinuity) = 0;
  2274.         
  2275.         virtual HRESULT __stdcall GetMediaTime( 
  2276.             /* [out] */ LONGLONG __RPC_FAR *pTimeStart,
  2277.             /* [out] */ LONGLONG __RPC_FAR *pTimeEnd) = 0;
  2278.         
  2279.         virtual HRESULT __stdcall SetMediaTime( 
  2280.             /* [in] */ LONGLONG __RPC_FAR *pTimeStart,
  2281.             /* [in] */ LONGLONG __RPC_FAR *pTimeEnd) = 0;
  2282.         
  2283.     };
  2284.     
  2285. #else     /* C style interface */
  2286.  
  2287.     typedef struct IMediaSampleVtbl
  2288.     {
  2289.         
  2290.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  2291.             IMediaSample __RPC_FAR * This,
  2292.             /* [in] */ REFIID riid,
  2293.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2294.         
  2295.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  2296.             IMediaSample __RPC_FAR * This);
  2297.         
  2298.         ULONG ( __stdcall __RPC_FAR *Release )( 
  2299.             IMediaSample __RPC_FAR * This);
  2300.         
  2301.         HRESULT ( __stdcall __RPC_FAR *GetPointer )( 
  2302.             IMediaSample __RPC_FAR * This,
  2303.             /* [out] */ BYTE __RPC_FAR *__RPC_FAR *ppBuffer);
  2304.         
  2305.         long ( __stdcall __RPC_FAR *GetSize )( 
  2306.             IMediaSample __RPC_FAR * This);
  2307.         
  2308.         HRESULT ( __stdcall __RPC_FAR *GetTime )( 
  2309.             IMediaSample __RPC_FAR * This,
  2310.             /* [out] */ REFERENCE_TIME __RPC_FAR *pTimeStart,
  2311.             /* [out] */ REFERENCE_TIME __RPC_FAR *pTimeEnd);
  2312.         
  2313.         HRESULT ( __stdcall __RPC_FAR *SetTime )( 
  2314.             IMediaSample __RPC_FAR * This,
  2315.             /* [in] */ REFERENCE_TIME __RPC_FAR *pTimeStart,
  2316.             /* [in] */ REFERENCE_TIME __RPC_FAR *pTimeEnd);
  2317.         
  2318.         HRESULT ( __stdcall __RPC_FAR *IsSyncPoint )( 
  2319.             IMediaSample __RPC_FAR * This);
  2320.         
  2321.         HRESULT ( __stdcall __RPC_FAR *SetSyncPoint )( 
  2322.             IMediaSample __RPC_FAR * This,
  2323.             BOOL bIsSyncPoint);
  2324.         
  2325.         HRESULT ( __stdcall __RPC_FAR *IsPreroll )( 
  2326.             IMediaSample __RPC_FAR * This);
  2327.         
  2328.         HRESULT ( __stdcall __RPC_FAR *SetPreroll )( 
  2329.             IMediaSample __RPC_FAR * This,
  2330.             BOOL bIsPreroll);
  2331.         
  2332.         long ( __stdcall __RPC_FAR *GetActualDataLength )( 
  2333.             IMediaSample __RPC_FAR * This);
  2334.         
  2335.         HRESULT ( __stdcall __RPC_FAR *SetActualDataLength )( 
  2336.             IMediaSample __RPC_FAR * This,
  2337.             long __MIDL_0002);
  2338.         
  2339.         HRESULT ( __stdcall __RPC_FAR *GetMediaType )( 
  2340.             IMediaSample __RPC_FAR * This,
  2341.             AM_MEDIA_TYPE __RPC_FAR *__RPC_FAR *ppMediaType);
  2342.         
  2343.         HRESULT ( __stdcall __RPC_FAR *SetMediaType )( 
  2344.             IMediaSample __RPC_FAR * This,
  2345.             AM_MEDIA_TYPE __RPC_FAR *pMediaType);
  2346.         
  2347.         HRESULT ( __stdcall __RPC_FAR *IsDiscontinuity )( 
  2348.             IMediaSample __RPC_FAR * This);
  2349.         
  2350.         HRESULT ( __stdcall __RPC_FAR *SetDiscontinuity )( 
  2351.             IMediaSample __RPC_FAR * This,
  2352.             BOOL bDiscontinuity);
  2353.         
  2354.         HRESULT ( __stdcall __RPC_FAR *GetMediaTime )( 
  2355.             IMediaSample __RPC_FAR * This,
  2356.             /* [out] */ LONGLONG __RPC_FAR *pTimeStart,
  2357.             /* [out] */ LONGLONG __RPC_FAR *pTimeEnd);
  2358.         
  2359.         HRESULT ( __stdcall __RPC_FAR *SetMediaTime )( 
  2360.             IMediaSample __RPC_FAR * This,
  2361.             /* [in] */ LONGLONG __RPC_FAR *pTimeStart,
  2362.             /* [in] */ LONGLONG __RPC_FAR *pTimeEnd);
  2363.         
  2364.     } IMediaSampleVtbl;
  2365.  
  2366.     interface IMediaSample
  2367.     {
  2368.         CONST_VTBL struct IMediaSampleVtbl __RPC_FAR *lpVtbl;
  2369.     };
  2370.  
  2371.     
  2372.  
  2373. #ifdef COBJMACROS
  2374.  
  2375.  
  2376. #define IMediaSample_QueryInterface(This,riid,ppvObject)    \
  2377.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2378.  
  2379. #define IMediaSample_AddRef(This)    \
  2380.     (This)->lpVtbl -> AddRef(This)
  2381.  
  2382. #define IMediaSample_Release(This)    \
  2383.     (This)->lpVtbl -> Release(This)
  2384.  
  2385.  
  2386. #define IMediaSample_GetPointer(This,ppBuffer)    \
  2387.     (This)->lpVtbl -> GetPointer(This,ppBuffer)
  2388.  
  2389. #define IMediaSample_GetSize(This)    \
  2390.     (This)->lpVtbl -> GetSize(This)
  2391.  
  2392. #define IMediaSample_GetTime(This,pTimeStart,pTimeEnd)    \
  2393.     (This)->lpVtbl -> GetTime(This,pTimeStart,pTimeEnd)
  2394.  
  2395. #define IMediaSample_SetTime(This,pTimeStart,pTimeEnd)    \
  2396.     (This)->lpVtbl -> SetTime(This,pTimeStart,pTimeEnd)
  2397.  
  2398. #define IMediaSample_IsSyncPoint(This)    \
  2399.     (This)->lpVtbl -> IsSyncPoint(This)
  2400.  
  2401. #define IMediaSample_SetSyncPoint(This,bIsSyncPoint)    \
  2402.     (This)->lpVtbl -> SetSyncPoint(This,bIsSyncPoint)
  2403.  
  2404. #define IMediaSample_IsPreroll(This)    \
  2405.     (This)->lpVtbl -> IsPreroll(This)
  2406.  
  2407. #define IMediaSample_SetPreroll(This,bIsPreroll)    \
  2408.     (This)->lpVtbl -> SetPreroll(This,bIsPreroll)
  2409.  
  2410. #define IMediaSample_GetActualDataLength(This)    \
  2411.     (This)->lpVtbl -> GetActualDataLength(This)
  2412.  
  2413. #define IMediaSample_SetActualDataLength(This,__MIDL_0002)    \
  2414.     (This)->lpVtbl -> SetActualDataLength(This,__MIDL_0002)
  2415.  
  2416. #define IMediaSample_GetMediaType(This,ppMediaType)    \
  2417.     (This)->lpVtbl -> GetMediaType(This,ppMediaType)
  2418.  
  2419. #define IMediaSample_SetMediaType(This,pMediaType)    \
  2420.     (This)->lpVtbl -> SetMediaType(This,pMediaType)
  2421.  
  2422. #define IMediaSample_IsDiscontinuity(This)    \
  2423.     (This)->lpVtbl -> IsDiscontinuity(This)
  2424.  
  2425. #define IMediaSample_SetDiscontinuity(This,bDiscontinuity)    \
  2426.     (This)->lpVtbl -> SetDiscontinuity(This,bDiscontinuity)
  2427.  
  2428. #define IMediaSample_GetMediaTime(This,pTimeStart,pTimeEnd)    \
  2429.     (This)->lpVtbl -> GetMediaTime(This,pTimeStart,pTimeEnd)
  2430.  
  2431. #define IMediaSample_SetMediaTime(This,pTimeStart,pTimeEnd)    \
  2432.     (This)->lpVtbl -> SetMediaTime(This,pTimeStart,pTimeEnd)
  2433.  
  2434. #endif /* COBJMACROS */
  2435.  
  2436.  
  2437. #endif     /* C style interface */
  2438.  
  2439.  
  2440.  
  2441. HRESULT __stdcall IMediaSample_GetPointer_Proxy( 
  2442.     IMediaSample __RPC_FAR * This,
  2443.     /* [out] */ BYTE __RPC_FAR *__RPC_FAR *ppBuffer);
  2444.  
  2445.  
  2446. void __RPC_STUB IMediaSample_GetPointer_Stub(
  2447.     IRpcStubBuffer *This,
  2448.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2449.     PRPC_MESSAGE _pRpcMessage,
  2450.     DWORD *_pdwStubPhase);
  2451.  
  2452.  
  2453. long __stdcall IMediaSample_GetSize_Proxy( 
  2454.     IMediaSample __RPC_FAR * This);
  2455.  
  2456.  
  2457. void __RPC_STUB IMediaSample_GetSize_Stub(
  2458.     IRpcStubBuffer *This,
  2459.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2460.     PRPC_MESSAGE _pRpcMessage,
  2461.     DWORD *_pdwStubPhase);
  2462.  
  2463.  
  2464. HRESULT __stdcall IMediaSample_GetTime_Proxy( 
  2465.     IMediaSample __RPC_FAR * This,
  2466.     /* [out] */ REFERENCE_TIME __RPC_FAR *pTimeStart,
  2467.     /* [out] */ REFERENCE_TIME __RPC_FAR *pTimeEnd);
  2468.  
  2469.  
  2470. void __RPC_STUB IMediaSample_GetTime_Stub(
  2471.     IRpcStubBuffer *This,
  2472.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2473.     PRPC_MESSAGE _pRpcMessage,
  2474.     DWORD *_pdwStubPhase);
  2475.  
  2476.  
  2477. HRESULT __stdcall IMediaSample_SetTime_Proxy( 
  2478.     IMediaSample __RPC_FAR * This,
  2479.     /* [in] */ REFERENCE_TIME __RPC_FAR *pTimeStart,
  2480.     /* [in] */ REFERENCE_TIME __RPC_FAR *pTimeEnd);
  2481.  
  2482.  
  2483. void __RPC_STUB IMediaSample_SetTime_Stub(
  2484.     IRpcStubBuffer *This,
  2485.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2486.     PRPC_MESSAGE _pRpcMessage,
  2487.     DWORD *_pdwStubPhase);
  2488.  
  2489.  
  2490. HRESULT __stdcall IMediaSample_IsSyncPoint_Proxy( 
  2491.     IMediaSample __RPC_FAR * This);
  2492.  
  2493.  
  2494. void __RPC_STUB IMediaSample_IsSyncPoint_Stub(
  2495.     IRpcStubBuffer *This,
  2496.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2497.     PRPC_MESSAGE _pRpcMessage,
  2498.     DWORD *_pdwStubPhase);
  2499.  
  2500.  
  2501. HRESULT __stdcall IMediaSample_SetSyncPoint_Proxy( 
  2502.     IMediaSample __RPC_FAR * This,
  2503.     BOOL bIsSyncPoint);
  2504.  
  2505.  
  2506. void __RPC_STUB IMediaSample_SetSyncPoint_Stub(
  2507.     IRpcStubBuffer *This,
  2508.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2509.     PRPC_MESSAGE _pRpcMessage,
  2510.     DWORD *_pdwStubPhase);
  2511.  
  2512.  
  2513. HRESULT __stdcall IMediaSample_IsPreroll_Proxy( 
  2514.     IMediaSample __RPC_FAR * This);
  2515.  
  2516.  
  2517. void __RPC_STUB IMediaSample_IsPreroll_Stub(
  2518.     IRpcStubBuffer *This,
  2519.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2520.     PRPC_MESSAGE _pRpcMessage,
  2521.     DWORD *_pdwStubPhase);
  2522.  
  2523.  
  2524. HRESULT __stdcall IMediaSample_SetPreroll_Proxy( 
  2525.     IMediaSample __RPC_FAR * This,
  2526.     BOOL bIsPreroll);
  2527.  
  2528.  
  2529. void __RPC_STUB IMediaSample_SetPreroll_Stub(
  2530.     IRpcStubBuffer *This,
  2531.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2532.     PRPC_MESSAGE _pRpcMessage,
  2533.     DWORD *_pdwStubPhase);
  2534.  
  2535.  
  2536. long __stdcall IMediaSample_GetActualDataLength_Proxy( 
  2537.     IMediaSample __RPC_FAR * This);
  2538.  
  2539.  
  2540. void __RPC_STUB IMediaSample_GetActualDataLength_Stub(
  2541.     IRpcStubBuffer *This,
  2542.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2543.     PRPC_MESSAGE _pRpcMessage,
  2544.     DWORD *_pdwStubPhase);
  2545.  
  2546.  
  2547. HRESULT __stdcall IMediaSample_SetActualDataLength_Proxy( 
  2548.     IMediaSample __RPC_FAR * This,
  2549.     long __MIDL_0002);
  2550.  
  2551.  
  2552. void __RPC_STUB IMediaSample_SetActualDataLength_Stub(
  2553.     IRpcStubBuffer *This,
  2554.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2555.     PRPC_MESSAGE _pRpcMessage,
  2556.     DWORD *_pdwStubPhase);
  2557.  
  2558.  
  2559. HRESULT __stdcall IMediaSample_GetMediaType_Proxy( 
  2560.     IMediaSample __RPC_FAR * This,
  2561.     AM_MEDIA_TYPE __RPC_FAR *__RPC_FAR *ppMediaType);
  2562.  
  2563.  
  2564. void __RPC_STUB IMediaSample_GetMediaType_Stub(
  2565.     IRpcStubBuffer *This,
  2566.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2567.     PRPC_MESSAGE _pRpcMessage,
  2568.     DWORD *_pdwStubPhase);
  2569.  
  2570.  
  2571. HRESULT __stdcall IMediaSample_SetMediaType_Proxy( 
  2572.     IMediaSample __RPC_FAR * This,
  2573.     AM_MEDIA_TYPE __RPC_FAR *pMediaType);
  2574.  
  2575.  
  2576. void __RPC_STUB IMediaSample_SetMediaType_Stub(
  2577.     IRpcStubBuffer *This,
  2578.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2579.     PRPC_MESSAGE _pRpcMessage,
  2580.     DWORD *_pdwStubPhase);
  2581.  
  2582.  
  2583. HRESULT __stdcall IMediaSample_IsDiscontinuity_Proxy( 
  2584.     IMediaSample __RPC_FAR * This);
  2585.  
  2586.  
  2587. void __RPC_STUB IMediaSample_IsDiscontinuity_Stub(
  2588.     IRpcStubBuffer *This,
  2589.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2590.     PRPC_MESSAGE _pRpcMessage,
  2591.     DWORD *_pdwStubPhase);
  2592.  
  2593.  
  2594. HRESULT __stdcall IMediaSample_SetDiscontinuity_Proxy( 
  2595.     IMediaSample __RPC_FAR * This,
  2596.     BOOL bDiscontinuity);
  2597.  
  2598.  
  2599. void __RPC_STUB IMediaSample_SetDiscontinuity_Stub(
  2600.     IRpcStubBuffer *This,
  2601.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2602.     PRPC_MESSAGE _pRpcMessage,
  2603.     DWORD *_pdwStubPhase);
  2604.  
  2605.  
  2606. HRESULT __stdcall IMediaSample_GetMediaTime_Proxy( 
  2607.     IMediaSample __RPC_FAR * This,
  2608.     /* [out] */ LONGLONG __RPC_FAR *pTimeStart,
  2609.     /* [out] */ LONGLONG __RPC_FAR *pTimeEnd);
  2610.  
  2611.  
  2612. void __RPC_STUB IMediaSample_GetMediaTime_Stub(
  2613.     IRpcStubBuffer *This,
  2614.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2615.     PRPC_MESSAGE _pRpcMessage,
  2616.     DWORD *_pdwStubPhase);
  2617.  
  2618.  
  2619. HRESULT __stdcall IMediaSample_SetMediaTime_Proxy( 
  2620.     IMediaSample __RPC_FAR * This,
  2621.     /* [in] */ LONGLONG __RPC_FAR *pTimeStart,
  2622.     /* [in] */ LONGLONG __RPC_FAR *pTimeEnd);
  2623.  
  2624.  
  2625. void __RPC_STUB IMediaSample_SetMediaTime_Stub(
  2626.     IRpcStubBuffer *This,
  2627.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2628.     PRPC_MESSAGE _pRpcMessage,
  2629.     DWORD *_pdwStubPhase);
  2630.  
  2631.  
  2632.  
  2633. #endif     /* __IMediaSample_INTERFACE_DEFINED__ */
  2634.  
  2635.  
  2636. /****************************************
  2637.  * Generated header for interface: __MIDL__intf_0049
  2638.  * at Wed Jun 26 01:38:28 1996
  2639.  * using MIDL 2.00.0102
  2640.  ****************************************/
  2641. /* [local] */ 
  2642.  
  2643.  
  2644.             /* size is 4 */
  2645. typedef IMediaSample __RPC_FAR *PMEDIASAMPLE;
  2646.  
  2647. #define AM_GBF_PREVFRAMESKIPPED 1
  2648. #define AM_GBF_NOTASYNCPOINT 2
  2649.  
  2650.  
  2651. extern RPC_IF_HANDLE __MIDL__intf_0049_v0_0_c_ifspec;
  2652. extern RPC_IF_HANDLE __MIDL__intf_0049_v0_0_s_ifspec;
  2653.  
  2654. #ifndef __IMemAllocator_INTERFACE_DEFINED__
  2655. #define __IMemAllocator_INTERFACE_DEFINED__
  2656.  
  2657. /****************************************
  2658.  * Generated header for interface: IMemAllocator
  2659.  * at Wed Jun 26 01:38:28 1996
  2660.  * using MIDL 2.00.0102
  2661.  ****************************************/
  2662. /* [unique][uuid][object] */ 
  2663.  
  2664.  
  2665.  
  2666. EXTERN_C const IID IID_IMemAllocator;
  2667.  
  2668. #if defined(__cplusplus) && !defined(CINTERFACE)
  2669.     
  2670.     interface IMemAllocator : public IUnknown
  2671.     {
  2672.     public:
  2673.         virtual HRESULT __stdcall SetProperties( 
  2674.             /* [in] */ ALLOCATOR_PROPERTIES __RPC_FAR *pRequest,
  2675.             /* [out] */ ALLOCATOR_PROPERTIES __RPC_FAR *pActual) = 0;
  2676.         
  2677.         virtual HRESULT __stdcall GetProperties( 
  2678.             /* [out] */ ALLOCATOR_PROPERTIES __RPC_FAR *pProps) = 0;
  2679.         
  2680.         virtual HRESULT __stdcall Commit( void) = 0;
  2681.         
  2682.         virtual HRESULT __stdcall Decommit( void) = 0;
  2683.         
  2684.         virtual HRESULT __stdcall GetBuffer( 
  2685.             /* [out] */ IMediaSample __RPC_FAR *__RPC_FAR *ppBuffer,
  2686.             /* [in] */ REFERENCE_TIME __RPC_FAR *pStartTime,
  2687.             /* [in] */ REFERENCE_TIME __RPC_FAR *pEndTime,
  2688.             /* [in] */ DWORD dwFlags) = 0;
  2689.         
  2690.         virtual HRESULT __stdcall ReleaseBuffer( 
  2691.             /* [in] */ IMediaSample __RPC_FAR *pBuffer) = 0;
  2692.         
  2693.     };
  2694.     
  2695. #else     /* C style interface */
  2696.  
  2697.     typedef struct IMemAllocatorVtbl
  2698.     {
  2699.         
  2700.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  2701.             IMemAllocator __RPC_FAR * This,
  2702.             /* [in] */ REFIID riid,
  2703.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2704.         
  2705.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  2706.             IMemAllocator __RPC_FAR * This);
  2707.         
  2708.         ULONG ( __stdcall __RPC_FAR *Release )( 
  2709.             IMemAllocator __RPC_FAR * This);
  2710.         
  2711.         HRESULT ( __stdcall __RPC_FAR *SetProperties )( 
  2712.             IMemAllocator __RPC_FAR * This,
  2713.             /* [in] */ ALLOCATOR_PROPERTIES __RPC_FAR *pRequest,
  2714.             /* [out] */ ALLOCATOR_PROPERTIES __RPC_FAR *pActual);
  2715.         
  2716.         HRESULT ( __stdcall __RPC_FAR *GetProperties )( 
  2717.             IMemAllocator __RPC_FAR * This,
  2718.             /* [out] */ ALLOCATOR_PROPERTIES __RPC_FAR *pProps);
  2719.         
  2720.         HRESULT ( __stdcall __RPC_FAR *Commit )( 
  2721.             IMemAllocator __RPC_FAR * This);
  2722.         
  2723.         HRESULT ( __stdcall __RPC_FAR *Decommit )( 
  2724.             IMemAllocator __RPC_FAR * This);
  2725.         
  2726.         HRESULT ( __stdcall __RPC_FAR *GetBuffer )( 
  2727.             IMemAllocator __RPC_FAR * This,
  2728.             /* [out] */ IMediaSample __RPC_FAR *__RPC_FAR *ppBuffer,
  2729.             /* [in] */ REFERENCE_TIME __RPC_FAR *pStartTime,
  2730.             /* [in] */ REFERENCE_TIME __RPC_FAR *pEndTime,
  2731.             /* [in] */ DWORD dwFlags);
  2732.         
  2733.         HRESULT ( __stdcall __RPC_FAR *ReleaseBuffer )( 
  2734.             IMemAllocator __RPC_FAR * This,
  2735.             /* [in] */ IMediaSample __RPC_FAR *pBuffer);
  2736.         
  2737.     } IMemAllocatorVtbl;
  2738.  
  2739.     interface IMemAllocator
  2740.     {
  2741.         CONST_VTBL struct IMemAllocatorVtbl __RPC_FAR *lpVtbl;
  2742.     };
  2743.  
  2744.     
  2745.  
  2746. #ifdef COBJMACROS
  2747.  
  2748.  
  2749. #define IMemAllocator_QueryInterface(This,riid,ppvObject)    \
  2750.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2751.  
  2752. #define IMemAllocator_AddRef(This)    \
  2753.     (This)->lpVtbl -> AddRef(This)
  2754.  
  2755. #define IMemAllocator_Release(This)    \
  2756.     (This)->lpVtbl -> Release(This)
  2757.  
  2758.  
  2759. #define IMemAllocator_SetProperties(This,pRequest,pActual)    \
  2760.     (This)->lpVtbl -> SetProperties(This,pRequest,pActual)
  2761.  
  2762. #define IMemAllocator_GetProperties(This,pProps)    \
  2763.     (This)->lpVtbl -> GetProperties(This,pProps)
  2764.  
  2765. #define IMemAllocator_Commit(This)    \
  2766.     (This)->lpVtbl -> Commit(This)
  2767.  
  2768. #define IMemAllocator_Decommit(This)    \
  2769.     (This)->lpVtbl -> Decommit(This)
  2770.  
  2771. #define IMemAllocator_GetBuffer(This,ppBuffer,pStartTime,pEndTime,dwFlags)    \
  2772.     (This)->lpVtbl -> GetBuffer(This,ppBuffer,pStartTime,pEndTime,dwFlags)
  2773.  
  2774. #define IMemAllocator_ReleaseBuffer(This,pBuffer)    \
  2775.     (This)->lpVtbl -> ReleaseBuffer(This,pBuffer)
  2776.  
  2777. #endif /* COBJMACROS */
  2778.  
  2779.  
  2780. #endif     /* C style interface */
  2781.  
  2782.  
  2783.  
  2784. HRESULT __stdcall IMemAllocator_SetProperties_Proxy( 
  2785.     IMemAllocator __RPC_FAR * This,
  2786.     /* [in] */ ALLOCATOR_PROPERTIES __RPC_FAR *pRequest,
  2787.     /* [out] */ ALLOCATOR_PROPERTIES __RPC_FAR *pActual);
  2788.  
  2789.  
  2790. void __RPC_STUB IMemAllocator_SetProperties_Stub(
  2791.     IRpcStubBuffer *This,
  2792.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2793.     PRPC_MESSAGE _pRpcMessage,
  2794.     DWORD *_pdwStubPhase);
  2795.  
  2796.  
  2797. HRESULT __stdcall IMemAllocator_GetProperties_Proxy( 
  2798.     IMemAllocator __RPC_FAR * This,
  2799.     /* [out] */ ALLOCATOR_PROPERTIES __RPC_FAR *pProps);
  2800.  
  2801.  
  2802. void __RPC_STUB IMemAllocator_GetProperties_Stub(
  2803.     IRpcStubBuffer *This,
  2804.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2805.     PRPC_MESSAGE _pRpcMessage,
  2806.     DWORD *_pdwStubPhase);
  2807.  
  2808.  
  2809. HRESULT __stdcall IMemAllocator_Commit_Proxy( 
  2810.     IMemAllocator __RPC_FAR * This);
  2811.  
  2812.  
  2813. void __RPC_STUB IMemAllocator_Commit_Stub(
  2814.     IRpcStubBuffer *This,
  2815.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2816.     PRPC_MESSAGE _pRpcMessage,
  2817.     DWORD *_pdwStubPhase);
  2818.  
  2819.  
  2820. HRESULT __stdcall IMemAllocator_Decommit_Proxy( 
  2821.     IMemAllocator __RPC_FAR * This);
  2822.  
  2823.  
  2824. void __RPC_STUB IMemAllocator_Decommit_Stub(
  2825.     IRpcStubBuffer *This,
  2826.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2827.     PRPC_MESSAGE _pRpcMessage,
  2828.     DWORD *_pdwStubPhase);
  2829.  
  2830.  
  2831. HRESULT __stdcall IMemAllocator_GetBuffer_Proxy( 
  2832.     IMemAllocator __RPC_FAR * This,
  2833.     /* [out] */ IMediaSample __RPC_FAR *__RPC_FAR *ppBuffer,
  2834.     /* [in] */ REFERENCE_TIME __RPC_FAR *pStartTime,
  2835.     /* [in] */ REFERENCE_TIME __RPC_FAR *pEndTime,
  2836.     /* [in] */ DWORD dwFlags);
  2837.  
  2838.  
  2839. void __RPC_STUB IMemAllocator_GetBuffer_Stub(
  2840.     IRpcStubBuffer *This,
  2841.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2842.     PRPC_MESSAGE _pRpcMessage,
  2843.     DWORD *_pdwStubPhase);
  2844.  
  2845.  
  2846. HRESULT __stdcall IMemAllocator_ReleaseBuffer_Proxy( 
  2847.     IMemAllocator __RPC_FAR * This,
  2848.     /* [in] */ IMediaSample __RPC_FAR *pBuffer);
  2849.  
  2850.  
  2851. void __RPC_STUB IMemAllocator_ReleaseBuffer_Stub(
  2852.     IRpcStubBuffer *This,
  2853.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2854.     PRPC_MESSAGE _pRpcMessage,
  2855.     DWORD *_pdwStubPhase);
  2856.  
  2857.  
  2858.  
  2859. #endif     /* __IMemAllocator_INTERFACE_DEFINED__ */
  2860.  
  2861.  
  2862. /****************************************
  2863.  * Generated header for interface: __MIDL__intf_0050
  2864.  * at Wed Jun 26 01:38:28 1996
  2865.  * using MIDL 2.00.0102
  2866.  ****************************************/
  2867. /* [local] */ 
  2868.  
  2869.  
  2870.             /* size is 4 */
  2871. typedef IMemAllocator __RPC_FAR *PMEMALLOCATOR;
  2872.  
  2873.  
  2874.  
  2875. extern RPC_IF_HANDLE __MIDL__intf_0050_v0_0_c_ifspec;
  2876. extern RPC_IF_HANDLE __MIDL__intf_0050_v0_0_s_ifspec;
  2877.  
  2878. #ifndef __IMemInputPin_INTERFACE_DEFINED__
  2879. #define __IMemInputPin_INTERFACE_DEFINED__
  2880.  
  2881. /****************************************
  2882.  * Generated header for interface: IMemInputPin
  2883.  * at Wed Jun 26 01:38:28 1996
  2884.  * using MIDL 2.00.0102
  2885.  ****************************************/
  2886. /* [unique][uuid][object] */ 
  2887.  
  2888.  
  2889.  
  2890. EXTERN_C const IID IID_IMemInputPin;
  2891.  
  2892. #if defined(__cplusplus) && !defined(CINTERFACE)
  2893.     
  2894.     interface IMemInputPin : public IUnknown
  2895.     {
  2896.     public:
  2897.         virtual HRESULT __stdcall GetAllocator( 
  2898.             /* [out] */ IMemAllocator __RPC_FAR *__RPC_FAR *ppAllocator) = 0;
  2899.         
  2900.         virtual HRESULT __stdcall NotifyAllocator( 
  2901.             /* [in] */ IMemAllocator __RPC_FAR *pAllocator,
  2902.             /* [in] */ BOOL bReadOnly) = 0;
  2903.         
  2904.         virtual HRESULT __stdcall GetAllocatorRequirements( 
  2905.             /* [out] */ ALLOCATOR_PROPERTIES __RPC_FAR *pProps) = 0;
  2906.         
  2907.         virtual HRESULT __stdcall Receive( 
  2908.             /* [in] */ IMediaSample __RPC_FAR *pSample) = 0;
  2909.         
  2910.         virtual HRESULT __stdcall ReceiveMultiple( 
  2911.             /* [size_is][in] */ IMediaSample __RPC_FAR *__RPC_FAR *pSamples,
  2912.             /* [in] */ long nSamples,
  2913.             /* [out] */ long __RPC_FAR *nSamplesProcessed) = 0;
  2914.         
  2915.         virtual HRESULT __stdcall ReceiveCanBlock( void) = 0;
  2916.         
  2917.     };
  2918.     
  2919. #else     /* C style interface */
  2920.  
  2921.     typedef struct IMemInputPinVtbl
  2922.     {
  2923.         
  2924.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  2925.             IMemInputPin __RPC_FAR * This,
  2926.             /* [in] */ REFIID riid,
  2927.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2928.         
  2929.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  2930.             IMemInputPin __RPC_FAR * This);
  2931.         
  2932.         ULONG ( __stdcall __RPC_FAR *Release )( 
  2933.             IMemInputPin __RPC_FAR * This);
  2934.         
  2935.         HRESULT ( __stdcall __RPC_FAR *GetAllocator )( 
  2936.             IMemInputPin __RPC_FAR * This,
  2937.             /* [out] */ IMemAllocator __RPC_FAR *__RPC_FAR *ppAllocator);
  2938.         
  2939.         HRESULT ( __stdcall __RPC_FAR *NotifyAllocator )( 
  2940.             IMemInputPin __RPC_FAR * This,
  2941.             /* [in] */ IMemAllocator __RPC_FAR *pAllocator,
  2942.             /* [in] */ BOOL bReadOnly);
  2943.         
  2944.         HRESULT ( __stdcall __RPC_FAR *GetAllocatorRequirements )( 
  2945.             IMemInputPin __RPC_FAR * This,
  2946.             /* [out] */ ALLOCATOR_PROPERTIES __RPC_FAR *pProps);
  2947.         
  2948.         HRESULT ( __stdcall __RPC_FAR *Receive )( 
  2949.             IMemInputPin __RPC_FAR * This,
  2950.             /* [in] */ IMediaSample __RPC_FAR *pSample);
  2951.         
  2952.         HRESULT ( __stdcall __RPC_FAR *ReceiveMultiple )( 
  2953.             IMemInputPin __RPC_FAR * This,
  2954.             /* [size_is][in] */ IMediaSample __RPC_FAR *__RPC_FAR *pSamples,
  2955.             /* [in] */ long nSamples,
  2956.             /* [out] */ long __RPC_FAR *nSamplesProcessed);
  2957.         
  2958.         HRESULT ( __stdcall __RPC_FAR *ReceiveCanBlock )( 
  2959.             IMemInputPin __RPC_FAR * This);
  2960.         
  2961.     } IMemInputPinVtbl;
  2962.  
  2963.     interface IMemInputPin
  2964.     {
  2965.         CONST_VTBL struct IMemInputPinVtbl __RPC_FAR *lpVtbl;
  2966.     };
  2967.  
  2968.     
  2969.  
  2970. #ifdef COBJMACROS
  2971.  
  2972.  
  2973. #define IMemInputPin_QueryInterface(This,riid,ppvObject)    \
  2974.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2975.  
  2976. #define IMemInputPin_AddRef(This)    \
  2977.     (This)->lpVtbl -> AddRef(This)
  2978.  
  2979. #define IMemInputPin_Release(This)    \
  2980.     (This)->lpVtbl -> Release(This)
  2981.  
  2982.  
  2983. #define IMemInputPin_GetAllocator(This,ppAllocator)    \
  2984.     (This)->lpVtbl -> GetAllocator(This,ppAllocator)
  2985.  
  2986. #define IMemInputPin_NotifyAllocator(This,pAllocator,bReadOnly)    \
  2987.     (This)->lpVtbl -> NotifyAllocator(This,pAllocator,bReadOnly)
  2988.  
  2989. #define IMemInputPin_GetAllocatorRequirements(This,pProps)    \
  2990.     (This)->lpVtbl -> GetAllocatorRequirements(This,pProps)
  2991.  
  2992. #define IMemInputPin_Receive(This,pSample)    \
  2993.     (This)->lpVtbl -> Receive(This,pSample)
  2994.  
  2995. #define IMemInputPin_ReceiveMultiple(This,pSamples,nSamples,nSamplesProcessed)    \
  2996.     (This)->lpVtbl -> ReceiveMultiple(This,pSamples,nSamples,nSamplesProcessed)
  2997.  
  2998. #define IMemInputPin_ReceiveCanBlock(This)    \
  2999.     (This)->lpVtbl -> ReceiveCanBlock(This)
  3000.  
  3001. #endif /* COBJMACROS */
  3002.  
  3003.  
  3004. #endif     /* C style interface */
  3005.  
  3006.  
  3007.  
  3008. HRESULT __stdcall IMemInputPin_GetAllocator_Proxy( 
  3009.     IMemInputPin __RPC_FAR * This,
  3010.     /* [out] */ IMemAllocator __RPC_FAR *__RPC_FAR *ppAllocator);
  3011.  
  3012.  
  3013. void __RPC_STUB IMemInputPin_GetAllocator_Stub(
  3014.     IRpcStubBuffer *This,
  3015.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3016.     PRPC_MESSAGE _pRpcMessage,
  3017.     DWORD *_pdwStubPhase);
  3018.  
  3019.  
  3020. HRESULT __stdcall IMemInputPin_NotifyAllocator_Proxy( 
  3021.     IMemInputPin __RPC_FAR * This,
  3022.     /* [in] */ IMemAllocator __RPC_FAR *pAllocator,
  3023.     /* [in] */ BOOL bReadOnly);
  3024.  
  3025.  
  3026. void __RPC_STUB IMemInputPin_NotifyAllocator_Stub(
  3027.     IRpcStubBuffer *This,
  3028.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3029.     PRPC_MESSAGE _pRpcMessage,
  3030.     DWORD *_pdwStubPhase);
  3031.  
  3032.  
  3033. HRESULT __stdcall IMemInputPin_GetAllocatorRequirements_Proxy( 
  3034.     IMemInputPin __RPC_FAR * This,
  3035.     /* [out] */ ALLOCATOR_PROPERTIES __RPC_FAR *pProps);
  3036.  
  3037.  
  3038. void __RPC_STUB IMemInputPin_GetAllocatorRequirements_Stub(
  3039.     IRpcStubBuffer *This,
  3040.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3041.     PRPC_MESSAGE _pRpcMessage,
  3042.     DWORD *_pdwStubPhase);
  3043.  
  3044.  
  3045. HRESULT __stdcall IMemInputPin_Receive_Proxy( 
  3046.     IMemInputPin __RPC_FAR * This,
  3047.     /* [in] */ IMediaSample __RPC_FAR *pSample);
  3048.  
  3049.  
  3050. void __RPC_STUB IMemInputPin_Receive_Stub(
  3051.     IRpcStubBuffer *This,
  3052.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3053.     PRPC_MESSAGE _pRpcMessage,
  3054.     DWORD *_pdwStubPhase);
  3055.  
  3056.  
  3057. HRESULT __stdcall IMemInputPin_ReceiveMultiple_Proxy( 
  3058.     IMemInputPin __RPC_FAR * This,
  3059.     /* [size_is][in] */ IMediaSample __RPC_FAR *__RPC_FAR *pSamples,
  3060.     /* [in] */ long nSamples,
  3061.     /* [out] */ long __RPC_FAR *nSamplesProcessed);
  3062.  
  3063.  
  3064. void __RPC_STUB IMemInputPin_ReceiveMultiple_Stub(
  3065.     IRpcStubBuffer *This,
  3066.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3067.     PRPC_MESSAGE _pRpcMessage,
  3068.     DWORD *_pdwStubPhase);
  3069.  
  3070.  
  3071. HRESULT __stdcall IMemInputPin_ReceiveCanBlock_Proxy( 
  3072.     IMemInputPin __RPC_FAR * This);
  3073.  
  3074.  
  3075. void __RPC_STUB IMemInputPin_ReceiveCanBlock_Stub(
  3076.     IRpcStubBuffer *This,
  3077.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3078.     PRPC_MESSAGE _pRpcMessage,
  3079.     DWORD *_pdwStubPhase);
  3080.  
  3081.  
  3082.  
  3083. #endif     /* __IMemInputPin_INTERFACE_DEFINED__ */
  3084.  
  3085.  
  3086. /****************************************
  3087.  * Generated header for interface: __MIDL__intf_0051
  3088.  * at Wed Jun 26 01:38:28 1996
  3089.  * using MIDL 2.00.0102
  3090.  ****************************************/
  3091. /* [local] */ 
  3092.  
  3093.  
  3094.             /* size is 4 */
  3095. typedef IMemInputPin __RPC_FAR *PMEMINPUTPIN;
  3096.  
  3097.  
  3098.  
  3099. extern RPC_IF_HANDLE __MIDL__intf_0051_v0_0_c_ifspec;
  3100. extern RPC_IF_HANDLE __MIDL__intf_0051_v0_0_s_ifspec;
  3101.  
  3102. #ifndef __IAMovieSetup_INTERFACE_DEFINED__
  3103. #define __IAMovieSetup_INTERFACE_DEFINED__
  3104.  
  3105. /****************************************
  3106.  * Generated header for interface: IAMovieSetup
  3107.  * at Wed Jun 26 01:38:28 1996
  3108.  * using MIDL 2.00.0102
  3109.  ****************************************/
  3110. /* [unique][uuid][object] */ 
  3111.  
  3112.  
  3113.  
  3114. EXTERN_C const IID IID_IAMovieSetup;
  3115.  
  3116. #if defined(__cplusplus) && !defined(CINTERFACE)
  3117.     
  3118.     interface IAMovieSetup : public IUnknown
  3119.     {
  3120.     public:
  3121.         virtual HRESULT __stdcall Register( void) = 0;
  3122.         
  3123.         virtual HRESULT __stdcall Unregister( void) = 0;
  3124.         
  3125.     };
  3126.     
  3127. #else     /* C style interface */
  3128.  
  3129.     typedef struct IAMovieSetupVtbl
  3130.     {
  3131.         
  3132.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  3133.             IAMovieSetup __RPC_FAR * This,
  3134.             /* [in] */ REFIID riid,
  3135.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3136.         
  3137.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  3138.             IAMovieSetup __RPC_FAR * This);
  3139.         
  3140.         ULONG ( __stdcall __RPC_FAR *Release )( 
  3141.             IAMovieSetup __RPC_FAR * This);
  3142.         
  3143.         HRESULT ( __stdcall __RPC_FAR *Register )( 
  3144.             IAMovieSetup __RPC_FAR * This);
  3145.         
  3146.         HRESULT ( __stdcall __RPC_FAR *Unregister )( 
  3147.             IAMovieSetup __RPC_FAR * This);
  3148.         
  3149.     } IAMovieSetupVtbl;
  3150.  
  3151.     interface IAMovieSetup
  3152.     {
  3153.         CONST_VTBL struct IAMovieSetupVtbl __RPC_FAR *lpVtbl;
  3154.     };
  3155.  
  3156.     
  3157.  
  3158. #ifdef COBJMACROS
  3159.  
  3160.  
  3161. #define IAMovieSetup_QueryInterface(This,riid,ppvObject)    \
  3162.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3163.  
  3164. #define IAMovieSetup_AddRef(This)    \
  3165.     (This)->lpVtbl -> AddRef(This)
  3166.  
  3167. #define IAMovieSetup_Release(This)    \
  3168.     (This)->lpVtbl -> Release(This)
  3169.  
  3170.  
  3171. #define IAMovieSetup_Register(This)    \
  3172.     (This)->lpVtbl -> Register(This)
  3173.  
  3174. #define IAMovieSetup_Unregister(This)    \
  3175.     (This)->lpVtbl -> Unregister(This)
  3176.  
  3177. #endif /* COBJMACROS */
  3178.  
  3179.  
  3180. #endif     /* C style interface */
  3181.  
  3182.  
  3183.  
  3184. HRESULT __stdcall IAMovieSetup_Register_Proxy( 
  3185.     IAMovieSetup __RPC_FAR * This);
  3186.  
  3187.  
  3188. void __RPC_STUB IAMovieSetup_Register_Stub(
  3189.     IRpcStubBuffer *This,
  3190.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3191.     PRPC_MESSAGE _pRpcMessage,
  3192.     DWORD *_pdwStubPhase);
  3193.  
  3194.  
  3195. HRESULT __stdcall IAMovieSetup_Unregister_Proxy( 
  3196.     IAMovieSetup __RPC_FAR * This);
  3197.  
  3198.  
  3199. void __RPC_STUB IAMovieSetup_Unregister_Stub(
  3200.     IRpcStubBuffer *This,
  3201.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3202.     PRPC_MESSAGE _pRpcMessage,
  3203.     DWORD *_pdwStubPhase);
  3204.  
  3205.  
  3206.  
  3207. #endif     /* __IAMovieSetup_INTERFACE_DEFINED__ */
  3208.  
  3209.  
  3210. /****************************************
  3211.  * Generated header for interface: __MIDL__intf_0052
  3212.  * at Wed Jun 26 01:38:28 1996
  3213.  * using MIDL 2.00.0102
  3214.  ****************************************/
  3215. /* [local] */ 
  3216.  
  3217.  
  3218.             /* size is 4 */
  3219. typedef IAMovieSetup __RPC_FAR *PAMOVIESETUP;
  3220.  
  3221.  
  3222.  
  3223. extern RPC_IF_HANDLE __MIDL__intf_0052_v0_0_c_ifspec;
  3224. extern RPC_IF_HANDLE __MIDL__intf_0052_v0_0_s_ifspec;
  3225.  
  3226. #ifndef __IMediaSelection_INTERFACE_DEFINED__
  3227. #define __IMediaSelection_INTERFACE_DEFINED__
  3228.  
  3229. /****************************************
  3230.  * Generated header for interface: IMediaSelection
  3231.  * at Wed Jun 26 01:38:28 1996
  3232.  * using MIDL 2.00.0102
  3233.  ****************************************/
  3234. /* [unique][uuid][object] */ 
  3235.  
  3236.  
  3237.  
  3238. EXTERN_C const IID IID_IMediaSelection;
  3239.  
  3240. #if defined(__cplusplus) && !defined(CINTERFACE)
  3241.     
  3242.     interface IMediaSelection : public IUnknown
  3243.     {
  3244.     public:
  3245.         virtual HRESULT __stdcall IsFormatSupported( 
  3246.             /* [in] */ const GUID Format) = 0;
  3247.         
  3248.         virtual HRESULT __stdcall QueryPreferredFormat( 
  3249.             /* [out] */ GUID __RPC_FAR *pFormat) = 0;
  3250.         
  3251.         virtual HRESULT __stdcall SetTimeFormat( 
  3252.             /* [in] */ const GUID Format) = 0;
  3253.         
  3254.         virtual HRESULT __stdcall GetTimeFormat( 
  3255.             /* [out] */ GUID __RPC_FAR *pFormat) = 0;
  3256.         
  3257.         virtual HRESULT __stdcall GetDuration( 
  3258.             /* [out] */ LONGLONG __RPC_FAR *pDuration) = 0;
  3259.         
  3260.         virtual HRESULT __stdcall GetStopPosition( 
  3261.             /* [out] */ LONGLONG __RPC_FAR *pStop) = 0;
  3262.         
  3263.         virtual HRESULT __stdcall GetCurrentPosition( 
  3264.             /* [out] */ LONGLONG __RPC_FAR *pCurrent) = 0;
  3265.         
  3266.         virtual HRESULT __stdcall SetSelection( 
  3267.             /* [in] */ LONGLONG Current,
  3268.             /* [in] */ LONGLONG Stop,
  3269.             /* [out] */ REFTIME __RPC_FAR *pTime) = 0;
  3270.         
  3271.     };
  3272.     
  3273. #else     /* C style interface */
  3274.  
  3275.     typedef struct IMediaSelectionVtbl
  3276.     {
  3277.         
  3278.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  3279.             IMediaSelection __RPC_FAR * This,
  3280.             /* [in] */ REFIID riid,
  3281.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3282.         
  3283.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  3284.             IMediaSelection __RPC_FAR * This);
  3285.         
  3286.         ULONG ( __stdcall __RPC_FAR *Release )( 
  3287.             IMediaSelection __RPC_FAR * This);
  3288.         
  3289.         HRESULT ( __stdcall __RPC_FAR *IsFormatSupported )( 
  3290.             IMediaSelection __RPC_FAR * This,
  3291.             /* [in] */ const GUID Format);
  3292.         
  3293.         HRESULT ( __stdcall __RPC_FAR *QueryPreferredFormat )( 
  3294.             IMediaSelection __RPC_FAR * This,
  3295.             /* [out] */ GUID __RPC_FAR *pFormat);
  3296.         
  3297.         HRESULT ( __stdcall __RPC_FAR *SetTimeFormat )( 
  3298.             IMediaSelection __RPC_FAR * This,
  3299.             /* [in] */ const GUID Format);
  3300.         
  3301.         HRESULT ( __stdcall __RPC_FAR *GetTimeFormat )( 
  3302.             IMediaSelection __RPC_FAR * This,
  3303.             /* [out] */ GUID __RPC_FAR *pFormat);
  3304.         
  3305.         HRESULT ( __stdcall __RPC_FAR *GetDuration )( 
  3306.             IMediaSelection __RPC_FAR * This,
  3307.             /* [out] */ LONGLONG __RPC_FAR *pDuration);
  3308.         
  3309.         HRESULT ( __stdcall __RPC_FAR *GetStopPosition )( 
  3310.             IMediaSelection __RPC_FAR * This,
  3311.             /* [out] */ LONGLONG __RPC_FAR *pStop);
  3312.         
  3313.         HRESULT ( __stdcall __RPC_FAR *GetCurrentPosition )( 
  3314.             IMediaSelection __RPC_FAR * This,
  3315.             /* [out] */ LONGLONG __RPC_FAR *pCurrent);
  3316.         
  3317.         HRESULT ( __stdcall __RPC_FAR *SetSelection )( 
  3318.             IMediaSelection __RPC_FAR * This,
  3319.             /* [in] */ LONGLONG Current,
  3320.             /* [in] */ LONGLONG Stop,
  3321.             /* [out] */ REFTIME __RPC_FAR *pTime);
  3322.         
  3323.     } IMediaSelectionVtbl;
  3324.  
  3325.     interface IMediaSelection
  3326.     {
  3327.         CONST_VTBL struct IMediaSelectionVtbl __RPC_FAR *lpVtbl;
  3328.     };
  3329.  
  3330.     
  3331.  
  3332. #ifdef COBJMACROS
  3333.  
  3334.  
  3335. #define IMediaSelection_QueryInterface(This,riid,ppvObject)    \
  3336.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3337.  
  3338. #define IMediaSelection_AddRef(This)    \
  3339.     (This)->lpVtbl -> AddRef(This)
  3340.  
  3341. #define IMediaSelection_Release(This)    \
  3342.     (This)->lpVtbl -> Release(This)
  3343.  
  3344.  
  3345. #define IMediaSelection_IsFormatSupported(This,Format)    \
  3346.     (This)->lpVtbl -> IsFormatSupported(This,Format)
  3347.  
  3348. #define IMediaSelection_QueryPreferredFormat(This,pFormat)    \
  3349.     (This)->lpVtbl -> QueryPreferredFormat(This,pFormat)
  3350.  
  3351. #define IMediaSelection_SetTimeFormat(This,Format)    \
  3352.     (This)->lpVtbl -> SetTimeFormat(This,Format)
  3353.  
  3354. #define IMediaSelection_GetTimeFormat(This,pFormat)    \
  3355.     (This)->lpVtbl -> GetTimeFormat(This,pFormat)
  3356.  
  3357. #define IMediaSelection_GetDuration(This,pDuration)    \
  3358.     (This)->lpVtbl -> GetDuration(This,pDuration)
  3359.  
  3360. #define IMediaSelection_GetStopPosition(This,pStop)    \
  3361.     (This)->lpVtbl -> GetStopPosition(This,pStop)
  3362.  
  3363. #define IMediaSelection_GetCurrentPosition(This,pCurrent)    \
  3364.     (This)->lpVtbl -> GetCurrentPosition(This,pCurrent)
  3365.  
  3366. #define IMediaSelection_SetSelection(This,Current,Stop,pTime)    \
  3367.     (This)->lpVtbl -> SetSelection(This,Current,Stop,pTime)
  3368.  
  3369. #endif /* COBJMACROS */
  3370.  
  3371.  
  3372. #endif     /* C style interface */
  3373.  
  3374.  
  3375.  
  3376. HRESULT __stdcall IMediaSelection_IsFormatSupported_Proxy( 
  3377.     IMediaSelection __RPC_FAR * This,
  3378.     /* [in] */ const GUID Format);
  3379.  
  3380.  
  3381. void __RPC_STUB IMediaSelection_IsFormatSupported_Stub(
  3382.     IRpcStubBuffer *This,
  3383.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3384.     PRPC_MESSAGE _pRpcMessage,
  3385.     DWORD *_pdwStubPhase);
  3386.  
  3387.  
  3388. HRESULT __stdcall IMediaSelection_QueryPreferredFormat_Proxy( 
  3389.     IMediaSelection __RPC_FAR * This,
  3390.     /* [out] */ GUID __RPC_FAR *pFormat);
  3391.  
  3392.  
  3393. void __RPC_STUB IMediaSelection_QueryPreferredFormat_Stub(
  3394.     IRpcStubBuffer *This,
  3395.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3396.     PRPC_MESSAGE _pRpcMessage,
  3397.     DWORD *_pdwStubPhase);
  3398.  
  3399.  
  3400. HRESULT __stdcall IMediaSelection_SetTimeFormat_Proxy( 
  3401.     IMediaSelection __RPC_FAR * This,
  3402.     /* [in] */ const GUID Format);
  3403.  
  3404.  
  3405. void __RPC_STUB IMediaSelection_SetTimeFormat_Stub(
  3406.     IRpcStubBuffer *This,
  3407.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3408.     PRPC_MESSAGE _pRpcMessage,
  3409.     DWORD *_pdwStubPhase);
  3410.  
  3411.  
  3412. HRESULT __stdcall IMediaSelection_GetTimeFormat_Proxy( 
  3413.     IMediaSelection __RPC_FAR * This,
  3414.     /* [out] */ GUID __RPC_FAR *pFormat);
  3415.  
  3416.  
  3417. void __RPC_STUB IMediaSelection_GetTimeFormat_Stub(
  3418.     IRpcStubBuffer *This,
  3419.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3420.     PRPC_MESSAGE _pRpcMessage,
  3421.     DWORD *_pdwStubPhase);
  3422.  
  3423.  
  3424. HRESULT __stdcall IMediaSelection_GetDuration_Proxy( 
  3425.     IMediaSelection __RPC_FAR * This,
  3426.     /* [out] */ LONGLONG __RPC_FAR *pDuration);
  3427.  
  3428.  
  3429. void __RPC_STUB IMediaSelection_GetDuration_Stub(
  3430.     IRpcStubBuffer *This,
  3431.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3432.     PRPC_MESSAGE _pRpcMessage,
  3433.     DWORD *_pdwStubPhase);
  3434.  
  3435.  
  3436. HRESULT __stdcall IMediaSelection_GetStopPosition_Proxy( 
  3437.     IMediaSelection __RPC_FAR * This,
  3438.     /* [out] */ LONGLONG __RPC_FAR *pStop);
  3439.  
  3440.  
  3441. void __RPC_STUB IMediaSelection_GetStopPosition_Stub(
  3442.     IRpcStubBuffer *This,
  3443.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3444.     PRPC_MESSAGE _pRpcMessage,
  3445.     DWORD *_pdwStubPhase);
  3446.  
  3447.  
  3448. HRESULT __stdcall IMediaSelection_GetCurrentPosition_Proxy( 
  3449.     IMediaSelection __RPC_FAR * This,
  3450.     /* [out] */ LONGLONG __RPC_FAR *pCurrent);
  3451.  
  3452.  
  3453. void __RPC_STUB IMediaSelection_GetCurrentPosition_Stub(
  3454.     IRpcStubBuffer *This,
  3455.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3456.     PRPC_MESSAGE _pRpcMessage,
  3457.     DWORD *_pdwStubPhase);
  3458.  
  3459.  
  3460. HRESULT __stdcall IMediaSelection_SetSelection_Proxy( 
  3461.     IMediaSelection __RPC_FAR * This,
  3462.     /* [in] */ LONGLONG Current,
  3463.     /* [in] */ LONGLONG Stop,
  3464.     /* [out] */ REFTIME __RPC_FAR *pTime);
  3465.  
  3466.  
  3467. void __RPC_STUB IMediaSelection_SetSelection_Stub(
  3468.     IRpcStubBuffer *This,
  3469.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3470.     PRPC_MESSAGE _pRpcMessage,
  3471.     DWORD *_pdwStubPhase);
  3472.  
  3473.  
  3474.  
  3475. #endif     /* __IMediaSelection_INTERFACE_DEFINED__ */
  3476.  
  3477.  
  3478. /****************************************
  3479.  * Generated header for interface: __MIDL__intf_0053
  3480.  * at Wed Jun 26 01:38:28 1996
  3481.  * using MIDL 2.00.0102
  3482.  ****************************************/
  3483. /* [local] */ 
  3484.  
  3485.  
  3486.             /* size is 4 */
  3487. typedef IMediaSelection __RPC_FAR *PMEDIASELECTION;
  3488.  
  3489.             /* size is 2 */
  3490. typedef 
  3491. enum _SeekingFlags
  3492.     {    AM_SEEKING_NoPositioning    = 0,
  3493.     AM_SEEKING_AbsolutePositioning    = 0x1,
  3494.     AM_SEEKING_RelativePositioning    = 0x2,
  3495.     AM_SEEKING_IncrementalPositioning    = 0x3,
  3496.     AM_SEEKING_PositioningBitsMask    = 0x3,
  3497.     AM_SEEKING_SeekToKeyFrame    = 0x4,
  3498.     AM_SEEKING_ReturnTime    = 0x8
  3499.     }    SEEKING_FLAGS;
  3500.  
  3501.             /* size is 2 */
  3502. typedef 
  3503. enum _SeekingCapabilities
  3504.     {    AM_SEEKING_CanSeekAbsolute    = 0x1,
  3505.     AM_SEEKING_CanSeekForwards    = 0x2,
  3506.     AM_SEEKING_CanSeekBackwards    = 0x4,
  3507.     AM_SEEKING_CanGetCurrentPos    = 0x8,
  3508.     AM_SEEKING_CanGetStopPos    = 0x10,
  3509.     AM_SEEKING_CanGetDuration    = 0x20,
  3510.     AM_SEEKING_CanPlayBackwards    = 0x40
  3511.     }    SEEKING_CAPABILITIES;
  3512.  
  3513.  
  3514.  
  3515. extern RPC_IF_HANDLE __MIDL__intf_0053_v0_0_c_ifspec;
  3516. extern RPC_IF_HANDLE __MIDL__intf_0053_v0_0_s_ifspec;
  3517.  
  3518. #ifndef __IMediaSeeking_INTERFACE_DEFINED__
  3519. #define __IMediaSeeking_INTERFACE_DEFINED__
  3520.  
  3521. /****************************************
  3522.  * Generated header for interface: IMediaSeeking
  3523.  * at Wed Jun 26 01:38:28 1996
  3524.  * using MIDL 2.00.0102
  3525.  ****************************************/
  3526. /* [unique][uuid][object] */ 
  3527.  
  3528.  
  3529.  
  3530. EXTERN_C const IID IID_IMediaSeeking;
  3531.  
  3532. #if defined(__cplusplus) && !defined(CINTERFACE)
  3533.     
  3534.     interface IMediaSeeking : public IMediaSelection
  3535.     {
  3536.     public:
  3537.         virtual HRESULT __stdcall GetCapabilities( 
  3538.             /* [out] */ DWORD __RPC_FAR *pCapabilities) = 0;
  3539.         
  3540.         virtual HRESULT __stdcall CheckCapabilities( 
  3541.             /* [out][in] */ DWORD __RPC_FAR *pCapabilities) = 0;
  3542.         
  3543.         virtual HRESULT __stdcall ConvertTimeFormat( 
  3544.             /* [out] */ LONGLONG __RPC_FAR *pTarget,
  3545.             /* [in] */ const GUID __RPC_FAR *pTargetFormat,
  3546.             /* [in] */ LONGLONG Source,
  3547.             /* [in] */ const GUID __RPC_FAR *pSourceFormat) = 0;
  3548.         
  3549.         virtual HRESULT __stdcall SetPositions( 
  3550.             /* [out][in] */ LONGLONG __RPC_FAR *pCurrent,
  3551.             /* [in] */ DWORD dwCurrentFlags,
  3552.             /* [out][in] */ LONGLONG __RPC_FAR *pStop,
  3553.             /* [in] */ DWORD dwStopFlags) = 0;
  3554.         
  3555.         virtual HRESULT __stdcall GetPositions( 
  3556.             /* [out] */ LONGLONG __RPC_FAR *pCurrent,
  3557.             /* [out] */ LONGLONG __RPC_FAR *pStop) = 0;
  3558.         
  3559.         virtual HRESULT __stdcall GetAvailable( 
  3560.             /* [out] */ LONGLONG __RPC_FAR *pEarliest,
  3561.             /* [out] */ LONGLONG __RPC_FAR *pLatest) = 0;
  3562.         
  3563.         virtual HRESULT __stdcall SetRate( 
  3564.             /* [in] */ double dRate) = 0;
  3565.         
  3566.         virtual HRESULT __stdcall GetRate( 
  3567.             /* [out] */ double __RPC_FAR *pdRate) = 0;
  3568.         
  3569.     };
  3570.     
  3571. #else     /* C style interface */
  3572.  
  3573.     typedef struct IMediaSeekingVtbl
  3574.     {
  3575.         
  3576.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  3577.             IMediaSeeking __RPC_FAR * This,
  3578.             /* [in] */ REFIID riid,
  3579.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3580.         
  3581.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  3582.             IMediaSeeking __RPC_FAR * This);
  3583.         
  3584.         ULONG ( __stdcall __RPC_FAR *Release )( 
  3585.             IMediaSeeking __RPC_FAR * This);
  3586.         
  3587.         HRESULT ( __stdcall __RPC_FAR *IsFormatSupported )( 
  3588.             IMediaSeeking __RPC_FAR * This,
  3589.             /* [in] */ const GUID Format);
  3590.         
  3591.         HRESULT ( __stdcall __RPC_FAR *QueryPreferredFormat )( 
  3592.             IMediaSeeking __RPC_FAR * This,
  3593.             /* [out] */ GUID __RPC_FAR *pFormat);
  3594.         
  3595.         HRESULT ( __stdcall __RPC_FAR *SetTimeFormat )( 
  3596.             IMediaSeeking __RPC_FAR * This,
  3597.             /* [in] */ const GUID Format);
  3598.         
  3599.         HRESULT ( __stdcall __RPC_FAR *GetTimeFormat )( 
  3600.             IMediaSeeking __RPC_FAR * This,
  3601.             /* [out] */ GUID __RPC_FAR *pFormat);
  3602.         
  3603.         HRESULT ( __stdcall __RPC_FAR *GetDuration )( 
  3604.             IMediaSeeking __RPC_FAR * This,
  3605.             /* [out] */ LONGLONG __RPC_FAR *pDuration);
  3606.         
  3607.         HRESULT ( __stdcall __RPC_FAR *GetStopPosition )( 
  3608.             IMediaSeeking __RPC_FAR * This,
  3609.             /* [out] */ LONGLONG __RPC_FAR *pStop);
  3610.         
  3611.         HRESULT ( __stdcall __RPC_FAR *GetCurrentPosition )( 
  3612.             IMediaSeeking __RPC_FAR * This,
  3613.             /* [out] */ LONGLONG __RPC_FAR *pCurrent);
  3614.         
  3615.         HRESULT ( __stdcall __RPC_FAR *SetSelection )( 
  3616.             IMediaSeeking __RPC_FAR * This,
  3617.             /* [in] */ LONGLONG Current,
  3618.             /* [in] */ LONGLONG Stop,
  3619.             /* [out] */ REFTIME __RPC_FAR *pTime);
  3620.         
  3621.         HRESULT ( __stdcall __RPC_FAR *GetCapabilities )( 
  3622.             IMediaSeeking __RPC_FAR * This,
  3623.             /* [out] */ DWORD __RPC_FAR *pCapabilities);
  3624.         
  3625.         HRESULT ( __stdcall __RPC_FAR *CheckCapabilities )( 
  3626.             IMediaSeeking __RPC_FAR * This,
  3627.             /* [out][in] */ DWORD __RPC_FAR *pCapabilities);
  3628.         
  3629.         HRESULT ( __stdcall __RPC_FAR *ConvertTimeFormat )( 
  3630.             IMediaSeeking __RPC_FAR * This,
  3631.             /* [out] */ LONGLONG __RPC_FAR *pTarget,
  3632.             /* [in] */ const GUID __RPC_FAR *pTargetFormat,
  3633.             /* [in] */ LONGLONG Source,
  3634.             /* [in] */ const GUID __RPC_FAR *pSourceFormat);
  3635.         
  3636.         HRESULT ( __stdcall __RPC_FAR *SetPositions )( 
  3637.             IMediaSeeking __RPC_FAR * This,
  3638.             /* [out][in] */ LONGLONG __RPC_FAR *pCurrent,
  3639.             /* [in] */ DWORD dwCurrentFlags,
  3640.             /* [out][in] */ LONGLONG __RPC_FAR *pStop,
  3641.             /* [in] */ DWORD dwStopFlags);
  3642.         
  3643.         HRESULT ( __stdcall __RPC_FAR *GetPositions )( 
  3644.             IMediaSeeking __RPC_FAR * This,
  3645.             /* [out] */ LONGLONG __RPC_FAR *pCurrent,
  3646.             /* [out] */ LONGLONG __RPC_FAR *pStop);
  3647.         
  3648.         HRESULT ( __stdcall __RPC_FAR *GetAvailable )( 
  3649.             IMediaSeeking __RPC_FAR * This,
  3650.             /* [out] */ LONGLONG __RPC_FAR *pEarliest,
  3651.             /* [out] */ LONGLONG __RPC_FAR *pLatest);
  3652.         
  3653.         HRESULT ( __stdcall __RPC_FAR *SetRate )( 
  3654.             IMediaSeeking __RPC_FAR * This,
  3655.             /* [in] */ double dRate);
  3656.         
  3657.         HRESULT ( __stdcall __RPC_FAR *GetRate )( 
  3658.             IMediaSeeking __RPC_FAR * This,
  3659.             /* [out] */ double __RPC_FAR *pdRate);
  3660.         
  3661.     } IMediaSeekingVtbl;
  3662.  
  3663.     interface IMediaSeeking
  3664.     {
  3665.         CONST_VTBL struct IMediaSeekingVtbl __RPC_FAR *lpVtbl;
  3666.     };
  3667.  
  3668.     
  3669.  
  3670. #ifdef COBJMACROS
  3671.  
  3672.  
  3673. #define IMediaSeeking_QueryInterface(This,riid,ppvObject)    \
  3674.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3675.  
  3676. #define IMediaSeeking_AddRef(This)    \
  3677.     (This)->lpVtbl -> AddRef(This)
  3678.  
  3679. #define IMediaSeeking_Release(This)    \
  3680.     (This)->lpVtbl -> Release(This)
  3681.  
  3682.  
  3683. #define IMediaSeeking_IsFormatSupported(This,Format)    \
  3684.     (This)->lpVtbl -> IsFormatSupported(This,Format)
  3685.  
  3686. #define IMediaSeeking_QueryPreferredFormat(This,pFormat)    \
  3687.     (This)->lpVtbl -> QueryPreferredFormat(This,pFormat)
  3688.  
  3689. #define IMediaSeeking_SetTimeFormat(This,Format)    \
  3690.     (This)->lpVtbl -> SetTimeFormat(This,Format)
  3691.  
  3692. #define IMediaSeeking_GetTimeFormat(This,pFormat)    \
  3693.     (This)->lpVtbl -> GetTimeFormat(This,pFormat)
  3694.  
  3695. #define IMediaSeeking_GetDuration(This,pDuration)    \
  3696.     (This)->lpVtbl -> GetDuration(This,pDuration)
  3697.  
  3698. #define IMediaSeeking_GetStopPosition(This,pStop)    \
  3699.     (This)->lpVtbl -> GetStopPosition(This,pStop)
  3700.  
  3701. #define IMediaSeeking_GetCurrentPosition(This,pCurrent)    \
  3702.     (This)->lpVtbl -> GetCurrentPosition(This,pCurrent)
  3703.  
  3704. #define IMediaSeeking_SetSelection(This,Current,Stop,pTime)    \
  3705.     (This)->lpVtbl -> SetSelection(This,Current,Stop,pTime)
  3706.  
  3707.  
  3708. #define IMediaSeeking_GetCapabilities(This,pCapabilities)    \
  3709.     (This)->lpVtbl -> GetCapabilities(This,pCapabilities)
  3710.  
  3711. #define IMediaSeeking_CheckCapabilities(This,pCapabilities)    \
  3712.     (This)->lpVtbl -> CheckCapabilities(This,pCapabilities)
  3713.  
  3714. #define IMediaSeeking_ConvertTimeFormat(This,pTarget,pTargetFormat,Source,pSourceFormat)    \
  3715.     (This)->lpVtbl -> ConvertTimeFormat(This,pTarget,pTargetFormat,Source,pSourceFormat)
  3716.  
  3717. #define IMediaSeeking_SetPositions(This,pCurrent,dwCurrentFlags,pStop,dwStopFlags)    \
  3718.     (This)->lpVtbl -> SetPositions(This,pCurrent,dwCurrentFlags,pStop,dwStopFlags)
  3719.  
  3720. #define IMediaSeeking_GetPositions(This,pCurrent,pStop)    \
  3721.     (This)->lpVtbl -> GetPositions(This,pCurrent,pStop)
  3722.  
  3723. #define IMediaSeeking_GetAvailable(This,pEarliest,pLatest)    \
  3724.     (This)->lpVtbl -> GetAvailable(This,pEarliest,pLatest)
  3725.  
  3726. #define IMediaSeeking_SetRate(This,dRate)    \
  3727.     (This)->lpVtbl -> SetRate(This,dRate)
  3728.  
  3729. #define IMediaSeeking_GetRate(This,pdRate)    \
  3730.     (This)->lpVtbl -> GetRate(This,pdRate)
  3731.  
  3732. #endif /* COBJMACROS */
  3733.  
  3734.  
  3735. #endif     /* C style interface */
  3736.  
  3737.  
  3738.  
  3739. HRESULT __stdcall IMediaSeeking_GetCapabilities_Proxy( 
  3740.     IMediaSeeking __RPC_FAR * This,
  3741.     /* [out] */ DWORD __RPC_FAR *pCapabilities);
  3742.  
  3743.  
  3744. void __RPC_STUB IMediaSeeking_GetCapabilities_Stub(
  3745.     IRpcStubBuffer *This,
  3746.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3747.     PRPC_MESSAGE _pRpcMessage,
  3748.     DWORD *_pdwStubPhase);
  3749.  
  3750.  
  3751. HRESULT __stdcall IMediaSeeking_CheckCapabilities_Proxy( 
  3752.     IMediaSeeking __RPC_FAR * This,
  3753.     /* [out][in] */ DWORD __RPC_FAR *pCapabilities);
  3754.  
  3755.  
  3756. void __RPC_STUB IMediaSeeking_CheckCapabilities_Stub(
  3757.     IRpcStubBuffer *This,
  3758.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3759.     PRPC_MESSAGE _pRpcMessage,
  3760.     DWORD *_pdwStubPhase);
  3761.  
  3762.  
  3763. HRESULT __stdcall IMediaSeeking_ConvertTimeFormat_Proxy( 
  3764.     IMediaSeeking __RPC_FAR * This,
  3765.     /* [out] */ LONGLONG __RPC_FAR *pTarget,
  3766.     /* [in] */ const GUID __RPC_FAR *pTargetFormat,
  3767.     /* [in] */ LONGLONG Source,
  3768.     /* [in] */ const GUID __RPC_FAR *pSourceFormat);
  3769.  
  3770.  
  3771. void __RPC_STUB IMediaSeeking_ConvertTimeFormat_Stub(
  3772.     IRpcStubBuffer *This,
  3773.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3774.     PRPC_MESSAGE _pRpcMessage,
  3775.     DWORD *_pdwStubPhase);
  3776.  
  3777.  
  3778. HRESULT __stdcall IMediaSeeking_SetPositions_Proxy( 
  3779.     IMediaSeeking __RPC_FAR * This,
  3780.     /* [out][in] */ LONGLONG __RPC_FAR *pCurrent,
  3781.     /* [in] */ DWORD dwCurrentFlags,
  3782.     /* [out][in] */ LONGLONG __RPC_FAR *pStop,
  3783.     /* [in] */ DWORD dwStopFlags);
  3784.  
  3785.  
  3786. void __RPC_STUB IMediaSeeking_SetPositions_Stub(
  3787.     IRpcStubBuffer *This,
  3788.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3789.     PRPC_MESSAGE _pRpcMessage,
  3790.     DWORD *_pdwStubPhase);
  3791.  
  3792.  
  3793. HRESULT __stdcall IMediaSeeking_GetPositions_Proxy( 
  3794.     IMediaSeeking __RPC_FAR * This,
  3795.     /* [out] */ LONGLONG __RPC_FAR *pCurrent,
  3796.     /* [out] */ LONGLONG __RPC_FAR *pStop);
  3797.  
  3798.  
  3799. void __RPC_STUB IMediaSeeking_GetPositions_Stub(
  3800.     IRpcStubBuffer *This,
  3801.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3802.     PRPC_MESSAGE _pRpcMessage,
  3803.     DWORD *_pdwStubPhase);
  3804.  
  3805.  
  3806. HRESULT __stdcall IMediaSeeking_GetAvailable_Proxy( 
  3807.     IMediaSeeking __RPC_FAR * This,
  3808.     /* [out] */ LONGLONG __RPC_FAR *pEarliest,
  3809.     /* [out] */ LONGLONG __RPC_FAR *pLatest);
  3810.  
  3811.  
  3812. void __RPC_STUB IMediaSeeking_GetAvailable_Stub(
  3813.     IRpcStubBuffer *This,
  3814.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3815.     PRPC_MESSAGE _pRpcMessage,
  3816.     DWORD *_pdwStubPhase);
  3817.  
  3818.  
  3819. HRESULT __stdcall IMediaSeeking_SetRate_Proxy( 
  3820.     IMediaSeeking __RPC_FAR * This,
  3821.     /* [in] */ double dRate);
  3822.  
  3823.  
  3824. void __RPC_STUB IMediaSeeking_SetRate_Stub(
  3825.     IRpcStubBuffer *This,
  3826.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3827.     PRPC_MESSAGE _pRpcMessage,
  3828.     DWORD *_pdwStubPhase);
  3829.  
  3830.  
  3831. HRESULT __stdcall IMediaSeeking_GetRate_Proxy( 
  3832.     IMediaSeeking __RPC_FAR * This,
  3833.     /* [out] */ double __RPC_FAR *pdRate);
  3834.  
  3835.  
  3836. void __RPC_STUB IMediaSeeking_GetRate_Stub(
  3837.     IRpcStubBuffer *This,
  3838.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3839.     PRPC_MESSAGE _pRpcMessage,
  3840.     DWORD *_pdwStubPhase);
  3841.  
  3842.  
  3843.  
  3844. #endif     /* __IMediaSeeking_INTERFACE_DEFINED__ */
  3845.  
  3846.  
  3847. /****************************************
  3848.  * Generated header for interface: __MIDL__intf_0054
  3849.  * at Wed Jun 26 01:38:28 1996
  3850.  * using MIDL 2.00.0102
  3851.  ****************************************/
  3852. /* [local] */ 
  3853.  
  3854.  
  3855.             /* size is 4 */
  3856. typedef IMediaSeeking __RPC_FAR *PMEDIASEEKING;
  3857.  
  3858.             /* size is 0 */
  3859.  
  3860.             /* size is 0 */
  3861.  
  3862.             /* size is 0 */
  3863.  
  3864.             /* size is 0 */
  3865.  
  3866.             /* size is 0 */
  3867.  
  3868.             /* size is 0 */
  3869.  
  3870.             /* size is 0 */
  3871.  
  3872.             /* size is 0 */
  3873.  
  3874.             /* size is 0 */
  3875.  
  3876.             /* size is 20 */
  3877. typedef struct  __MIDL___MIDL__intf_0054_0001
  3878.     {
  3879.     CLSID Clsid;
  3880.     LPWSTR Name;
  3881.     }    REGFILTER;
  3882.  
  3883.  
  3884.  
  3885. extern RPC_IF_HANDLE __MIDL__intf_0054_v0_0_c_ifspec;
  3886. extern RPC_IF_HANDLE __MIDL__intf_0054_v0_0_s_ifspec;
  3887.  
  3888. #ifndef __IEnumRegFilters_INTERFACE_DEFINED__
  3889. #define __IEnumRegFilters_INTERFACE_DEFINED__
  3890.  
  3891. /****************************************
  3892.  * Generated header for interface: IEnumRegFilters
  3893.  * at Wed Jun 26 01:38:28 1996
  3894.  * using MIDL 2.00.0102
  3895.  ****************************************/
  3896. /* [unique][uuid][object] */ 
  3897.  
  3898.  
  3899.  
  3900. EXTERN_C const IID IID_IEnumRegFilters;
  3901.  
  3902. #if defined(__cplusplus) && !defined(CINTERFACE)
  3903.     
  3904.     interface IEnumRegFilters : public IUnknown
  3905.     {
  3906.     public:
  3907.         virtual HRESULT __stdcall Next( 
  3908.             /* [in] */ ULONG cFilters,
  3909.             /* [out] */ REGFILTER __RPC_FAR *__RPC_FAR *apRegFilter,
  3910.             /* [out] */ ULONG __RPC_FAR *pcFetched) = 0;
  3911.         
  3912.         virtual HRESULT __stdcall Skip( 
  3913.             /* [in] */ ULONG cFilters) = 0;
  3914.         
  3915.         virtual HRESULT __stdcall Reset( void) = 0;
  3916.         
  3917.         virtual HRESULT __stdcall Clone( 
  3918.             /* [out] */ IEnumRegFilters __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  3919.         
  3920.     };
  3921.     
  3922. #else     /* C style interface */
  3923.  
  3924.     typedef struct IEnumRegFiltersVtbl
  3925.     {
  3926.         
  3927.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  3928.             IEnumRegFilters __RPC_FAR * This,
  3929.             /* [in] */ REFIID riid,
  3930.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3931.         
  3932.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  3933.             IEnumRegFilters __RPC_FAR * This);
  3934.         
  3935.         ULONG ( __stdcall __RPC_FAR *Release )( 
  3936.             IEnumRegFilters __RPC_FAR * This);
  3937.         
  3938.         HRESULT ( __stdcall __RPC_FAR *Next )( 
  3939.             IEnumRegFilters __RPC_FAR * This,
  3940.             /* [in] */ ULONG cFilters,
  3941.             /* [out] */ REGFILTER __RPC_FAR *__RPC_FAR *apRegFilter,
  3942.             /* [out] */ ULONG __RPC_FAR *pcFetched);
  3943.         
  3944.         HRESULT ( __stdcall __RPC_FAR *Skip )( 
  3945.             IEnumRegFilters __RPC_FAR * This,
  3946.             /* [in] */ ULONG cFilters);
  3947.         
  3948.         HRESULT ( __stdcall __RPC_FAR *Reset )( 
  3949.             IEnumRegFilters __RPC_FAR * This);
  3950.         
  3951.         HRESULT ( __stdcall __RPC_FAR *Clone )( 
  3952.             IEnumRegFilters __RPC_FAR * This,
  3953.             /* [out] */ IEnumRegFilters __RPC_FAR *__RPC_FAR *ppEnum);
  3954.         
  3955.     } IEnumRegFiltersVtbl;
  3956.  
  3957.     interface IEnumRegFilters
  3958.     {
  3959.         CONST_VTBL struct IEnumRegFiltersVtbl __RPC_FAR *lpVtbl;
  3960.     };
  3961.  
  3962.     
  3963.  
  3964. #ifdef COBJMACROS
  3965.  
  3966.  
  3967. #define IEnumRegFilters_QueryInterface(This,riid,ppvObject)    \
  3968.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3969.  
  3970. #define IEnumRegFilters_AddRef(This)    \
  3971.     (This)->lpVtbl -> AddRef(This)
  3972.  
  3973. #define IEnumRegFilters_Release(This)    \
  3974.     (This)->lpVtbl -> Release(This)
  3975.  
  3976.  
  3977. #define IEnumRegFilters_Next(This,cFilters,apRegFilter,pcFetched)    \
  3978.     (This)->lpVtbl -> Next(This,cFilters,apRegFilter,pcFetched)
  3979.  
  3980. #define IEnumRegFilters_Skip(This,cFilters)    \
  3981.     (This)->lpVtbl -> Skip(This,cFilters)
  3982.  
  3983. #define IEnumRegFilters_Reset(This)    \
  3984.     (This)->lpVtbl -> Reset(This)
  3985.  
  3986. #define IEnumRegFilters_Clone(This,ppEnum)    \
  3987.     (This)->lpVtbl -> Clone(This,ppEnum)
  3988.  
  3989. #endif /* COBJMACROS */
  3990.  
  3991.  
  3992. #endif     /* C style interface */
  3993.  
  3994.  
  3995.  
  3996. HRESULT __stdcall IEnumRegFilters_Next_Proxy( 
  3997.     IEnumRegFilters __RPC_FAR * This,
  3998.     /* [in] */ ULONG cFilters,
  3999.     /* [out] */ REGFILTER __RPC_FAR *__RPC_FAR *apRegFilter,
  4000.     /* [out] */ ULONG __RPC_FAR *pcFetched);
  4001.  
  4002.  
  4003. void __RPC_STUB IEnumRegFilters_Next_Stub(
  4004.     IRpcStubBuffer *This,
  4005.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4006.     PRPC_MESSAGE _pRpcMessage,
  4007.     DWORD *_pdwStubPhase);
  4008.  
  4009.  
  4010. HRESULT __stdcall IEnumRegFilters_Skip_Proxy( 
  4011.     IEnumRegFilters __RPC_FAR * This,
  4012.     /* [in] */ ULONG cFilters);
  4013.  
  4014.  
  4015. void __RPC_STUB IEnumRegFilters_Skip_Stub(
  4016.     IRpcStubBuffer *This,
  4017.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4018.     PRPC_MESSAGE _pRpcMessage,
  4019.     DWORD *_pdwStubPhase);
  4020.  
  4021.  
  4022. HRESULT __stdcall IEnumRegFilters_Reset_Proxy( 
  4023.     IEnumRegFilters __RPC_FAR * This);
  4024.  
  4025.  
  4026. void __RPC_STUB IEnumRegFilters_Reset_Stub(
  4027.     IRpcStubBuffer *This,
  4028.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4029.     PRPC_MESSAGE _pRpcMessage,
  4030.     DWORD *_pdwStubPhase);
  4031.  
  4032.  
  4033. HRESULT __stdcall IEnumRegFilters_Clone_Proxy( 
  4034.     IEnumRegFilters __RPC_FAR * This,
  4035.     /* [out] */ IEnumRegFilters __RPC_FAR *__RPC_FAR *ppEnum);
  4036.  
  4037.  
  4038. void __RPC_STUB IEnumRegFilters_Clone_Stub(
  4039.     IRpcStubBuffer *This,
  4040.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4041.     PRPC_MESSAGE _pRpcMessage,
  4042.     DWORD *_pdwStubPhase);
  4043.  
  4044.  
  4045.  
  4046. #endif     /* __IEnumRegFilters_INTERFACE_DEFINED__ */
  4047.  
  4048.  
  4049. /****************************************
  4050.  * Generated header for interface: __MIDL__intf_0056
  4051.  * at Wed Jun 26 01:38:28 1996
  4052.  * using MIDL 2.00.0102
  4053.  ****************************************/
  4054. /* [local] */ 
  4055.  
  4056.  
  4057.             /* size is 4 */
  4058. typedef IEnumRegFilters __RPC_FAR *PENUMREGFILTERS;
  4059.  
  4060.  
  4061.  
  4062. extern RPC_IF_HANDLE __MIDL__intf_0056_v0_0_c_ifspec;
  4063. extern RPC_IF_HANDLE __MIDL__intf_0056_v0_0_s_ifspec;
  4064.  
  4065. #ifndef __IFilterMapper_INTERFACE_DEFINED__
  4066. #define __IFilterMapper_INTERFACE_DEFINED__
  4067.  
  4068. /****************************************
  4069.  * Generated header for interface: IFilterMapper
  4070.  * at Wed Jun 26 01:38:28 1996
  4071.  * using MIDL 2.00.0102
  4072.  ****************************************/
  4073. /* [unique][uuid][object] */ 
  4074.  
  4075.  
  4076.             /* size is 2 */
  4077.  
  4078. enum __MIDL_IFilterMapper_0001
  4079.     {    MERIT_PREFERRED    = 0x800000,
  4080.     MERIT_NORMAL    = 0x600000,
  4081.     MERIT_UNLIKELY    = 0x400000,
  4082.     MERIT_DO_NOT_USE    = 0x200000
  4083.     };
  4084.  
  4085. EXTERN_C const IID IID_IFilterMapper;
  4086.  
  4087. #if defined(__cplusplus) && !defined(CINTERFACE)
  4088.     
  4089.     interface IFilterMapper : public IUnknown
  4090.     {
  4091.     public:
  4092.         virtual HRESULT __stdcall RegisterFilter( 
  4093.             /* [in] */ CLSID clsid,
  4094.             /* [in] */ LPCWSTR Name,
  4095.             /* [in] */ DWORD dwMerit) = 0;
  4096.         
  4097.         virtual HRESULT __stdcall RegisterFilterInstance( 
  4098.             /* [in] */ CLSID clsid,
  4099.             /* [in] */ LPCWSTR Name,
  4100.             /* [out] */ CLSID __RPC_FAR *MRId) = 0;
  4101.         
  4102.         virtual HRESULT __stdcall RegisterPin( 
  4103.             /* [in] */ CLSID Filter,
  4104.             /* [in] */ LPCWSTR Name,
  4105.             /* [in] */ BOOL bRendered,
  4106.             /* [in] */ BOOL bOutput,
  4107.             /* [in] */ BOOL bZero,
  4108.             /* [in] */ BOOL bMany,
  4109.             /* [in] */ CLSID ConnectsToFilter,
  4110.             /* [in] */ LPCWSTR ConnectsToPin) = 0;
  4111.         
  4112.         virtual HRESULT __stdcall RegisterPinType( 
  4113.             /* [in] */ CLSID clsFilter,
  4114.             /* [in] */ LPCWSTR strName,
  4115.             /* [in] */ CLSID clsMajorType,
  4116.             /* [in] */ CLSID clsSubType) = 0;
  4117.         
  4118.         virtual HRESULT __stdcall UnregisterFilter( 
  4119.             /* [in] */ CLSID Filter) = 0;
  4120.         
  4121.         virtual HRESULT __stdcall UnregisterFilterInstance( 
  4122.             /* [in] */ CLSID MRId) = 0;
  4123.         
  4124.         virtual HRESULT __stdcall UnregisterPin( 
  4125.             /* [in] */ CLSID Filter,
  4126.             /* [in] */ LPCWSTR Name) = 0;
  4127.         
  4128.         virtual HRESULT __stdcall EnumMatchingFilters( 
  4129.             /* [out] */ IEnumRegFilters __RPC_FAR *__RPC_FAR *ppEnum,
  4130.             /* [in] */ DWORD dwMerit,
  4131.             /* [in] */ BOOL bInputNeeded,
  4132.             /* [in] */ CLSID clsInMaj,
  4133.             /* [in] */ CLSID clsInSub,
  4134.             /* [in] */ BOOL bRender,
  4135.             /* [in] */ BOOL bOututNeeded,
  4136.             /* [in] */ CLSID clsOutMaj,
  4137.             /* [in] */ CLSID clsOutSub) = 0;
  4138.         
  4139.     };
  4140.     
  4141. #else     /* C style interface */
  4142.  
  4143.     typedef struct IFilterMapperVtbl
  4144.     {
  4145.         
  4146.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  4147.             IFilterMapper __RPC_FAR * This,
  4148.             /* [in] */ REFIID riid,
  4149.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4150.         
  4151.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  4152.             IFilterMapper __RPC_FAR * This);
  4153.         
  4154.         ULONG ( __stdcall __RPC_FAR *Release )( 
  4155.             IFilterMapper __RPC_FAR * This);
  4156.         
  4157.         HRESULT ( __stdcall __RPC_FAR *RegisterFilter )( 
  4158.             IFilterMapper __RPC_FAR * This,
  4159.             /* [in] */ CLSID clsid,
  4160.             /* [in] */ LPCWSTR Name,
  4161.             /* [in] */ DWORD dwMerit);
  4162.         
  4163.         HRESULT ( __stdcall __RPC_FAR *RegisterFilterInstance )( 
  4164.             IFilterMapper __RPC_FAR * This,
  4165.             /* [in] */ CLSID clsid,
  4166.             /* [in] */ LPCWSTR Name,
  4167.             /* [out] */ CLSID __RPC_FAR *MRId);
  4168.         
  4169.         HRESULT ( __stdcall __RPC_FAR *RegisterPin )( 
  4170.             IFilterMapper __RPC_FAR * This,
  4171.             /* [in] */ CLSID Filter,
  4172.             /* [in] */ LPCWSTR Name,
  4173.             /* [in] */ BOOL bRendered,
  4174.             /* [in] */ BOOL bOutput,
  4175.             /* [in] */ BOOL bZero,
  4176.             /* [in] */ BOOL bMany,
  4177.             /* [in] */ CLSID ConnectsToFilter,
  4178.             /* [in] */ LPCWSTR ConnectsToPin);
  4179.         
  4180.         HRESULT ( __stdcall __RPC_FAR *RegisterPinType )( 
  4181.             IFilterMapper __RPC_FAR * This,
  4182.             /* [in] */ CLSID clsFilter,
  4183.             /* [in] */ LPCWSTR strName,
  4184.             /* [in] */ CLSID clsMajorType,
  4185.             /* [in] */ CLSID clsSubType);
  4186.         
  4187.         HRESULT ( __stdcall __RPC_FAR *UnregisterFilter )( 
  4188.             IFilterMapper __RPC_FAR * This,
  4189.             /* [in] */ CLSID Filter);
  4190.         
  4191.         HRESULT ( __stdcall __RPC_FAR *UnregisterFilterInstance )( 
  4192.             IFilterMapper __RPC_FAR * This,
  4193.             /* [in] */ CLSID MRId);
  4194.         
  4195.         HRESULT ( __stdcall __RPC_FAR *UnregisterPin )( 
  4196.             IFilterMapper __RPC_FAR * This,
  4197.             /* [in] */ CLSID Filter,
  4198.             /* [in] */ LPCWSTR Name);
  4199.         
  4200.         HRESULT ( __stdcall __RPC_FAR *EnumMatchingFilters )( 
  4201.             IFilterMapper __RPC_FAR * This,
  4202.             /* [out] */ IEnumRegFilters __RPC_FAR *__RPC_FAR *ppEnum,
  4203.             /* [in] */ DWORD dwMerit,
  4204.             /* [in] */ BOOL bInputNeeded,
  4205.             /* [in] */ CLSID clsInMaj,
  4206.             /* [in] */ CLSID clsInSub,
  4207.             /* [in] */ BOOL bRender,
  4208.             /* [in] */ BOOL bOututNeeded,
  4209.             /* [in] */ CLSID clsOutMaj,
  4210.             /* [in] */ CLSID clsOutSub);
  4211.         
  4212.     } IFilterMapperVtbl;
  4213.  
  4214.     interface IFilterMapper
  4215.     {
  4216.         CONST_VTBL struct IFilterMapperVtbl __RPC_FAR *lpVtbl;
  4217.     };
  4218.  
  4219.     
  4220.  
  4221. #ifdef COBJMACROS
  4222.  
  4223.  
  4224. #define IFilterMapper_QueryInterface(This,riid,ppvObject)    \
  4225.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4226.  
  4227. #define IFilterMapper_AddRef(This)    \
  4228.     (This)->lpVtbl -> AddRef(This)
  4229.  
  4230. #define IFilterMapper_Release(This)    \
  4231.     (This)->lpVtbl -> Release(This)
  4232.  
  4233.  
  4234. #define IFilterMapper_RegisterFilter(This,clsid,Name,dwMerit)    \
  4235.     (This)->lpVtbl -> RegisterFilter(This,clsid,Name,dwMerit)
  4236.  
  4237. #define IFilterMapper_RegisterFilterInstance(This,clsid,Name,MRId)    \
  4238.     (This)->lpVtbl -> RegisterFilterInstance(This,clsid,Name,MRId)
  4239.  
  4240. #define IFilterMapper_RegisterPin(This,Filter,Name,bRendered,bOutput,bZero,bMany,ConnectsToFilter,ConnectsToPin)    \
  4241.     (This)->lpVtbl -> RegisterPin(This,Filter,Name,bRendered,bOutput,bZero,bMany,ConnectsToFilter,ConnectsToPin)
  4242.  
  4243. #define IFilterMapper_RegisterPinType(This,clsFilter,strName,clsMajorType,clsSubType)    \
  4244.     (This)->lpVtbl -> RegisterPinType(This,clsFilter,strName,clsMajorType,clsSubType)
  4245.  
  4246. #define IFilterMapper_UnregisterFilter(This,Filter)    \
  4247.     (This)->lpVtbl -> UnregisterFilter(This,Filter)
  4248.  
  4249. #define IFilterMapper_UnregisterFilterInstance(This,MRId)    \
  4250.     (This)->lpVtbl -> UnregisterFilterInstance(This,MRId)
  4251.  
  4252. #define IFilterMapper_UnregisterPin(This,Filter,Name)    \
  4253.     (This)->lpVtbl -> UnregisterPin(This,Filter,Name)
  4254.  
  4255. #define IFilterMapper_EnumMatchingFilters(This,ppEnum,dwMerit,bInputNeeded,clsInMaj,clsInSub,bRender,bOututNeeded,clsOutMaj,clsOutSub)    \
  4256.     (This)->lpVtbl -> EnumMatchingFilters(This,ppEnum,dwMerit,bInputNeeded,clsInMaj,clsInSub,bRender,bOututNeeded,clsOutMaj,clsOutSub)
  4257.  
  4258. #endif /* COBJMACROS */
  4259.  
  4260.  
  4261. #endif     /* C style interface */
  4262.  
  4263.  
  4264.  
  4265. HRESULT __stdcall IFilterMapper_RegisterFilter_Proxy( 
  4266.     IFilterMapper __RPC_FAR * This,
  4267.     /* [in] */ CLSID clsid,
  4268.     /* [in] */ LPCWSTR Name,
  4269.     /* [in] */ DWORD dwMerit);
  4270.  
  4271.  
  4272. void __RPC_STUB IFilterMapper_RegisterFilter_Stub(
  4273.     IRpcStubBuffer *This,
  4274.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4275.     PRPC_MESSAGE _pRpcMessage,
  4276.     DWORD *_pdwStubPhase);
  4277.  
  4278.  
  4279. HRESULT __stdcall IFilterMapper_RegisterFilterInstance_Proxy( 
  4280.     IFilterMapper __RPC_FAR * This,
  4281.     /* [in] */ CLSID clsid,
  4282.     /* [in] */ LPCWSTR Name,
  4283.     /* [out] */ CLSID __RPC_FAR *MRId);
  4284.  
  4285.  
  4286. void __RPC_STUB IFilterMapper_RegisterFilterInstance_Stub(
  4287.     IRpcStubBuffer *This,
  4288.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4289.     PRPC_MESSAGE _pRpcMessage,
  4290.     DWORD *_pdwStubPhase);
  4291.  
  4292.  
  4293. HRESULT __stdcall IFilterMapper_RegisterPin_Proxy( 
  4294.     IFilterMapper __RPC_FAR * This,
  4295.     /* [in] */ CLSID Filter,
  4296.     /* [in] */ LPCWSTR Name,
  4297.     /* [in] */ BOOL bRendered,
  4298.     /* [in] */ BOOL bOutput,
  4299.     /* [in] */ BOOL bZero,
  4300.     /* [in] */ BOOL bMany,
  4301.     /* [in] */ CLSID ConnectsToFilter,
  4302.     /* [in] */ LPCWSTR ConnectsToPin);
  4303.  
  4304.  
  4305. void __RPC_STUB IFilterMapper_RegisterPin_Stub(
  4306.     IRpcStubBuffer *This,
  4307.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4308.     PRPC_MESSAGE _pRpcMessage,
  4309.     DWORD *_pdwStubPhase);
  4310.  
  4311.  
  4312. HRESULT __stdcall IFilterMapper_RegisterPinType_Proxy( 
  4313.     IFilterMapper __RPC_FAR * This,
  4314.     /* [in] */ CLSID clsFilter,
  4315.     /* [in] */ LPCWSTR strName,
  4316.     /* [in] */ CLSID clsMajorType,
  4317.     /* [in] */ CLSID clsSubType);
  4318.  
  4319.  
  4320. void __RPC_STUB IFilterMapper_RegisterPinType_Stub(
  4321.     IRpcStubBuffer *This,
  4322.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4323.     PRPC_MESSAGE _pRpcMessage,
  4324.     DWORD *_pdwStubPhase);
  4325.  
  4326.  
  4327. HRESULT __stdcall IFilterMapper_UnregisterFilter_Proxy( 
  4328.     IFilterMapper __RPC_FAR * This,
  4329.     /* [in] */ CLSID Filter);
  4330.  
  4331.  
  4332. void __RPC_STUB IFilterMapper_UnregisterFilter_Stub(
  4333.     IRpcStubBuffer *This,
  4334.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4335.     PRPC_MESSAGE _pRpcMessage,
  4336.     DWORD *_pdwStubPhase);
  4337.  
  4338.  
  4339. HRESULT __stdcall IFilterMapper_UnregisterFilterInstance_Proxy( 
  4340.     IFilterMapper __RPC_FAR * This,
  4341.     /* [in] */ CLSID MRId);
  4342.  
  4343.  
  4344. void __RPC_STUB IFilterMapper_UnregisterFilterInstance_Stub(
  4345.     IRpcStubBuffer *This,
  4346.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4347.     PRPC_MESSAGE _pRpcMessage,
  4348.     DWORD *_pdwStubPhase);
  4349.  
  4350.  
  4351. HRESULT __stdcall IFilterMapper_UnregisterPin_Proxy( 
  4352.     IFilterMapper __RPC_FAR * This,
  4353.     /* [in] */ CLSID Filter,
  4354.     /* [in] */ LPCWSTR Name);
  4355.  
  4356.  
  4357. void __RPC_STUB IFilterMapper_UnregisterPin_Stub(
  4358.     IRpcStubBuffer *This,
  4359.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4360.     PRPC_MESSAGE _pRpcMessage,
  4361.     DWORD *_pdwStubPhase);
  4362.  
  4363.  
  4364. HRESULT __stdcall IFilterMapper_EnumMatchingFilters_Proxy( 
  4365.     IFilterMapper __RPC_FAR * This,
  4366.     /* [out] */ IEnumRegFilters __RPC_FAR *__RPC_FAR *ppEnum,
  4367.     /* [in] */ DWORD dwMerit,
  4368.     /* [in] */ BOOL bInputNeeded,
  4369.     /* [in] */ CLSID clsInMaj,
  4370.     /* [in] */ CLSID clsInSub,
  4371.     /* [in] */ BOOL bRender,
  4372.     /* [in] */ BOOL bOututNeeded,
  4373.     /* [in] */ CLSID clsOutMaj,
  4374.     /* [in] */ CLSID clsOutSub);
  4375.  
  4376.  
  4377. void __RPC_STUB IFilterMapper_EnumMatchingFilters_Stub(
  4378.     IRpcStubBuffer *This,
  4379.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4380.     PRPC_MESSAGE _pRpcMessage,
  4381.     DWORD *_pdwStubPhase);
  4382.  
  4383.  
  4384.  
  4385. #endif     /* __IFilterMapper_INTERFACE_DEFINED__ */
  4386.  
  4387.  
  4388. /****************************************
  4389.  * Generated header for interface: __MIDL__intf_0058
  4390.  * at Wed Jun 26 01:38:28 1996
  4391.  * using MIDL 2.00.0102
  4392.  ****************************************/
  4393. /* [local] */ 
  4394.  
  4395.  
  4396.             /* size is 2 */
  4397. typedef 
  4398. enum __MIDL___MIDL__intf_0058_0001
  4399.     {    Famine    = 0,
  4400.     Flood    = Famine + 1
  4401.     }    QualityMessageType;
  4402.  
  4403.             /* size is 24 */
  4404. typedef struct  __MIDL___MIDL__intf_0058_0002
  4405.     {
  4406.     QualityMessageType Type;
  4407.     long Proportion;
  4408.     REFERENCE_TIME Late;
  4409.     REFERENCE_TIME TimeStamp;
  4410.     }    Quality;
  4411.  
  4412.             /* size is 4 */
  4413. typedef IQualityControl __RPC_FAR *PQUALITYCONTROL;
  4414.  
  4415.  
  4416.  
  4417. extern RPC_IF_HANDLE __MIDL__intf_0058_v0_0_c_ifspec;
  4418. extern RPC_IF_HANDLE __MIDL__intf_0058_v0_0_s_ifspec;
  4419.  
  4420. #ifndef __IQualityControl_INTERFACE_DEFINED__
  4421. #define __IQualityControl_INTERFACE_DEFINED__
  4422.  
  4423. /****************************************
  4424.  * Generated header for interface: IQualityControl
  4425.  * at Wed Jun 26 01:38:28 1996
  4426.  * using MIDL 2.00.0102
  4427.  ****************************************/
  4428. /* [unique][uuid][object] */ 
  4429.  
  4430.  
  4431.  
  4432. EXTERN_C const IID IID_IQualityControl;
  4433.  
  4434. #if defined(__cplusplus) && !defined(CINTERFACE)
  4435.     
  4436.     interface IQualityControl : public IUnknown
  4437.     {
  4438.     public:
  4439.         virtual HRESULT __stdcall Notify( 
  4440.             /* [in] */ IFilter __RPC_FAR *pSelf,
  4441.             /* [in] */ Quality q) = 0;
  4442.         
  4443.         virtual HRESULT __stdcall SetSink( 
  4444.             /* [in] */ IQualityControl __RPC_FAR *piqc) = 0;
  4445.         
  4446.     };
  4447.     
  4448. #else     /* C style interface */
  4449.  
  4450.     typedef struct IQualityControlVtbl
  4451.     {
  4452.         
  4453.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  4454.             IQualityControl __RPC_FAR * This,
  4455.             /* [in] */ REFIID riid,
  4456.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4457.         
  4458.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  4459.             IQualityControl __RPC_FAR * This);
  4460.         
  4461.         ULONG ( __stdcall __RPC_FAR *Release )( 
  4462.             IQualityControl __RPC_FAR * This);
  4463.         
  4464.         HRESULT ( __stdcall __RPC_FAR *Notify )( 
  4465.             IQualityControl __RPC_FAR * This,
  4466.             /* [in] */ IFilter __RPC_FAR *pSelf,
  4467.             /* [in] */ Quality q);
  4468.         
  4469.         HRESULT ( __stdcall __RPC_FAR *SetSink )( 
  4470.             IQualityControl __RPC_FAR * This,
  4471.             /* [in] */ IQualityControl __RPC_FAR *piqc);
  4472.         
  4473.     } IQualityControlVtbl;
  4474.  
  4475.     interface IQualityControl
  4476.     {
  4477.         CONST_VTBL struct IQualityControlVtbl __RPC_FAR *lpVtbl;
  4478.     };
  4479.  
  4480.     
  4481.  
  4482. #ifdef COBJMACROS
  4483.  
  4484.  
  4485. #define IQualityControl_QueryInterface(This,riid,ppvObject)    \
  4486.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4487.  
  4488. #define IQualityControl_AddRef(This)    \
  4489.     (This)->lpVtbl -> AddRef(This)
  4490.  
  4491. #define IQualityControl_Release(This)    \
  4492.     (This)->lpVtbl -> Release(This)
  4493.  
  4494.  
  4495. #define IQualityControl_Notify(This,pSelf,q)    \
  4496.     (This)->lpVtbl -> Notify(This,pSelf,q)
  4497.  
  4498. #define IQualityControl_SetSink(This,piqc)    \
  4499.     (This)->lpVtbl -> SetSink(This,piqc)
  4500.  
  4501. #endif /* COBJMACROS */
  4502.  
  4503.  
  4504. #endif     /* C style interface */
  4505.  
  4506.  
  4507.  
  4508. HRESULT __stdcall IQualityControl_Notify_Proxy( 
  4509.     IQualityControl __RPC_FAR * This,
  4510.     /* [in] */ IFilter __RPC_FAR *pSelf,
  4511.     /* [in] */ Quality q);
  4512.  
  4513.  
  4514. void __RPC_STUB IQualityControl_Notify_Stub(
  4515.     IRpcStubBuffer *This,
  4516.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4517.     PRPC_MESSAGE _pRpcMessage,
  4518.     DWORD *_pdwStubPhase);
  4519.  
  4520.  
  4521. HRESULT __stdcall IQualityControl_SetSink_Proxy( 
  4522.     IQualityControl __RPC_FAR * This,
  4523.     /* [in] */ IQualityControl __RPC_FAR *piqc);
  4524.  
  4525.  
  4526. void __RPC_STUB IQualityControl_SetSink_Stub(
  4527.     IRpcStubBuffer *This,
  4528.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4529.     PRPC_MESSAGE _pRpcMessage,
  4530.     DWORD *_pdwStubPhase);
  4531.  
  4532.  
  4533.  
  4534. #endif     /* __IQualityControl_INTERFACE_DEFINED__ */
  4535.  
  4536.  
  4537. /****************************************
  4538.  * Generated header for interface: __MIDL__intf_0059
  4539.  * at Wed Jun 26 01:38:28 1996
  4540.  * using MIDL 2.00.0102
  4541.  ****************************************/
  4542. /* [local] */ 
  4543.  
  4544.  
  4545.             /* size is 2 */
  4546.  
  4547. enum __MIDL___MIDL__intf_0059_0001
  4548.     {    CK_NOCOLORKEY    = 0,
  4549.     CK_INDEX    = 0x1,
  4550.     CK_RGB    = 0x2
  4551.     };
  4552.             /* size is 16 */
  4553. typedef struct  tagCOLORKEY
  4554.     {
  4555.     DWORD KeyType;
  4556.     DWORD PaletteIndex;
  4557.     COLORREF LowColorValue;
  4558.     COLORREF HighColorValue;
  4559.     }    COLORKEY;
  4560.  
  4561.             /* size is 2 */
  4562.  
  4563. enum __MIDL___MIDL__intf_0059_0002
  4564.     {    ADVISE_NONE    = 0,
  4565.     ADVISE_CLIPPING    = 0x1,
  4566.     ADVISE_PALETTE    = 0x2,
  4567.     ADVISE_COLORKEY    = 0x4,
  4568.     ADVISE_POSITION    = 0x8
  4569.     };
  4570.             /* size is 4 */
  4571. #define    ADVISE_ALL    ( ADVISE_CLIPPING | ADVISE_PALETTE | ADVISE_COLORKEY | ADVISE_POSITION )
  4572.  
  4573. #ifndef _WINGDI_
  4574.             /* size is 32 */
  4575. typedef struct  _RGNDATAHEADER
  4576.     {
  4577.     DWORD dwSize;
  4578.     DWORD iType;
  4579.     DWORD nCount;
  4580.     DWORD nRgnSize;
  4581.     RECT rcBound;
  4582.     }    RGNDATAHEADER;
  4583.  
  4584.             /* size is 33 */
  4585. typedef struct  _RGNDATA
  4586.     {
  4587.     RGNDATAHEADER rdh;
  4588.     char Buffer[ 1 ];
  4589.     }    RGNDATA;
  4590.  
  4591. #endif
  4592.  
  4593.  
  4594. extern RPC_IF_HANDLE __MIDL__intf_0059_v0_0_c_ifspec;
  4595. extern RPC_IF_HANDLE __MIDL__intf_0059_v0_0_s_ifspec;
  4596.  
  4597. #ifndef __IOverlayNotify_INTERFACE_DEFINED__
  4598. #define __IOverlayNotify_INTERFACE_DEFINED__
  4599.  
  4600. /****************************************
  4601.  * Generated header for interface: IOverlayNotify
  4602.  * at Wed Jun 26 01:38:28 1996
  4603.  * using MIDL 2.00.0102
  4604.  ****************************************/
  4605. /* [unique][uuid][local][object] */ 
  4606.  
  4607.  
  4608.  
  4609. EXTERN_C const IID IID_IOverlayNotify;
  4610.  
  4611. #if defined(__cplusplus) && !defined(CINTERFACE)
  4612.     
  4613.     interface IOverlayNotify : public IUnknown
  4614.     {
  4615.     public:
  4616.         virtual HRESULT __stdcall OnPaletteChange( 
  4617.             /* [in] */ DWORD dwColors,
  4618.             /* [in] */ const PALETTEENTRY __RPC_FAR *pPalette) = 0;
  4619.         
  4620.         virtual HRESULT __stdcall OnClipChange( 
  4621.             /* [in] */ const RECT __RPC_FAR *pSourceRect,
  4622.             /* [in] */ const RECT __RPC_FAR *pDestinationRect,
  4623.             /* [in] */ const RGNDATA __RPC_FAR *pRgnData) = 0;
  4624.         
  4625.         virtual HRESULT __stdcall OnColorKeyChange( 
  4626.             /* [in] */ const COLORKEY __RPC_FAR *pColorKey) = 0;
  4627.         
  4628.         virtual HRESULT __stdcall OnPositionChange( 
  4629.             /* [in] */ const RECT __RPC_FAR *pSourceRect,
  4630.             /* [in] */ const RECT __RPC_FAR *pDestinationRect) = 0;
  4631.         
  4632.     };
  4633.     
  4634. #else     /* C style interface */
  4635.  
  4636.     typedef struct IOverlayNotifyVtbl
  4637.     {
  4638.         
  4639.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  4640.             IOverlayNotify __RPC_FAR * This,
  4641.             /* [in] */ REFIID riid,
  4642.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4643.         
  4644.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  4645.             IOverlayNotify __RPC_FAR * This);
  4646.         
  4647.         ULONG ( __stdcall __RPC_FAR *Release )( 
  4648.             IOverlayNotify __RPC_FAR * This);
  4649.         
  4650.         HRESULT ( __stdcall __RPC_FAR *OnPaletteChange )( 
  4651.             IOverlayNotify __RPC_FAR * This,
  4652.             /* [in] */ DWORD dwColors,
  4653.             /* [in] */ const PALETTEENTRY __RPC_FAR *pPalette);
  4654.         
  4655.         HRESULT ( __stdcall __RPC_FAR *OnClipChange )( 
  4656.             IOverlayNotify __RPC_FAR * This,
  4657.             /* [in] */ const RECT __RPC_FAR *pSourceRect,
  4658.             /* [in] */ const RECT __RPC_FAR *pDestinationRect,
  4659.             /* [in] */ const RGNDATA __RPC_FAR *pRgnData);
  4660.         
  4661.         HRESULT ( __stdcall __RPC_FAR *OnColorKeyChange )( 
  4662.             IOverlayNotify __RPC_FAR * This,
  4663.             /* [in] */ const COLORKEY __RPC_FAR *pColorKey);
  4664.         
  4665.         HRESULT ( __stdcall __RPC_FAR *OnPositionChange )( 
  4666.             IOverlayNotify __RPC_FAR * This,
  4667.             /* [in] */ const RECT __RPC_FAR *pSourceRect,
  4668.             /* [in] */ const RECT __RPC_FAR *pDestinationRect);
  4669.         
  4670.     } IOverlayNotifyVtbl;
  4671.  
  4672.     interface IOverlayNotify
  4673.     {
  4674.         CONST_VTBL struct IOverlayNotifyVtbl __RPC_FAR *lpVtbl;
  4675.     };
  4676.  
  4677.     
  4678.  
  4679. #ifdef COBJMACROS
  4680.  
  4681.  
  4682. #define IOverlayNotify_QueryInterface(This,riid,ppvObject)    \
  4683.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4684.  
  4685. #define IOverlayNotify_AddRef(This)    \
  4686.     (This)->lpVtbl -> AddRef(This)
  4687.  
  4688. #define IOverlayNotify_Release(This)    \
  4689.     (This)->lpVtbl -> Release(This)
  4690.  
  4691.  
  4692. #define IOverlayNotify_OnPaletteChange(This,dwColors,pPalette)    \
  4693.     (This)->lpVtbl -> OnPaletteChange(This,dwColors,pPalette)
  4694.  
  4695. #define IOverlayNotify_OnClipChange(This,pSourceRect,pDestinationRect,pRgnData)    \
  4696.     (This)->lpVtbl -> OnClipChange(This,pSourceRect,pDestinationRect,pRgnData)
  4697.  
  4698. #define IOverlayNotify_OnColorKeyChange(This,pColorKey)    \
  4699.     (This)->lpVtbl -> OnColorKeyChange(This,pColorKey)
  4700.  
  4701. #define IOverlayNotify_OnPositionChange(This,pSourceRect,pDestinationRect)    \
  4702.     (This)->lpVtbl -> OnPositionChange(This,pSourceRect,pDestinationRect)
  4703.  
  4704. #endif /* COBJMACROS */
  4705.  
  4706.  
  4707. #endif     /* C style interface */
  4708.  
  4709.  
  4710.  
  4711. HRESULT __stdcall IOverlayNotify_OnPaletteChange_Proxy( 
  4712.     IOverlayNotify __RPC_FAR * This,
  4713.     /* [in] */ DWORD dwColors,
  4714.     /* [in] */ const PALETTEENTRY __RPC_FAR *pPalette);
  4715.  
  4716.  
  4717. void __RPC_STUB IOverlayNotify_OnPaletteChange_Stub(
  4718.     IRpcStubBuffer *This,
  4719.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4720.     PRPC_MESSAGE _pRpcMessage,
  4721.     DWORD *_pdwStubPhase);
  4722.  
  4723.  
  4724. HRESULT __stdcall IOverlayNotify_OnClipChange_Proxy( 
  4725.     IOverlayNotify __RPC_FAR * This,
  4726.     /* [in] */ const RECT __RPC_FAR *pSourceRect,
  4727.     /* [in] */ const RECT __RPC_FAR *pDestinationRect,
  4728.     /* [in] */ const RGNDATA __RPC_FAR *pRgnData);
  4729.  
  4730.  
  4731. void __RPC_STUB IOverlayNotify_OnClipChange_Stub(
  4732.     IRpcStubBuffer *This,
  4733.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4734.     PRPC_MESSAGE _pRpcMessage,
  4735.     DWORD *_pdwStubPhase);
  4736.  
  4737.  
  4738. HRESULT __stdcall IOverlayNotify_OnColorKeyChange_Proxy( 
  4739.     IOverlayNotify __RPC_FAR * This,
  4740.     /* [in] */ const COLORKEY __RPC_FAR *pColorKey);
  4741.  
  4742.  
  4743. void __RPC_STUB IOverlayNotify_OnColorKeyChange_Stub(
  4744.     IRpcStubBuffer *This,
  4745.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4746.     PRPC_MESSAGE _pRpcMessage,
  4747.     DWORD *_pdwStubPhase);
  4748.  
  4749.  
  4750. HRESULT __stdcall IOverlayNotify_OnPositionChange_Proxy( 
  4751.     IOverlayNotify __RPC_FAR * This,
  4752.     /* [in] */ const RECT __RPC_FAR *pSourceRect,
  4753.     /* [in] */ const RECT __RPC_FAR *pDestinationRect);
  4754.  
  4755.  
  4756. void __RPC_STUB IOverlayNotify_OnPositionChange_Stub(
  4757.     IRpcStubBuffer *This,
  4758.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4759.     PRPC_MESSAGE _pRpcMessage,
  4760.     DWORD *_pdwStubPhase);
  4761.  
  4762.  
  4763.  
  4764. #endif     /* __IOverlayNotify_INTERFACE_DEFINED__ */
  4765.  
  4766.  
  4767. /****************************************
  4768.  * Generated header for interface: __MIDL__intf_0060
  4769.  * at Wed Jun 26 01:38:28 1996
  4770.  * using MIDL 2.00.0102
  4771.  ****************************************/
  4772. /* [local] */ 
  4773.  
  4774.  
  4775.             /* size is 4 */
  4776. typedef IOverlayNotify __RPC_FAR *POVERLAYNOTIFY;
  4777.  
  4778.  
  4779.  
  4780. extern RPC_IF_HANDLE __MIDL__intf_0060_v0_0_c_ifspec;
  4781. extern RPC_IF_HANDLE __MIDL__intf_0060_v0_0_s_ifspec;
  4782.  
  4783. #ifndef __IOverlay_INTERFACE_DEFINED__
  4784. #define __IOverlay_INTERFACE_DEFINED__
  4785.  
  4786. /****************************************
  4787.  * Generated header for interface: IOverlay
  4788.  * at Wed Jun 26 01:38:28 1996
  4789.  * using MIDL 2.00.0102
  4790.  ****************************************/
  4791. /* [unique][uuid][local][object] */ 
  4792.  
  4793.  
  4794.  
  4795. EXTERN_C const IID IID_IOverlay;
  4796.  
  4797. #if defined(__cplusplus) && !defined(CINTERFACE)
  4798.     
  4799.     interface IOverlay : public IUnknown
  4800.     {
  4801.     public:
  4802.         virtual HRESULT __stdcall GetPalette( 
  4803.             /* [out] */ DWORD __RPC_FAR *pdwColors,
  4804.             /* [out] */ PALETTEENTRY __RPC_FAR *__RPC_FAR *ppPalette) = 0;
  4805.         
  4806.         virtual HRESULT __stdcall SetPalette( 
  4807.             /* [in] */ DWORD dwColors,
  4808.             /* [in] */ PALETTEENTRY __RPC_FAR *pPalette) = 0;
  4809.         
  4810.         virtual HRESULT __stdcall GetDefaultColorKey( 
  4811.             /* [out] */ COLORKEY __RPC_FAR *pColorKey) = 0;
  4812.         
  4813.         virtual HRESULT __stdcall GetColorKey( 
  4814.             /* [out] */ COLORKEY __RPC_FAR *pColorKey) = 0;
  4815.         
  4816.         virtual HRESULT __stdcall SetColorKey( 
  4817.             /* [out][in] */ COLORKEY __RPC_FAR *pColorKey) = 0;
  4818.         
  4819.         virtual HRESULT __stdcall GetWindowHandle( 
  4820.             /* [out] */ HWND __RPC_FAR *pHwnd) = 0;
  4821.         
  4822.         virtual HRESULT __stdcall GetClipList( 
  4823.             /* [out] */ RECT __RPC_FAR *pSourceRect,
  4824.             /* [out] */ RECT __RPC_FAR *pDestinationRect,
  4825.             /* [out] */ RGNDATA __RPC_FAR *__RPC_FAR *ppRgnData) = 0;
  4826.         
  4827.         virtual HRESULT __stdcall GetVideoPosition( 
  4828.             /* [out] */ RECT __RPC_FAR *pSourceRect,
  4829.             /* [out] */ RECT __RPC_FAR *pDestinationRect) = 0;
  4830.         
  4831.         virtual HRESULT __stdcall Advise( 
  4832.             /* [in] */ IOverlayNotify __RPC_FAR *pOverlayNotify,
  4833.             /* [in] */ DWORD dwInterests) = 0;
  4834.         
  4835.         virtual HRESULT __stdcall Unadvise( void) = 0;
  4836.         
  4837.     };
  4838.     
  4839. #else     /* C style interface */
  4840.  
  4841.     typedef struct IOverlayVtbl
  4842.     {
  4843.         
  4844.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  4845.             IOverlay __RPC_FAR * This,
  4846.             /* [in] */ REFIID riid,
  4847.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4848.         
  4849.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  4850.             IOverlay __RPC_FAR * This);
  4851.         
  4852.         ULONG ( __stdcall __RPC_FAR *Release )( 
  4853.             IOverlay __RPC_FAR * This);
  4854.         
  4855.         HRESULT ( __stdcall __RPC_FAR *GetPalette )( 
  4856.             IOverlay __RPC_FAR * This,
  4857.             /* [out] */ DWORD __RPC_FAR *pdwColors,
  4858.             /* [out] */ PALETTEENTRY __RPC_FAR *__RPC_FAR *ppPalette);
  4859.         
  4860.         HRESULT ( __stdcall __RPC_FAR *SetPalette )( 
  4861.             IOverlay __RPC_FAR * This,
  4862.             /* [in] */ DWORD dwColors,
  4863.             /* [in] */ PALETTEENTRY __RPC_FAR *pPalette);
  4864.         
  4865.         HRESULT ( __stdcall __RPC_FAR *GetDefaultColorKey )( 
  4866.             IOverlay __RPC_FAR * This,
  4867.             /* [out] */ COLORKEY __RPC_FAR *pColorKey);
  4868.         
  4869.         HRESULT ( __stdcall __RPC_FAR *GetColorKey )( 
  4870.             IOverlay __RPC_FAR * This,
  4871.             /* [out] */ COLORKEY __RPC_FAR *pColorKey);
  4872.         
  4873.         HRESULT ( __stdcall __RPC_FAR *SetColorKey )( 
  4874.             IOverlay __RPC_FAR * This,
  4875.             /* [out][in] */ COLORKEY __RPC_FAR *pColorKey);
  4876.         
  4877.         HRESULT ( __stdcall __RPC_FAR *GetWindowHandle )( 
  4878.             IOverlay __RPC_FAR * This,
  4879.             /* [out] */ HWND __RPC_FAR *pHwnd);
  4880.         
  4881.         HRESULT ( __stdcall __RPC_FAR *GetClipList )( 
  4882.             IOverlay __RPC_FAR * This,
  4883.             /* [out] */ RECT __RPC_FAR *pSourceRect,
  4884.             /* [out] */ RECT __RPC_FAR *pDestinationRect,
  4885.             /* [out] */ RGNDATA __RPC_FAR *__RPC_FAR *ppRgnData);
  4886.         
  4887.         HRESULT ( __stdcall __RPC_FAR *GetVideoPosition )( 
  4888.             IOverlay __RPC_FAR * This,
  4889.             /* [out] */ RECT __RPC_FAR *pSourceRect,
  4890.             /* [out] */ RECT __RPC_FAR *pDestinationRect);
  4891.         
  4892.         HRESULT ( __stdcall __RPC_FAR *Advise )( 
  4893.             IOverlay __RPC_FAR * This,
  4894.             /* [in] */ IOverlayNotify __RPC_FAR *pOverlayNotify,
  4895.             /* [in] */ DWORD dwInterests);
  4896.         
  4897.         HRESULT ( __stdcall __RPC_FAR *Unadvise )( 
  4898.             IOverlay __RPC_FAR * This);
  4899.         
  4900.     } IOverlayVtbl;
  4901.  
  4902.     interface IOverlay
  4903.     {
  4904.         CONST_VTBL struct IOverlayVtbl __RPC_FAR *lpVtbl;
  4905.     };
  4906.  
  4907.     
  4908.  
  4909. #ifdef COBJMACROS
  4910.  
  4911.  
  4912. #define IOverlay_QueryInterface(This,riid,ppvObject)    \
  4913.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4914.  
  4915. #define IOverlay_AddRef(This)    \
  4916.     (This)->lpVtbl -> AddRef(This)
  4917.  
  4918. #define IOverlay_Release(This)    \
  4919.     (This)->lpVtbl -> Release(This)
  4920.  
  4921.  
  4922. #define IOverlay_GetPalette(This,pdwColors,ppPalette)    \
  4923.     (This)->lpVtbl -> GetPalette(This,pdwColors,ppPalette)
  4924.  
  4925. #define IOverlay_SetPalette(This,dwColors,pPalette)    \
  4926.     (This)->lpVtbl -> SetPalette(This,dwColors,pPalette)
  4927.  
  4928. #define IOverlay_GetDefaultColorKey(This,pColorKey)    \
  4929.     (This)->lpVtbl -> GetDefaultColorKey(This,pColorKey)
  4930.  
  4931. #define IOverlay_GetColorKey(This,pColorKey)    \
  4932.     (This)->lpVtbl -> GetColorKey(This,pColorKey)
  4933.  
  4934. #define IOverlay_SetColorKey(This,pColorKey)    \
  4935.     (This)->lpVtbl -> SetColorKey(This,pColorKey)
  4936.  
  4937. #define IOverlay_GetWindowHandle(This,pHwnd)    \
  4938.     (This)->lpVtbl -> GetWindowHandle(This,pHwnd)
  4939.  
  4940. #define IOverlay_GetClipList(This,pSourceRect,pDestinationRect,ppRgnData)    \
  4941.     (This)->lpVtbl -> GetClipList(This,pSourceRect,pDestinationRect,ppRgnData)
  4942.  
  4943. #define IOverlay_GetVideoPosition(This,pSourceRect,pDestinationRect)    \
  4944.     (This)->lpVtbl -> GetVideoPosition(This,pSourceRect,pDestinationRect)
  4945.  
  4946. #define IOverlay_Advise(This,pOverlayNotify,dwInterests)    \
  4947.     (This)->lpVtbl -> Advise(This,pOverlayNotify,dwInterests)
  4948.  
  4949. #define IOverlay_Unadvise(This)    \
  4950.     (This)->lpVtbl -> Unadvise(This)
  4951.  
  4952. #endif /* COBJMACROS */
  4953.  
  4954.  
  4955. #endif     /* C style interface */
  4956.  
  4957.  
  4958.  
  4959. HRESULT __stdcall IOverlay_GetPalette_Proxy( 
  4960.     IOverlay __RPC_FAR * This,
  4961.     /* [out] */ DWORD __RPC_FAR *pdwColors,
  4962.     /* [out] */ PALETTEENTRY __RPC_FAR *__RPC_FAR *ppPalette);
  4963.  
  4964.  
  4965. void __RPC_STUB IOverlay_GetPalette_Stub(
  4966.     IRpcStubBuffer *This,
  4967.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4968.     PRPC_MESSAGE _pRpcMessage,
  4969.     DWORD *_pdwStubPhase);
  4970.  
  4971.  
  4972. HRESULT __stdcall IOverlay_SetPalette_Proxy( 
  4973.     IOverlay __RPC_FAR * This,
  4974.     /* [in] */ DWORD dwColors,
  4975.     /* [in] */ PALETTEENTRY __RPC_FAR *pPalette);
  4976.  
  4977.  
  4978. void __RPC_STUB IOverlay_SetPalette_Stub(
  4979.     IRpcStubBuffer *This,
  4980.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4981.     PRPC_MESSAGE _pRpcMessage,
  4982.     DWORD *_pdwStubPhase);
  4983.  
  4984.  
  4985. HRESULT __stdcall IOverlay_GetDefaultColorKey_Proxy( 
  4986.     IOverlay __RPC_FAR * This,
  4987.     /* [out] */ COLORKEY __RPC_FAR *pColorKey);
  4988.  
  4989.  
  4990. void __RPC_STUB IOverlay_GetDefaultColorKey_Stub(
  4991.     IRpcStubBuffer *This,
  4992.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4993.     PRPC_MESSAGE _pRpcMessage,
  4994.     DWORD *_pdwStubPhase);
  4995.  
  4996.  
  4997. HRESULT __stdcall IOverlay_GetColorKey_Proxy( 
  4998.     IOverlay __RPC_FAR * This,
  4999.     /* [out] */ COLORKEY __RPC_FAR *pColorKey);
  5000.  
  5001.  
  5002. void __RPC_STUB IOverlay_GetColorKey_Stub(
  5003.     IRpcStubBuffer *This,
  5004.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5005.     PRPC_MESSAGE _pRpcMessage,
  5006.     DWORD *_pdwStubPhase);
  5007.  
  5008.  
  5009. HRESULT __stdcall IOverlay_SetColorKey_Proxy( 
  5010.     IOverlay __RPC_FAR * This,
  5011.     /* [out][in] */ COLORKEY __RPC_FAR *pColorKey);
  5012.  
  5013.  
  5014. void __RPC_STUB IOverlay_SetColorKey_Stub(
  5015.     IRpcStubBuffer *This,
  5016.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5017.     PRPC_MESSAGE _pRpcMessage,
  5018.     DWORD *_pdwStubPhase);
  5019.  
  5020.  
  5021. HRESULT __stdcall IOverlay_GetWindowHandle_Proxy( 
  5022.     IOverlay __RPC_FAR * This,
  5023.     /* [out] */ HWND __RPC_FAR *pHwnd);
  5024.  
  5025.  
  5026. void __RPC_STUB IOverlay_GetWindowHandle_Stub(
  5027.     IRpcStubBuffer *This,
  5028.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5029.     PRPC_MESSAGE _pRpcMessage,
  5030.     DWORD *_pdwStubPhase);
  5031.  
  5032.  
  5033. HRESULT __stdcall IOverlay_GetClipList_Proxy( 
  5034.     IOverlay __RPC_FAR * This,
  5035.     /* [out] */ RECT __RPC_FAR *pSourceRect,
  5036.     /* [out] */ RECT __RPC_FAR *pDestinationRect,
  5037.     /* [out] */ RGNDATA __RPC_FAR *__RPC_FAR *ppRgnData);
  5038.  
  5039.  
  5040. void __RPC_STUB IOverlay_GetClipList_Stub(
  5041.     IRpcStubBuffer *This,
  5042.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5043.     PRPC_MESSAGE _pRpcMessage,
  5044.     DWORD *_pdwStubPhase);
  5045.  
  5046.  
  5047. HRESULT __stdcall IOverlay_GetVideoPosition_Proxy( 
  5048.     IOverlay __RPC_FAR * This,
  5049.     /* [out] */ RECT __RPC_FAR *pSourceRect,
  5050.     /* [out] */ RECT __RPC_FAR *pDestinationRect);
  5051.  
  5052.  
  5053. void __RPC_STUB IOverlay_GetVideoPosition_Stub(
  5054.     IRpcStubBuffer *This,
  5055.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5056.     PRPC_MESSAGE _pRpcMessage,
  5057.     DWORD *_pdwStubPhase);
  5058.  
  5059.  
  5060. HRESULT __stdcall IOverlay_Advise_Proxy( 
  5061.     IOverlay __RPC_FAR * This,
  5062.     /* [in] */ IOverlayNotify __RPC_FAR *pOverlayNotify,
  5063.     /* [in] */ DWORD dwInterests);
  5064.  
  5065.  
  5066. void __RPC_STUB IOverlay_Advise_Stub(
  5067.     IRpcStubBuffer *This,
  5068.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5069.     PRPC_MESSAGE _pRpcMessage,
  5070.     DWORD *_pdwStubPhase);
  5071.  
  5072.  
  5073. HRESULT __stdcall IOverlay_Unadvise_Proxy( 
  5074.     IOverlay __RPC_FAR * This);
  5075.  
  5076.  
  5077. void __RPC_STUB IOverlay_Unadvise_Stub(
  5078.     IRpcStubBuffer *This,
  5079.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5080.     PRPC_MESSAGE _pRpcMessage,
  5081.     DWORD *_pdwStubPhase);
  5082.  
  5083.  
  5084.  
  5085. #endif     /* __IOverlay_INTERFACE_DEFINED__ */
  5086.  
  5087.  
  5088. /****************************************
  5089.  * Generated header for interface: __MIDL__intf_0061
  5090.  * at Wed Jun 26 01:38:28 1996
  5091.  * using MIDL 2.00.0102
  5092.  ****************************************/
  5093. /* [local] */ 
  5094.  
  5095.  
  5096.             /* size is 4 */
  5097. typedef IOverlay __RPC_FAR *POVERLAY;
  5098.  
  5099.  
  5100.  
  5101. extern RPC_IF_HANDLE __MIDL__intf_0061_v0_0_c_ifspec;
  5102. extern RPC_IF_HANDLE __MIDL__intf_0061_v0_0_s_ifspec;
  5103.  
  5104. #ifndef __IMediaEventSink_INTERFACE_DEFINED__
  5105. #define __IMediaEventSink_INTERFACE_DEFINED__
  5106.  
  5107. /****************************************
  5108.  * Generated header for interface: IMediaEventSink
  5109.  * at Wed Jun 26 01:38:28 1996
  5110.  * using MIDL 2.00.0102
  5111.  ****************************************/
  5112. /* [unique][uuid][object] */ 
  5113.  
  5114.  
  5115.  
  5116. EXTERN_C const IID IID_IMediaEventSink;
  5117.  
  5118. #if defined(__cplusplus) && !defined(CINTERFACE)
  5119.     
  5120.     interface IMediaEventSink : public IUnknown
  5121.     {
  5122.     public:
  5123.         virtual HRESULT __stdcall Notify( 
  5124.             /* [in] */ long EventCode,
  5125.             /* [in] */ long EventParam1,
  5126.             /* [in] */ long EventParam2) = 0;
  5127.         
  5128.     };
  5129.     
  5130. #else     /* C style interface */
  5131.  
  5132.     typedef struct IMediaEventSinkVtbl
  5133.     {
  5134.         
  5135.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  5136.             IMediaEventSink __RPC_FAR * This,
  5137.             /* [in] */ REFIID riid,
  5138.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  5139.         
  5140.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  5141.             IMediaEventSink __RPC_FAR * This);
  5142.         
  5143.         ULONG ( __stdcall __RPC_FAR *Release )( 
  5144.             IMediaEventSink __RPC_FAR * This);
  5145.         
  5146.         HRESULT ( __stdcall __RPC_FAR *Notify )( 
  5147.             IMediaEventSink __RPC_FAR * This,
  5148.             /* [in] */ long EventCode,
  5149.             /* [in] */ long EventParam1,
  5150.             /* [in] */ long EventParam2);
  5151.         
  5152.     } IMediaEventSinkVtbl;
  5153.  
  5154.     interface IMediaEventSink
  5155.     {
  5156.         CONST_VTBL struct IMediaEventSinkVtbl __RPC_FAR *lpVtbl;
  5157.     };
  5158.  
  5159.     
  5160.  
  5161. #ifdef COBJMACROS
  5162.  
  5163.  
  5164. #define IMediaEventSink_QueryInterface(This,riid,ppvObject)    \
  5165.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5166.  
  5167. #define IMediaEventSink_AddRef(This)    \
  5168.     (This)->lpVtbl -> AddRef(This)
  5169.  
  5170. #define IMediaEventSink_Release(This)    \
  5171.     (This)->lpVtbl -> Release(This)
  5172.  
  5173.  
  5174. #define IMediaEventSink_Notify(This,EventCode,EventParam1,EventParam2)    \
  5175.     (This)->lpVtbl -> Notify(This,EventCode,EventParam1,EventParam2)
  5176.  
  5177. #endif /* COBJMACROS */
  5178.  
  5179.  
  5180. #endif     /* C style interface */
  5181.  
  5182.  
  5183.  
  5184. HRESULT __stdcall IMediaEventSink_Notify_Proxy( 
  5185.     IMediaEventSink __RPC_FAR * This,
  5186.     /* [in] */ long EventCode,
  5187.     /* [in] */ long EventParam1,
  5188.     /* [in] */ long EventParam2);
  5189.  
  5190.  
  5191. void __RPC_STUB IMediaEventSink_Notify_Stub(
  5192.     IRpcStubBuffer *This,
  5193.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5194.     PRPC_MESSAGE _pRpcMessage,
  5195.     DWORD *_pdwStubPhase);
  5196.  
  5197.  
  5198.  
  5199. #endif     /* __IMediaEventSink_INTERFACE_DEFINED__ */
  5200.  
  5201.  
  5202. /****************************************
  5203.  * Generated header for interface: __MIDL__intf_0062
  5204.  * at Wed Jun 26 01:38:28 1996
  5205.  * using MIDL 2.00.0102
  5206.  ****************************************/
  5207. /* [local] */ 
  5208.  
  5209.  
  5210.             /* size is 4 */
  5211. typedef IMediaEventSink __RPC_FAR *PMEDIAEVENTSINK;
  5212.  
  5213.  
  5214.  
  5215. extern RPC_IF_HANDLE __MIDL__intf_0062_v0_0_c_ifspec;
  5216. extern RPC_IF_HANDLE __MIDL__intf_0062_v0_0_s_ifspec;
  5217.  
  5218. #ifndef __IFileSourceFilter_INTERFACE_DEFINED__
  5219. #define __IFileSourceFilter_INTERFACE_DEFINED__
  5220.  
  5221. /****************************************
  5222.  * Generated header for interface: IFileSourceFilter
  5223.  * at Wed Jun 26 01:38:28 1996
  5224.  * using MIDL 2.00.0102
  5225.  ****************************************/
  5226. /* [unique][uuid][object] */ 
  5227.  
  5228.  
  5229.  
  5230. EXTERN_C const IID IID_IFileSourceFilter;
  5231.  
  5232. #if defined(__cplusplus) && !defined(CINTERFACE)
  5233.     
  5234.     interface IFileSourceFilter : public IUnknown
  5235.     {
  5236.     public:
  5237.         virtual HRESULT __stdcall Load( 
  5238.             /* [in] */ LPCOLESTR pszFileName,
  5239.             /* [in] */ const AM_MEDIA_TYPE __RPC_FAR *pmt) = 0;
  5240.         
  5241.         virtual HRESULT __stdcall GetCurFile( 
  5242.             /* [out] */ LPOLESTR __RPC_FAR *ppszFileName,
  5243.             /* [out] */ AM_MEDIA_TYPE __RPC_FAR *pmt) = 0;
  5244.         
  5245.     };
  5246.     
  5247. #else     /* C style interface */
  5248.  
  5249.     typedef struct IFileSourceFilterVtbl
  5250.     {
  5251.         
  5252.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  5253.             IFileSourceFilter __RPC_FAR * This,
  5254.             /* [in] */ REFIID riid,
  5255.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  5256.         
  5257.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  5258.             IFileSourceFilter __RPC_FAR * This);
  5259.         
  5260.         ULONG ( __stdcall __RPC_FAR *Release )( 
  5261.             IFileSourceFilter __RPC_FAR * This);
  5262.         
  5263.         HRESULT ( __stdcall __RPC_FAR *Load )( 
  5264.             IFileSourceFilter __RPC_FAR * This,
  5265.             /* [in] */ LPCOLESTR pszFileName,
  5266.             /* [in] */ const AM_MEDIA_TYPE __RPC_FAR *pmt);
  5267.         
  5268.         HRESULT ( __stdcall __RPC_FAR *GetCurFile )( 
  5269.             IFileSourceFilter __RPC_FAR * This,
  5270.             /* [out] */ LPOLESTR __RPC_FAR *ppszFileName,
  5271.             /* [out] */ AM_MEDIA_TYPE __RPC_FAR *pmt);
  5272.         
  5273.     } IFileSourceFilterVtbl;
  5274.  
  5275.     interface IFileSourceFilter
  5276.     {
  5277.         CONST_VTBL struct IFileSourceFilterVtbl __RPC_FAR *lpVtbl;
  5278.     };
  5279.  
  5280.     
  5281.  
  5282. #ifdef COBJMACROS
  5283.  
  5284.  
  5285. #define IFileSourceFilter_QueryInterface(This,riid,ppvObject)    \
  5286.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5287.  
  5288. #define IFileSourceFilter_AddRef(This)    \
  5289.     (This)->lpVtbl -> AddRef(This)
  5290.  
  5291. #define IFileSourceFilter_Release(This)    \
  5292.     (This)->lpVtbl -> Release(This)
  5293.  
  5294.  
  5295. #define IFileSourceFilter_Load(This,pszFileName,pmt)    \
  5296.     (This)->lpVtbl -> Load(This,pszFileName,pmt)
  5297.  
  5298. #define IFileSourceFilter_GetCurFile(This,ppszFileName,pmt)    \
  5299.     (This)->lpVtbl -> GetCurFile(This,ppszFileName,pmt)
  5300.  
  5301. #endif /* COBJMACROS */
  5302.  
  5303.  
  5304. #endif     /* C style interface */
  5305.  
  5306.  
  5307.  
  5308. HRESULT __stdcall IFileSourceFilter_Load_Proxy( 
  5309.     IFileSourceFilter __RPC_FAR * This,
  5310.     /* [in] */ LPCOLESTR pszFileName,
  5311.     /* [in] */ const AM_MEDIA_TYPE __RPC_FAR *pmt);
  5312.  
  5313.  
  5314. void __RPC_STUB IFileSourceFilter_Load_Stub(
  5315.     IRpcStubBuffer *This,
  5316.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5317.     PRPC_MESSAGE _pRpcMessage,
  5318.     DWORD *_pdwStubPhase);
  5319.  
  5320.  
  5321. HRESULT __stdcall IFileSourceFilter_GetCurFile_Proxy( 
  5322.     IFileSourceFilter __RPC_FAR * This,
  5323.     /* [out] */ LPOLESTR __RPC_FAR *ppszFileName,
  5324.     /* [out] */ AM_MEDIA_TYPE __RPC_FAR *pmt);
  5325.  
  5326.  
  5327. void __RPC_STUB IFileSourceFilter_GetCurFile_Stub(
  5328.     IRpcStubBuffer *This,
  5329.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5330.     PRPC_MESSAGE _pRpcMessage,
  5331.     DWORD *_pdwStubPhase);
  5332.  
  5333.  
  5334.  
  5335. #endif     /* __IFileSourceFilter_INTERFACE_DEFINED__ */
  5336.  
  5337.  
  5338. /****************************************
  5339.  * Generated header for interface: __MIDL__intf_0063
  5340.  * at Wed Jun 26 01:38:28 1996
  5341.  * using MIDL 2.00.0102
  5342.  ****************************************/
  5343. /* [local] */ 
  5344.  
  5345.  
  5346.             /* size is 4 */
  5347. typedef IFileSourceFilter __RPC_FAR *PFILTERFILESOURCE;
  5348.  
  5349.  
  5350.  
  5351. extern RPC_IF_HANDLE __MIDL__intf_0063_v0_0_c_ifspec;
  5352. extern RPC_IF_HANDLE __MIDL__intf_0063_v0_0_s_ifspec;
  5353.  
  5354. #ifndef __IFileSinkFilter_INTERFACE_DEFINED__
  5355. #define __IFileSinkFilter_INTERFACE_DEFINED__
  5356.  
  5357. /****************************************
  5358.  * Generated header for interface: IFileSinkFilter
  5359.  * at Wed Jun 26 01:38:28 1996
  5360.  * using MIDL 2.00.0102
  5361.  ****************************************/
  5362. /* [unique][uuid][object] */ 
  5363.  
  5364.  
  5365.  
  5366. EXTERN_C const IID IID_IFileSinkFilter;
  5367.  
  5368. #if defined(__cplusplus) && !defined(CINTERFACE)
  5369.     
  5370.     interface IFileSinkFilter : public IUnknown
  5371.     {
  5372.     public:
  5373.         virtual HRESULT __stdcall SetFileName( 
  5374.             /* [in] */ LPCOLESTR pszFileName,
  5375.             /* [in] */ const AM_MEDIA_TYPE __RPC_FAR *pmt) = 0;
  5376.         
  5377.         virtual HRESULT __stdcall GetCurFile( 
  5378.             /* [out] */ LPOLESTR __RPC_FAR *ppszFileName,
  5379.             /* [out] */ AM_MEDIA_TYPE __RPC_FAR *pmt) = 0;
  5380.         
  5381.     };
  5382.     
  5383. #else     /* C style interface */
  5384.  
  5385.     typedef struct IFileSinkFilterVtbl
  5386.     {
  5387.         
  5388.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  5389.             IFileSinkFilter __RPC_FAR * This,
  5390.             /* [in] */ REFIID riid,
  5391.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  5392.         
  5393.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  5394.             IFileSinkFilter __RPC_FAR * This);
  5395.         
  5396.         ULONG ( __stdcall __RPC_FAR *Release )( 
  5397.             IFileSinkFilter __RPC_FAR * This);
  5398.         
  5399.         HRESULT ( __stdcall __RPC_FAR *SetFileName )( 
  5400.             IFileSinkFilter __RPC_FAR * This,
  5401.             /* [in] */ LPCOLESTR pszFileName,
  5402.             /* [in] */ const AM_MEDIA_TYPE __RPC_FAR *pmt);
  5403.         
  5404.         HRESULT ( __stdcall __RPC_FAR *GetCurFile )( 
  5405.             IFileSinkFilter __RPC_FAR * This,
  5406.             /* [out] */ LPOLESTR __RPC_FAR *ppszFileName,
  5407.             /* [out] */ AM_MEDIA_TYPE __RPC_FAR *pmt);
  5408.         
  5409.     } IFileSinkFilterVtbl;
  5410.  
  5411.     interface IFileSinkFilter
  5412.     {
  5413.         CONST_VTBL struct IFileSinkFilterVtbl __RPC_FAR *lpVtbl;
  5414.     };
  5415.  
  5416.     
  5417.  
  5418. #ifdef COBJMACROS
  5419.  
  5420.  
  5421. #define IFileSinkFilter_QueryInterface(This,riid,ppvObject)    \
  5422.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5423.  
  5424. #define IFileSinkFilter_AddRef(This)    \
  5425.     (This)->lpVtbl -> AddRef(This)
  5426.  
  5427. #define IFileSinkFilter_Release(This)    \
  5428.     (This)->lpVtbl -> Release(This)
  5429.  
  5430.  
  5431. #define IFileSinkFilter_SetFileName(This,pszFileName,pmt)    \
  5432.     (This)->lpVtbl -> SetFileName(This,pszFileName,pmt)
  5433.  
  5434. #define IFileSinkFilter_GetCurFile(This,ppszFileName,pmt)    \
  5435.     (This)->lpVtbl -> GetCurFile(This,ppszFileName,pmt)
  5436.  
  5437. #endif /* COBJMACROS */
  5438.  
  5439.  
  5440. #endif     /* C style interface */
  5441.  
  5442.  
  5443.  
  5444. HRESULT __stdcall IFileSinkFilter_SetFileName_Proxy( 
  5445.     IFileSinkFilter __RPC_FAR * This,
  5446.     /* [in] */ LPCOLESTR pszFileName,
  5447.     /* [in] */ const AM_MEDIA_TYPE __RPC_FAR *pmt);
  5448.  
  5449.  
  5450. void __RPC_STUB IFileSinkFilter_SetFileName_Stub(
  5451.     IRpcStubBuffer *This,
  5452.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5453.     PRPC_MESSAGE _pRpcMessage,
  5454.     DWORD *_pdwStubPhase);
  5455.  
  5456.  
  5457. HRESULT __stdcall IFileSinkFilter_GetCurFile_Proxy( 
  5458.     IFileSinkFilter __RPC_FAR * This,
  5459.     /* [out] */ LPOLESTR __RPC_FAR *ppszFileName,
  5460.     /* [out] */ AM_MEDIA_TYPE __RPC_FAR *pmt);
  5461.  
  5462.  
  5463. void __RPC_STUB IFileSinkFilter_GetCurFile_Stub(
  5464.     IRpcStubBuffer *This,
  5465.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5466.     PRPC_MESSAGE _pRpcMessage,
  5467.     DWORD *_pdwStubPhase);
  5468.  
  5469.  
  5470.  
  5471. #endif     /* __IFileSinkFilter_INTERFACE_DEFINED__ */
  5472.  
  5473.  
  5474. /****************************************
  5475.  * Generated header for interface: __MIDL__intf_0064
  5476.  * at Wed Jun 26 01:38:28 1996
  5477.  * using MIDL 2.00.0102
  5478.  ****************************************/
  5479. /* [local] */ 
  5480.  
  5481.  
  5482.             /* size is 4 */
  5483. typedef IFileSinkFilter __RPC_FAR *PFILTERFILESINK;
  5484.  
  5485.             /* size is 48 */
  5486. typedef struct  _AsyncIOReq
  5487.     {
  5488.     DWORD engine[ 4 ];
  5489.     /* [size_is] */ BYTE __RPC_FAR *lpv;
  5490.     DWORD cb;
  5491.     DWORD dwError;
  5492.     DWORD cbDone;
  5493.     LARGE_INTEGER liPos;
  5494.     DWORD hEvent;
  5495.     DWORD dwUser;
  5496.     }    AsyncIOReq;
  5497.  
  5498.  
  5499.  
  5500. extern RPC_IF_HANDLE __MIDL__intf_0064_v0_0_c_ifspec;
  5501. extern RPC_IF_HANDLE __MIDL__intf_0064_v0_0_s_ifspec;
  5502.  
  5503. #ifndef __IFileAsyncIO_INTERFACE_DEFINED__
  5504. #define __IFileAsyncIO_INTERFACE_DEFINED__
  5505.  
  5506. /****************************************
  5507.  * Generated header for interface: IFileAsyncIO
  5508.  * at Wed Jun 26 01:38:28 1996
  5509.  * using MIDL 2.00.0102
  5510.  ****************************************/
  5511. /* [unique][uuid][object] */ 
  5512.  
  5513.  
  5514.  
  5515. EXTERN_C const IID IID_IFileAsyncIO;
  5516.  
  5517. #if defined(__cplusplus) && !defined(CINTERFACE)
  5518.     
  5519.     interface IFileAsyncIO : public IUnknown
  5520.     {
  5521.     public:
  5522.         virtual HRESULT __stdcall QueryAlignment( 
  5523.             /* [out] */ LPDWORD pdwAlign) = 0;
  5524.         
  5525.         virtual HRESULT __stdcall Read( 
  5526.             /* [in] */ AsyncIOReq __RPC_FAR *pReq) = 0;
  5527.         
  5528.         virtual HRESULT __stdcall Write( 
  5529.             /* [in] */ AsyncIOReq __RPC_FAR *pReq) = 0;
  5530.         
  5531.         virtual HRESULT __stdcall WaitForNext( 
  5532.             /* [out] */ AsyncIOReq __RPC_FAR *__RPC_FAR *ppReq,
  5533.             /* [in] */ DWORD dwTimeout) = 0;
  5534.         
  5535.         virtual HRESULT __stdcall WaitForSpecific( 
  5536.             /* [out] */ AsyncIOReq __RPC_FAR *pReq,
  5537.             /* [in] */ DWORD dwTimeout) = 0;
  5538.         
  5539.         virtual HRESULT __stdcall DiscardPending( void) = 0;
  5540.         
  5541.         virtual HRESULT __stdcall Flush( void) = 0;
  5542.         
  5543.     };
  5544.     
  5545. #else     /* C style interface */
  5546.  
  5547.     typedef struct IFileAsyncIOVtbl
  5548.     {
  5549.         
  5550.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  5551.             IFileAsyncIO __RPC_FAR * This,
  5552.             /* [in] */ REFIID riid,
  5553.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  5554.         
  5555.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  5556.             IFileAsyncIO __RPC_FAR * This);
  5557.         
  5558.         ULONG ( __stdcall __RPC_FAR *Release )( 
  5559.             IFileAsyncIO __RPC_FAR * This);
  5560.         
  5561.         HRESULT ( __stdcall __RPC_FAR *QueryAlignment )( 
  5562.             IFileAsyncIO __RPC_FAR * This,
  5563.             /* [out] */ LPDWORD pdwAlign);
  5564.         
  5565.         HRESULT ( __stdcall __RPC_FAR *Read )( 
  5566.             IFileAsyncIO __RPC_FAR * This,
  5567.             /* [in] */ AsyncIOReq __RPC_FAR *pReq);
  5568.         
  5569.         HRESULT ( __stdcall __RPC_FAR *Write )( 
  5570.             IFileAsyncIO __RPC_FAR * This,
  5571.             /* [in] */ AsyncIOReq __RPC_FAR *pReq);
  5572.         
  5573.         HRESULT ( __stdcall __RPC_FAR *WaitForNext )( 
  5574.             IFileAsyncIO __RPC_FAR * This,
  5575.             /* [out] */ AsyncIOReq __RPC_FAR *__RPC_FAR *ppReq,
  5576.             /* [in] */ DWORD dwTimeout);
  5577.         
  5578.         HRESULT ( __stdcall __RPC_FAR *WaitForSpecific )( 
  5579.             IFileAsyncIO __RPC_FAR * This,
  5580.             /* [out] */ AsyncIOReq __RPC_FAR *pReq,
  5581.             /* [in] */ DWORD dwTimeout);
  5582.         
  5583.         HRESULT ( __stdcall __RPC_FAR *DiscardPending )( 
  5584.             IFileAsyncIO __RPC_FAR * This);
  5585.         
  5586.         HRESULT ( __stdcall __RPC_FAR *Flush )( 
  5587.             IFileAsyncIO __RPC_FAR * This);
  5588.         
  5589.     } IFileAsyncIOVtbl;
  5590.  
  5591.     interface IFileAsyncIO
  5592.     {
  5593.         CONST_VTBL struct IFileAsyncIOVtbl __RPC_FAR *lpVtbl;
  5594.     };
  5595.  
  5596.     
  5597.  
  5598. #ifdef COBJMACROS
  5599.  
  5600.  
  5601. #define IFileAsyncIO_QueryInterface(This,riid,ppvObject)    \
  5602.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5603.  
  5604. #define IFileAsyncIO_AddRef(This)    \
  5605.     (This)->lpVtbl -> AddRef(This)
  5606.  
  5607. #define IFileAsyncIO_Release(This)    \
  5608.     (This)->lpVtbl -> Release(This)
  5609.  
  5610.  
  5611. #define IFileAsyncIO_QueryAlignment(This,pdwAlign)    \
  5612.     (This)->lpVtbl -> QueryAlignment(This,pdwAlign)
  5613.  
  5614. #define IFileAsyncIO_Read(This,pReq)    \
  5615.     (This)->lpVtbl -> Read(This,pReq)
  5616.  
  5617. #define IFileAsyncIO_Write(This,pReq)    \
  5618.     (This)->lpVtbl -> Write(This,pReq)
  5619.  
  5620. #define IFileAsyncIO_WaitForNext(This,ppReq,dwTimeout)    \
  5621.     (This)->lpVtbl -> WaitForNext(This,ppReq,dwTimeout)
  5622.  
  5623. #define IFileAsyncIO_WaitForSpecific(This,pReq,dwTimeout)    \
  5624.     (This)->lpVtbl -> WaitForSpecific(This,pReq,dwTimeout)
  5625.  
  5626. #define IFileAsyncIO_DiscardPending(This)    \
  5627.     (This)->lpVtbl -> DiscardPending(This)
  5628.  
  5629. #define IFileAsyncIO_Flush(This)    \
  5630.     (This)->lpVtbl -> Flush(This)
  5631.  
  5632. #endif /* COBJMACROS */
  5633.  
  5634.  
  5635. #endif     /* C style interface */
  5636.  
  5637.  
  5638.  
  5639. HRESULT __stdcall IFileAsyncIO_QueryAlignment_Proxy( 
  5640.     IFileAsyncIO __RPC_FAR * This,
  5641.     /* [out] */ LPDWORD pdwAlign);
  5642.  
  5643.  
  5644. void __RPC_STUB IFileAsyncIO_QueryAlignment_Stub(
  5645.     IRpcStubBuffer *This,
  5646.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5647.     PRPC_MESSAGE _pRpcMessage,
  5648.     DWORD *_pdwStubPhase);
  5649.  
  5650.  
  5651. HRESULT __stdcall IFileAsyncIO_Read_Proxy( 
  5652.     IFileAsyncIO __RPC_FAR * This,
  5653.     /* [in] */ AsyncIOReq __RPC_FAR *pReq);
  5654.  
  5655.  
  5656. void __RPC_STUB IFileAsyncIO_Read_Stub(
  5657.     IRpcStubBuffer *This,
  5658.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5659.     PRPC_MESSAGE _pRpcMessage,
  5660.     DWORD *_pdwStubPhase);
  5661.  
  5662.  
  5663. HRESULT __stdcall IFileAsyncIO_Write_Proxy( 
  5664.     IFileAsyncIO __RPC_FAR * This,
  5665.     /* [in] */ AsyncIOReq __RPC_FAR *pReq);
  5666.  
  5667.  
  5668. void __RPC_STUB IFileAsyncIO_Write_Stub(
  5669.     IRpcStubBuffer *This,
  5670.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5671.     PRPC_MESSAGE _pRpcMessage,
  5672.     DWORD *_pdwStubPhase);
  5673.  
  5674.  
  5675. HRESULT __stdcall IFileAsyncIO_WaitForNext_Proxy( 
  5676.     IFileAsyncIO __RPC_FAR * This,
  5677.     /* [out] */ AsyncIOReq __RPC_FAR *__RPC_FAR *ppReq,
  5678.     /* [in] */ DWORD dwTimeout);
  5679.  
  5680.  
  5681. void __RPC_STUB IFileAsyncIO_WaitForNext_Stub(
  5682.     IRpcStubBuffer *This,
  5683.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5684.     PRPC_MESSAGE _pRpcMessage,
  5685.     DWORD *_pdwStubPhase);
  5686.  
  5687.  
  5688. HRESULT __stdcall IFileAsyncIO_WaitForSpecific_Proxy( 
  5689.     IFileAsyncIO __RPC_FAR * This,
  5690.     /* [out] */ AsyncIOReq __RPC_FAR *pReq,
  5691.     /* [in] */ DWORD dwTimeout);
  5692.  
  5693.  
  5694. void __RPC_STUB IFileAsyncIO_WaitForSpecific_Stub(
  5695.     IRpcStubBuffer *This,
  5696.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5697.     PRPC_MESSAGE _pRpcMessage,
  5698.     DWORD *_pdwStubPhase);
  5699.  
  5700.  
  5701. HRESULT __stdcall IFileAsyncIO_DiscardPending_Proxy( 
  5702.     IFileAsyncIO __RPC_FAR * This);
  5703.  
  5704.  
  5705. void __RPC_STUB IFileAsyncIO_DiscardPending_Stub(
  5706.     IRpcStubBuffer *This,
  5707.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5708.     PRPC_MESSAGE _pRpcMessage,
  5709.     DWORD *_pdwStubPhase);
  5710.  
  5711.  
  5712. HRESULT __stdcall IFileAsyncIO_Flush_Proxy( 
  5713.     IFileAsyncIO __RPC_FAR * This);
  5714.  
  5715.  
  5716. void __RPC_STUB IFileAsyncIO_Flush_Stub(
  5717.     IRpcStubBuffer *This,
  5718.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5719.     PRPC_MESSAGE _pRpcMessage,
  5720.     DWORD *_pdwStubPhase);
  5721.  
  5722.  
  5723.  
  5724. #endif     /* __IFileAsyncIO_INTERFACE_DEFINED__ */
  5725.  
  5726.  
  5727. /****************************************
  5728.  * Generated header for interface: __MIDL__intf_0065
  5729.  * at Wed Jun 26 01:38:28 1996
  5730.  * using MIDL 2.00.0102
  5731.  ****************************************/
  5732. /* [local] */ 
  5733.  
  5734.  
  5735.             /* size is 4 */
  5736. typedef IFileAsyncIO __RPC_FAR *PFILEASYNCIO;
  5737.  
  5738.  
  5739.  
  5740. extern RPC_IF_HANDLE __MIDL__intf_0065_v0_0_c_ifspec;
  5741. extern RPC_IF_HANDLE __MIDL__intf_0065_v0_0_s_ifspec;
  5742.  
  5743. #ifndef __IGraphBuilder_INTERFACE_DEFINED__
  5744. #define __IGraphBuilder_INTERFACE_DEFINED__
  5745.  
  5746. /****************************************
  5747.  * Generated header for interface: IGraphBuilder
  5748.  * at Wed Jun 26 01:38:28 1996
  5749.  * using MIDL 2.00.0102
  5750.  ****************************************/
  5751. /* [unique][uuid][local][object] */ 
  5752.  
  5753.  
  5754.  
  5755. EXTERN_C const IID IID_IGraphBuilder;
  5756.  
  5757. #if defined(__cplusplus) && !defined(CINTERFACE)
  5758.     
  5759.     interface IGraphBuilder : public IFilterGraph
  5760.     {
  5761.     public:
  5762.         virtual HRESULT __stdcall Connect( 
  5763.             /* [in] */ IPin __RPC_FAR *ppinOut,
  5764.             /* [in] */ IPin __RPC_FAR *ppinIn) = 0;
  5765.         
  5766.         virtual HRESULT __stdcall Render( 
  5767.             /* [in] */ IPin __RPC_FAR *ppinOut) = 0;
  5768.         
  5769.         virtual HRESULT __stdcall RenderFile( 
  5770.             /* [in] */ LPCWSTR lpcwstrFile,
  5771.             /* [in] */ LPCWSTR lpcwstrPlayList) = 0;
  5772.         
  5773.         virtual HRESULT __stdcall AddSourceFilter( 
  5774.             /* [in] */ LPCWSTR lpcwstrFileName,
  5775.             /* [in] */ LPCWSTR lpcwstrFilterName,
  5776.             /* [out] */ IFilter __RPC_FAR *__RPC_FAR *ppFilter) = 0;
  5777.         
  5778.         virtual HRESULT __stdcall SetLogFile( 
  5779.             /* [in] */ HANDLE hFile) = 0;
  5780.         
  5781.         virtual HRESULT __stdcall Abort( void) = 0;
  5782.         
  5783.         virtual HRESULT __stdcall ShouldOperationContinue( void) = 0;
  5784.         
  5785.     };
  5786.     
  5787. #else     /* C style interface */
  5788.  
  5789.     typedef struct IGraphBuilderVtbl
  5790.     {
  5791.         
  5792.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  5793.             IGraphBuilder __RPC_FAR * This,
  5794.             /* [in] */ REFIID riid,
  5795.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  5796.         
  5797.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  5798.             IGraphBuilder __RPC_FAR * This);
  5799.         
  5800.         ULONG ( __stdcall __RPC_FAR *Release )( 
  5801.             IGraphBuilder __RPC_FAR * This);
  5802.         
  5803.         HRESULT ( __stdcall __RPC_FAR *AddFilter )( 
  5804.             IGraphBuilder __RPC_FAR * This,
  5805.             /* [in] */ IFilter __RPC_FAR *pFilter,
  5806.             /* [string][in] */ LPCWSTR pName);
  5807.         
  5808.         HRESULT ( __stdcall __RPC_FAR *RemoveFilter )( 
  5809.             IGraphBuilder __RPC_FAR * This,
  5810.             /* [in] */ IFilter __RPC_FAR *pFilter);
  5811.         
  5812.         HRESULT ( __stdcall __RPC_FAR *EnumFilters )( 
  5813.             IGraphBuilder __RPC_FAR * This,
  5814.             /* [out] */ IEnumFilters __RPC_FAR *__RPC_FAR *ppEnum);
  5815.         
  5816.         HRESULT ( __stdcall __RPC_FAR *FindFilterByName )( 
  5817.             IGraphBuilder __RPC_FAR * This,
  5818.             /* [string][in] */ LPCWSTR pName,
  5819.             /* [out] */ IFilter __RPC_FAR *__RPC_FAR *ppFilter);
  5820.         
  5821.         HRESULT ( __stdcall __RPC_FAR *ConnectDirect )( 
  5822.             IGraphBuilder __RPC_FAR * This,
  5823.             /* [in] */ IPin __RPC_FAR *ppinOut,
  5824.             /* [in] */ IPin __RPC_FAR *ppinIn,
  5825.             /* [in] */ const AM_MEDIA_TYPE __RPC_FAR *pmt);
  5826.         
  5827.         HRESULT ( __stdcall __RPC_FAR *Reconnect )( 
  5828.             IGraphBuilder __RPC_FAR * This,
  5829.             /* [in] */ IPin __RPC_FAR *ppin);
  5830.         
  5831.         HRESULT ( __stdcall __RPC_FAR *Disconnect )( 
  5832.             IGraphBuilder __RPC_FAR * This,
  5833.             /* [in] */ IPin __RPC_FAR *ppin);
  5834.         
  5835.         HRESULT ( __stdcall __RPC_FAR *SetDefaultSyncSource )( 
  5836.             IGraphBuilder __RPC_FAR * This);
  5837.         
  5838.         HRESULT ( __stdcall __RPC_FAR *Connect )( 
  5839.             IGraphBuilder __RPC_FAR * This,
  5840.             /* [in] */ IPin __RPC_FAR *ppinOut,
  5841.             /* [in] */ IPin __RPC_FAR *ppinIn);
  5842.         
  5843.         HRESULT ( __stdcall __RPC_FAR *Render )( 
  5844.             IGraphBuilder __RPC_FAR * This,
  5845.             /* [in] */ IPin __RPC_FAR *ppinOut);
  5846.         
  5847.         HRESULT ( __stdcall __RPC_FAR *RenderFile )( 
  5848.             IGraphBuilder __RPC_FAR * This,
  5849.             /* [in] */ LPCWSTR lpcwstrFile,
  5850.             /* [in] */ LPCWSTR lpcwstrPlayList);
  5851.         
  5852.         HRESULT ( __stdcall __RPC_FAR *AddSourceFilter )( 
  5853.             IGraphBuilder __RPC_FAR * This,
  5854.             /* [in] */ LPCWSTR lpcwstrFileName,
  5855.             /* [in] */ LPCWSTR lpcwstrFilterName,
  5856.             /* [out] */ IFilter __RPC_FAR *__RPC_FAR *ppFilter);
  5857.         
  5858.         HRESULT ( __stdcall __RPC_FAR *SetLogFile )( 
  5859.             IGraphBuilder __RPC_FAR * This,
  5860.             /* [in] */ HANDLE hFile);
  5861.         
  5862.         HRESULT ( __stdcall __RPC_FAR *Abort )( 
  5863.             IGraphBuilder __RPC_FAR * This);
  5864.         
  5865.         HRESULT ( __stdcall __RPC_FAR *ShouldOperationContinue )( 
  5866.             IGraphBuilder __RPC_FAR * This);
  5867.         
  5868.     } IGraphBuilderVtbl;
  5869.  
  5870.     interface IGraphBuilder
  5871.     {
  5872.         CONST_VTBL struct IGraphBuilderVtbl __RPC_FAR *lpVtbl;
  5873.     };
  5874.  
  5875.     
  5876.  
  5877. #ifdef COBJMACROS
  5878.  
  5879.  
  5880. #define IGraphBuilder_QueryInterface(This,riid,ppvObject)    \
  5881.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5882.  
  5883. #define IGraphBuilder_AddRef(This)    \
  5884.     (This)->lpVtbl -> AddRef(This)
  5885.  
  5886. #define IGraphBuilder_Release(This)    \
  5887.     (This)->lpVtbl -> Release(This)
  5888.  
  5889.  
  5890. #define IGraphBuilder_AddFilter(This,pFilter,pName)    \
  5891.     (This)->lpVtbl -> AddFilter(This,pFilter,pName)
  5892.  
  5893. #define IGraphBuilder_RemoveFilter(This,pFilter)    \
  5894.     (This)->lpVtbl -> RemoveFilter(This,pFilter)
  5895.  
  5896. #define IGraphBuilder_EnumFilters(This,ppEnum)    \
  5897.     (This)->lpVtbl -> EnumFilters(This,ppEnum)
  5898.  
  5899. #define IGraphBuilder_FindFilterByName(This,pName,ppFilter)    \
  5900.     (This)->lpVtbl -> FindFilterByName(This,pName,ppFilter)
  5901.  
  5902. #define IGraphBuilder_ConnectDirect(This,ppinOut,ppinIn,pmt)    \
  5903.     (This)->lpVtbl -> ConnectDirect(This,ppinOut,ppinIn,pmt)
  5904.  
  5905. #define IGraphBuilder_Reconnect(This,ppin)    \
  5906.     (This)->lpVtbl -> Reconnect(This,ppin)
  5907.  
  5908. #define IGraphBuilder_Disconnect(This,ppin)    \
  5909.     (This)->lpVtbl -> Disconnect(This,ppin)
  5910.  
  5911. #define IGraphBuilder_SetDefaultSyncSource(This)    \
  5912.     (This)->lpVtbl -> SetDefaultSyncSource(This)
  5913.  
  5914.  
  5915. #define IGraphBuilder_Connect(This,ppinOut,ppinIn)    \
  5916.     (This)->lpVtbl -> Connect(This,ppinOut,ppinIn)
  5917.  
  5918. #define IGraphBuilder_Render(This,ppinOut)    \
  5919.     (This)->lpVtbl -> Render(This,ppinOut)
  5920.  
  5921. #define IGraphBuilder_RenderFile(This,lpcwstrFile,lpcwstrPlayList)    \
  5922.     (This)->lpVtbl -> RenderFile(This,lpcwstrFile,lpcwstrPlayList)
  5923.  
  5924. #define IGraphBuilder_AddSourceFilter(This,lpcwstrFileName,lpcwstrFilterName,ppFilter)    \
  5925.     (This)->lpVtbl -> AddSourceFilter(This,lpcwstrFileName,lpcwstrFilterName,ppFilter)
  5926.  
  5927. #define IGraphBuilder_SetLogFile(This,hFile)    \
  5928.     (This)->lpVtbl -> SetLogFile(This,hFile)
  5929.  
  5930. #define IGraphBuilder_Abort(This)    \
  5931.     (This)->lpVtbl -> Abort(This)
  5932.  
  5933. #define IGraphBuilder_ShouldOperationContinue(This)    \
  5934.     (This)->lpVtbl -> ShouldOperationContinue(This)
  5935.  
  5936. #endif /* COBJMACROS */
  5937.  
  5938.  
  5939. #endif     /* C style interface */
  5940.  
  5941.  
  5942.  
  5943. HRESULT __stdcall IGraphBuilder_Connect_Proxy( 
  5944.     IGraphBuilder __RPC_FAR * This,
  5945.     /* [in] */ IPin __RPC_FAR *ppinOut,
  5946.     /* [in] */ IPin __RPC_FAR *ppinIn);
  5947.  
  5948.  
  5949. void __RPC_STUB IGraphBuilder_Connect_Stub(
  5950.     IRpcStubBuffer *This,
  5951.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5952.     PRPC_MESSAGE _pRpcMessage,
  5953.     DWORD *_pdwStubPhase);
  5954.  
  5955.  
  5956. HRESULT __stdcall IGraphBuilder_Render_Proxy( 
  5957.     IGraphBuilder __RPC_FAR * This,
  5958.     /* [in] */ IPin __RPC_FAR *ppinOut);
  5959.  
  5960.  
  5961. void __RPC_STUB IGraphBuilder_Render_Stub(
  5962.     IRpcStubBuffer *This,
  5963.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5964.     PRPC_MESSAGE _pRpcMessage,
  5965.     DWORD *_pdwStubPhase);
  5966.  
  5967.  
  5968. HRESULT __stdcall IGraphBuilder_RenderFile_Proxy( 
  5969.     IGraphBuilder __RPC_FAR * This,
  5970.     /* [in] */ LPCWSTR lpcwstrFile,
  5971.     /* [in] */ LPCWSTR lpcwstrPlayList);
  5972.  
  5973.  
  5974. void __RPC_STUB IGraphBuilder_RenderFile_Stub(
  5975.     IRpcStubBuffer *This,
  5976.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5977.     PRPC_MESSAGE _pRpcMessage,
  5978.     DWORD *_pdwStubPhase);
  5979.  
  5980.  
  5981. HRESULT __stdcall IGraphBuilder_AddSourceFilter_Proxy( 
  5982.     IGraphBuilder __RPC_FAR * This,
  5983.     /* [in] */ LPCWSTR lpcwstrFileName,
  5984.     /* [in] */ LPCWSTR lpcwstrFilterName,
  5985.     /* [out] */ IFilter __RPC_FAR *__RPC_FAR *ppFilter);
  5986.  
  5987.  
  5988. void __RPC_STUB IGraphBuilder_AddSourceFilter_Stub(
  5989.     IRpcStubBuffer *This,
  5990.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5991.     PRPC_MESSAGE _pRpcMessage,
  5992.     DWORD *_pdwStubPhase);
  5993.  
  5994.  
  5995. HRESULT __stdcall IGraphBuilder_SetLogFile_Proxy( 
  5996.     IGraphBuilder __RPC_FAR * This,
  5997.     /* [in] */ HANDLE hFile);
  5998.  
  5999.  
  6000. void __RPC_STUB IGraphBuilder_SetLogFile_Stub(
  6001.     IRpcStubBuffer *This,
  6002.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6003.     PRPC_MESSAGE _pRpcMessage,
  6004.     DWORD *_pdwStubPhase);
  6005.  
  6006.  
  6007. HRESULT __stdcall IGraphBuilder_Abort_Proxy( 
  6008.     IGraphBuilder __RPC_FAR * This);
  6009.  
  6010.  
  6011. void __RPC_STUB IGraphBuilder_Abort_Stub(
  6012.     IRpcStubBuffer *This,
  6013.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6014.     PRPC_MESSAGE _pRpcMessage,
  6015.     DWORD *_pdwStubPhase);
  6016.  
  6017.  
  6018. HRESULT __stdcall IGraphBuilder_ShouldOperationContinue_Proxy( 
  6019.     IGraphBuilder __RPC_FAR * This);
  6020.  
  6021.  
  6022. void __RPC_STUB IGraphBuilder_ShouldOperationContinue_Stub(
  6023.     IRpcStubBuffer *This,
  6024.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6025.     PRPC_MESSAGE _pRpcMessage,
  6026.     DWORD *_pdwStubPhase);
  6027.  
  6028.  
  6029.  
  6030. #endif     /* __IGraphBuilder_INTERFACE_DEFINED__ */
  6031.  
  6032.  
  6033. #ifndef __IStreamBuilder_INTERFACE_DEFINED__
  6034. #define __IStreamBuilder_INTERFACE_DEFINED__
  6035.  
  6036. /****************************************
  6037.  * Generated header for interface: IStreamBuilder
  6038.  * at Wed Jun 26 01:38:28 1996
  6039.  * using MIDL 2.00.0102
  6040.  ****************************************/
  6041. /* [unique][uuid][local][object] */ 
  6042.  
  6043.  
  6044.  
  6045. EXTERN_C const IID IID_IStreamBuilder;
  6046.  
  6047. #if defined(__cplusplus) && !defined(CINTERFACE)
  6048.     
  6049.     interface IStreamBuilder : public IUnknown
  6050.     {
  6051.     public:
  6052.         virtual HRESULT __stdcall Render( 
  6053.             /* [in] */ IPin __RPC_FAR *ppinOut,
  6054.             /* [in] */ IGraphBuilder __RPC_FAR *pGraph) = 0;
  6055.         
  6056.         virtual HRESULT __stdcall Backout( 
  6057.             /* [in] */ IPin __RPC_FAR *ppinOut,
  6058.             /* [in] */ IGraphBuilder __RPC_FAR *pGraph) = 0;
  6059.         
  6060.     };
  6061.     
  6062. #else     /* C style interface */
  6063.  
  6064.     typedef struct IStreamBuilderVtbl
  6065.     {
  6066.         
  6067.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  6068.             IStreamBuilder __RPC_FAR * This,
  6069.             /* [in] */ REFIID riid,
  6070.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  6071.         
  6072.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  6073.             IStreamBuilder __RPC_FAR * This);
  6074.         
  6075.         ULONG ( __stdcall __RPC_FAR *Release )( 
  6076.             IStreamBuilder __RPC_FAR * This);
  6077.         
  6078.         HRESULT ( __stdcall __RPC_FAR *Render )( 
  6079.             IStreamBuilder __RPC_FAR * This,
  6080.             /* [in] */ IPin __RPC_FAR *ppinOut,
  6081.             /* [in] */ IGraphBuilder __RPC_FAR *pGraph);
  6082.         
  6083.         HRESULT ( __stdcall __RPC_FAR *Backout )( 
  6084.             IStreamBuilder __RPC_FAR * This,
  6085.             /* [in] */ IPin __RPC_FAR *ppinOut,
  6086.             /* [in] */ IGraphBuilder __RPC_FAR *pGraph);
  6087.         
  6088.     } IStreamBuilderVtbl;
  6089.  
  6090.     interface IStreamBuilder
  6091.     {
  6092.         CONST_VTBL struct IStreamBuilderVtbl __RPC_FAR *lpVtbl;
  6093.     };
  6094.  
  6095.     
  6096.  
  6097. #ifdef COBJMACROS
  6098.  
  6099.  
  6100. #define IStreamBuilder_QueryInterface(This,riid,ppvObject)    \
  6101.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6102.  
  6103. #define IStreamBuilder_AddRef(This)    \
  6104.     (This)->lpVtbl -> AddRef(This)
  6105.  
  6106. #define IStreamBuilder_Release(This)    \
  6107.     (This)->lpVtbl -> Release(This)
  6108.  
  6109.  
  6110. #define IStreamBuilder_Render(This,ppinOut,pGraph)    \
  6111.     (This)->lpVtbl -> Render(This,ppinOut,pGraph)
  6112.  
  6113. #define IStreamBuilder_Backout(This,ppinOut,pGraph)    \
  6114.     (This)->lpVtbl -> Backout(This,ppinOut,pGraph)
  6115.  
  6116. #endif /* COBJMACROS */
  6117.  
  6118.  
  6119. #endif     /* C style interface */
  6120.  
  6121.  
  6122.  
  6123. HRESULT __stdcall IStreamBuilder_Render_Proxy( 
  6124.     IStreamBuilder __RPC_FAR * This,
  6125.     /* [in] */ IPin __RPC_FAR *ppinOut,
  6126.     /* [in] */ IGraphBuilder __RPC_FAR *pGraph);
  6127.  
  6128.  
  6129. void __RPC_STUB IStreamBuilder_Render_Stub(
  6130.     IRpcStubBuffer *This,
  6131.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6132.     PRPC_MESSAGE _pRpcMessage,
  6133.     DWORD *_pdwStubPhase);
  6134.  
  6135.  
  6136. HRESULT __stdcall IStreamBuilder_Backout_Proxy( 
  6137.     IStreamBuilder __RPC_FAR * This,
  6138.     /* [in] */ IPin __RPC_FAR *ppinOut,
  6139.     /* [in] */ IGraphBuilder __RPC_FAR *pGraph);
  6140.  
  6141.  
  6142. void __RPC_STUB IStreamBuilder_Backout_Stub(
  6143.     IRpcStubBuffer *This,
  6144.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6145.     PRPC_MESSAGE _pRpcMessage,
  6146.     DWORD *_pdwStubPhase);
  6147.  
  6148.  
  6149.  
  6150. #endif     /* __IStreamBuilder_INTERFACE_DEFINED__ */
  6151.  
  6152.  
  6153. #ifndef __IAsyncReader_INTERFACE_DEFINED__
  6154. #define __IAsyncReader_INTERFACE_DEFINED__
  6155.  
  6156. /****************************************
  6157.  * Generated header for interface: IAsyncReader
  6158.  * at Wed Jun 26 01:38:28 1996
  6159.  * using MIDL 2.00.0102
  6160.  ****************************************/
  6161. /* [unique][uuid][object] */ 
  6162.  
  6163.  
  6164.  
  6165. EXTERN_C const IID IID_IAsyncReader;
  6166.  
  6167. #if defined(__cplusplus) && !defined(CINTERFACE)
  6168.     
  6169.     interface IAsyncReader : public IUnknown
  6170.     {
  6171.     public:
  6172.         virtual HRESULT __stdcall RequestAllocator( 
  6173.             /* [in] */ IMemAllocator __RPC_FAR *pPreferred,
  6174.             /* [in] */ ALLOCATOR_PROPERTIES __RPC_FAR *pProps,
  6175.             /* [out] */ IMemAllocator __RPC_FAR *__RPC_FAR *ppActual) = 0;
  6176.         
  6177.         virtual HRESULT __stdcall Request( 
  6178.             /* [in] */ IMediaSample __RPC_FAR *pSample,
  6179.             /* [in] */ DWORD dwUser) = 0;
  6180.         
  6181.         virtual HRESULT __stdcall WaitForNext( 
  6182.             /* [in] */ DWORD dwTimeout,
  6183.             /* [out] */ IMediaSample __RPC_FAR *__RPC_FAR *ppSample,
  6184.             /* [out] */ DWORD __RPC_FAR *pdwUser) = 0;
  6185.         
  6186.         virtual HRESULT __stdcall SyncReadAligned( 
  6187.             /* [in] */ IMediaSample __RPC_FAR *pSample) = 0;
  6188.         
  6189.         virtual HRESULT __stdcall SyncRead( 
  6190.             /* [in] */ LONGLONG llPosition,
  6191.             /* [in] */ LONG lLength,
  6192.             /* [size_is][out] */ BYTE __RPC_FAR *pBuffer) = 0;
  6193.         
  6194.         virtual HRESULT __stdcall Length( 
  6195.             /* [out] */ LONGLONG __RPC_FAR *pTotal,
  6196.             /* [out] */ LONGLONG __RPC_FAR *pAvailable) = 0;
  6197.         
  6198.         virtual HRESULT __stdcall BeginFlush( void) = 0;
  6199.         
  6200.         virtual HRESULT __stdcall EndFlush( void) = 0;
  6201.         
  6202.     };
  6203.     
  6204. #else     /* C style interface */
  6205.  
  6206.     typedef struct IAsyncReaderVtbl
  6207.     {
  6208.         
  6209.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  6210.             IAsyncReader __RPC_FAR * This,
  6211.             /* [in] */ REFIID riid,
  6212.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  6213.         
  6214.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  6215.             IAsyncReader __RPC_FAR * This);
  6216.         
  6217.         ULONG ( __stdcall __RPC_FAR *Release )( 
  6218.             IAsyncReader __RPC_FAR * This);
  6219.         
  6220.         HRESULT ( __stdcall __RPC_FAR *RequestAllocator )( 
  6221.             IAsyncReader __RPC_FAR * This,
  6222.             /* [in] */ IMemAllocator __RPC_FAR *pPreferred,
  6223.             /* [in] */ ALLOCATOR_PROPERTIES __RPC_FAR *pProps,
  6224.             /* [out] */ IMemAllocator __RPC_FAR *__RPC_FAR *ppActual);
  6225.         
  6226.         HRESULT ( __stdcall __RPC_FAR *Request )( 
  6227.             IAsyncReader __RPC_FAR * This,
  6228.             /* [in] */ IMediaSample __RPC_FAR *pSample,
  6229.             /* [in] */ DWORD dwUser);
  6230.         
  6231.         HRESULT ( __stdcall __RPC_FAR *WaitForNext )( 
  6232.             IAsyncReader __RPC_FAR * This,
  6233.             /* [in] */ DWORD dwTimeout,
  6234.             /* [out] */ IMediaSample __RPC_FAR *__RPC_FAR *ppSample,
  6235.             /* [out] */ DWORD __RPC_FAR *pdwUser);
  6236.         
  6237.         HRESULT ( __stdcall __RPC_FAR *SyncReadAligned )( 
  6238.             IAsyncReader __RPC_FAR * This,
  6239.             /* [in] */ IMediaSample __RPC_FAR *pSample);
  6240.         
  6241.         HRESULT ( __stdcall __RPC_FAR *SyncRead )( 
  6242.             IAsyncReader __RPC_FAR * This,
  6243.             /* [in] */ LONGLONG llPosition,
  6244.             /* [in] */ LONG lLength,
  6245.             /* [size_is][out] */ BYTE __RPC_FAR *pBuffer);
  6246.         
  6247.         HRESULT ( __stdcall __RPC_FAR *Length )( 
  6248.             IAsyncReader __RPC_FAR * This,
  6249.             /* [out] */ LONGLONG __RPC_FAR *pTotal,
  6250.             /* [out] */ LONGLONG __RPC_FAR *pAvailable);
  6251.         
  6252.         HRESULT ( __stdcall __RPC_FAR *BeginFlush )( 
  6253.             IAsyncReader __RPC_FAR * This);
  6254.         
  6255.         HRESULT ( __stdcall __RPC_FAR *EndFlush )( 
  6256.             IAsyncReader __RPC_FAR * This);
  6257.         
  6258.     } IAsyncReaderVtbl;
  6259.  
  6260.     interface IAsyncReader
  6261.     {
  6262.         CONST_VTBL struct IAsyncReaderVtbl __RPC_FAR *lpVtbl;
  6263.     };
  6264.  
  6265.     
  6266.  
  6267. #ifdef COBJMACROS
  6268.  
  6269.  
  6270. #define IAsyncReader_QueryInterface(This,riid,ppvObject)    \
  6271.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6272.  
  6273. #define IAsyncReader_AddRef(This)    \
  6274.     (This)->lpVtbl -> AddRef(This)
  6275.  
  6276. #define IAsyncReader_Release(This)    \
  6277.     (This)->lpVtbl -> Release(This)
  6278.  
  6279.  
  6280. #define IAsyncReader_RequestAllocator(This,pPreferred,pProps,ppActual)    \
  6281.     (This)->lpVtbl -> RequestAllocator(This,pPreferred,pProps,ppActual)
  6282.  
  6283. #define IAsyncReader_Request(This,pSample,dwUser)    \
  6284.     (This)->lpVtbl -> Request(This,pSample,dwUser)
  6285.  
  6286. #define IAsyncReader_WaitForNext(This,dwTimeout,ppSample,pdwUser)    \
  6287.     (This)->lpVtbl -> WaitForNext(This,dwTimeout,ppSample,pdwUser)
  6288.  
  6289. #define IAsyncReader_SyncReadAligned(This,pSample)    \
  6290.     (This)->lpVtbl -> SyncReadAligned(This,pSample)
  6291.  
  6292. #define IAsyncReader_SyncRead(This,llPosition,lLength,pBuffer)    \
  6293.     (This)->lpVtbl -> SyncRead(This,llPosition,lLength,pBuffer)
  6294.  
  6295. #define IAsyncReader_Length(This,pTotal,pAvailable)    \
  6296.     (This)->lpVtbl -> Length(This,pTotal,pAvailable)
  6297.  
  6298. #define IAsyncReader_BeginFlush(This)    \
  6299.     (This)->lpVtbl -> BeginFlush(This)
  6300.  
  6301. #define IAsyncReader_EndFlush(This)    \
  6302.     (This)->lpVtbl -> EndFlush(This)
  6303.  
  6304. #endif /* COBJMACROS */
  6305.  
  6306.  
  6307. #endif     /* C style interface */
  6308.  
  6309.  
  6310.  
  6311. HRESULT __stdcall IAsyncReader_RequestAllocator_Proxy( 
  6312.     IAsyncReader __RPC_FAR * This,
  6313.     /* [in] */ IMemAllocator __RPC_FAR *pPreferred,
  6314.     /* [in] */ ALLOCATOR_PROPERTIES __RPC_FAR *pProps,
  6315.     /* [out] */ IMemAllocator __RPC_FAR *__RPC_FAR *ppActual);
  6316.  
  6317.  
  6318. void __RPC_STUB IAsyncReader_RequestAllocator_Stub(
  6319.     IRpcStubBuffer *This,
  6320.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6321.     PRPC_MESSAGE _pRpcMessage,
  6322.     DWORD *_pdwStubPhase);
  6323.  
  6324.  
  6325. HRESULT __stdcall IAsyncReader_Request_Proxy( 
  6326.     IAsyncReader __RPC_FAR * This,
  6327.     /* [in] */ IMediaSample __RPC_FAR *pSample,
  6328.     /* [in] */ DWORD dwUser);
  6329.  
  6330.  
  6331. void __RPC_STUB IAsyncReader_Request_Stub(
  6332.     IRpcStubBuffer *This,
  6333.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6334.     PRPC_MESSAGE _pRpcMessage,
  6335.     DWORD *_pdwStubPhase);
  6336.  
  6337.  
  6338. HRESULT __stdcall IAsyncReader_WaitForNext_Proxy( 
  6339.     IAsyncReader __RPC_FAR * This,
  6340.     /* [in] */ DWORD dwTimeout,
  6341.     /* [out] */ IMediaSample __RPC_FAR *__RPC_FAR *ppSample,
  6342.     /* [out] */ DWORD __RPC_FAR *pdwUser);
  6343.  
  6344.  
  6345. void __RPC_STUB IAsyncReader_WaitForNext_Stub(
  6346.     IRpcStubBuffer *This,
  6347.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6348.     PRPC_MESSAGE _pRpcMessage,
  6349.     DWORD *_pdwStubPhase);
  6350.  
  6351.  
  6352. HRESULT __stdcall IAsyncReader_SyncReadAligned_Proxy( 
  6353.     IAsyncReader __RPC_FAR * This,
  6354.     /* [in] */ IMediaSample __RPC_FAR *pSample);
  6355.  
  6356.  
  6357. void __RPC_STUB IAsyncReader_SyncReadAligned_Stub(
  6358.     IRpcStubBuffer *This,
  6359.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6360.     PRPC_MESSAGE _pRpcMessage,
  6361.     DWORD *_pdwStubPhase);
  6362.  
  6363.  
  6364. HRESULT __stdcall IAsyncReader_SyncRead_Proxy( 
  6365.     IAsyncReader __RPC_FAR * This,
  6366.     /* [in] */ LONGLONG llPosition,
  6367.     /* [in] */ LONG lLength,
  6368.     /* [size_is][out] */ BYTE __RPC_FAR *pBuffer);
  6369.  
  6370.  
  6371. void __RPC_STUB IAsyncReader_SyncRead_Stub(
  6372.     IRpcStubBuffer *This,
  6373.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6374.     PRPC_MESSAGE _pRpcMessage,
  6375.     DWORD *_pdwStubPhase);
  6376.  
  6377.  
  6378. HRESULT __stdcall IAsyncReader_Length_Proxy( 
  6379.     IAsyncReader __RPC_FAR * This,
  6380.     /* [out] */ LONGLONG __RPC_FAR *pTotal,
  6381.     /* [out] */ LONGLONG __RPC_FAR *pAvailable);
  6382.  
  6383.  
  6384. void __RPC_STUB IAsyncReader_Length_Stub(
  6385.     IRpcStubBuffer *This,
  6386.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6387.     PRPC_MESSAGE _pRpcMessage,
  6388.     DWORD *_pdwStubPhase);
  6389.  
  6390.  
  6391. HRESULT __stdcall IAsyncReader_BeginFlush_Proxy( 
  6392.     IAsyncReader __RPC_FAR * This);
  6393.  
  6394.  
  6395. void __RPC_STUB IAsyncReader_BeginFlush_Stub(
  6396.     IRpcStubBuffer *This,
  6397.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6398.     PRPC_MESSAGE _pRpcMessage,
  6399.     DWORD *_pdwStubPhase);
  6400.  
  6401.  
  6402. HRESULT __stdcall IAsyncReader_EndFlush_Proxy( 
  6403.     IAsyncReader __RPC_FAR * This);
  6404.  
  6405.  
  6406. void __RPC_STUB IAsyncReader_EndFlush_Stub(
  6407.     IRpcStubBuffer *This,
  6408.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6409.     PRPC_MESSAGE _pRpcMessage,
  6410.     DWORD *_pdwStubPhase);
  6411.  
  6412.  
  6413.  
  6414. #endif     /* __IAsyncReader_INTERFACE_DEFINED__ */
  6415.  
  6416.  
  6417. #ifndef __IGraphVersion_INTERFACE_DEFINED__
  6418. #define __IGraphVersion_INTERFACE_DEFINED__
  6419.  
  6420. /****************************************
  6421.  * Generated header for interface: IGraphVersion
  6422.  * at Wed Jun 26 01:38:28 1996
  6423.  * using MIDL 2.00.0102
  6424.  ****************************************/
  6425. /* [unique][uuid][object] */ 
  6426.  
  6427.  
  6428.  
  6429. EXTERN_C const IID IID_IGraphVersion;
  6430.  
  6431. #if defined(__cplusplus) && !defined(CINTERFACE)
  6432.     
  6433.     interface IGraphVersion : public IUnknown
  6434.     {
  6435.     public:
  6436.         virtual HRESULT __stdcall QueryVersion( 
  6437.             LONG __RPC_FAR *pVersion) = 0;
  6438.         
  6439.     };
  6440.     
  6441. #else     /* C style interface */
  6442.  
  6443.     typedef struct IGraphVersionVtbl
  6444.     {
  6445.         
  6446.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  6447.             IGraphVersion __RPC_FAR * This,
  6448.             /* [in] */ REFIID riid,
  6449.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  6450.         
  6451.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  6452.             IGraphVersion __RPC_FAR * This);
  6453.         
  6454.         ULONG ( __stdcall __RPC_FAR *Release )( 
  6455.             IGraphVersion __RPC_FAR * This);
  6456.         
  6457.         HRESULT ( __stdcall __RPC_FAR *QueryVersion )( 
  6458.             IGraphVersion __RPC_FAR * This,
  6459.             LONG __RPC_FAR *pVersion);
  6460.         
  6461.     } IGraphVersionVtbl;
  6462.  
  6463.     interface IGraphVersion
  6464.     {
  6465.         CONST_VTBL struct IGraphVersionVtbl __RPC_FAR *lpVtbl;
  6466.     };
  6467.  
  6468.     
  6469.  
  6470. #ifdef COBJMACROS
  6471.  
  6472.  
  6473. #define IGraphVersion_QueryInterface(This,riid,ppvObject)    \
  6474.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6475.  
  6476. #define IGraphVersion_AddRef(This)    \
  6477.     (This)->lpVtbl -> AddRef(This)
  6478.  
  6479. #define IGraphVersion_Release(This)    \
  6480.     (This)->lpVtbl -> Release(This)
  6481.  
  6482.  
  6483. #define IGraphVersion_QueryVersion(This,pVersion)    \
  6484.     (This)->lpVtbl -> QueryVersion(This,pVersion)
  6485.  
  6486. #endif /* COBJMACROS */
  6487.  
  6488.  
  6489. #endif     /* C style interface */
  6490.  
  6491.  
  6492.  
  6493. HRESULT __stdcall IGraphVersion_QueryVersion_Proxy( 
  6494.     IGraphVersion __RPC_FAR * This,
  6495.     LONG __RPC_FAR *pVersion);
  6496.  
  6497.  
  6498. void __RPC_STUB IGraphVersion_QueryVersion_Stub(
  6499.     IRpcStubBuffer *This,
  6500.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6501.     PRPC_MESSAGE _pRpcMessage,
  6502.     DWORD *_pdwStubPhase);
  6503.  
  6504.  
  6505.  
  6506. #endif     /* __IGraphVersion_INTERFACE_DEFINED__ */
  6507.  
  6508.  
  6509. #ifndef __IResourceConsumer_INTERFACE_DEFINED__
  6510. #define __IResourceConsumer_INTERFACE_DEFINED__
  6511.  
  6512. /****************************************
  6513.  * Generated header for interface: IResourceConsumer
  6514.  * at Wed Jun 26 01:38:28 1996
  6515.  * using MIDL 2.00.0102
  6516.  ****************************************/
  6517. /* [unique][uuid][object] */ 
  6518.  
  6519.  
  6520.  
  6521. EXTERN_C const IID IID_IResourceConsumer;
  6522.  
  6523. #if defined(__cplusplus) && !defined(CINTERFACE)
  6524.     
  6525.     interface IResourceConsumer : public IUnknown
  6526.     {
  6527.     public:
  6528.         virtual HRESULT __stdcall AcquireResource( 
  6529.             /* [in] */ LONG idResource) = 0;
  6530.         
  6531.         virtual HRESULT __stdcall ReleaseResource( 
  6532.             /* [in] */ LONG idResource) = 0;
  6533.         
  6534.     };
  6535.     
  6536. #else     /* C style interface */
  6537.  
  6538.     typedef struct IResourceConsumerVtbl
  6539.     {
  6540.         
  6541.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  6542.             IResourceConsumer __RPC_FAR * This,
  6543.             /* [in] */ REFIID riid,
  6544.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  6545.         
  6546.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  6547.             IResourceConsumer __RPC_FAR * This);
  6548.         
  6549.         ULONG ( __stdcall __RPC_FAR *Release )( 
  6550.             IResourceConsumer __RPC_FAR * This);
  6551.         
  6552.         HRESULT ( __stdcall __RPC_FAR *AcquireResource )( 
  6553.             IResourceConsumer __RPC_FAR * This,
  6554.             /* [in] */ LONG idResource);
  6555.         
  6556.         HRESULT ( __stdcall __RPC_FAR *ReleaseResource )( 
  6557.             IResourceConsumer __RPC_FAR * This,
  6558.             /* [in] */ LONG idResource);
  6559.         
  6560.     } IResourceConsumerVtbl;
  6561.  
  6562.     interface IResourceConsumer
  6563.     {
  6564.         CONST_VTBL struct IResourceConsumerVtbl __RPC_FAR *lpVtbl;
  6565.     };
  6566.  
  6567.     
  6568.  
  6569. #ifdef COBJMACROS
  6570.  
  6571.  
  6572. #define IResourceConsumer_QueryInterface(This,riid,ppvObject)    \
  6573.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6574.  
  6575. #define IResourceConsumer_AddRef(This)    \
  6576.     (This)->lpVtbl -> AddRef(This)
  6577.  
  6578. #define IResourceConsumer_Release(This)    \
  6579.     (This)->lpVtbl -> Release(This)
  6580.  
  6581.  
  6582. #define IResourceConsumer_AcquireResource(This,idResource)    \
  6583.     (This)->lpVtbl -> AcquireResource(This,idResource)
  6584.  
  6585. #define IResourceConsumer_ReleaseResource(This,idResource)    \
  6586.     (This)->lpVtbl -> ReleaseResource(This,idResource)
  6587.  
  6588. #endif /* COBJMACROS */
  6589.  
  6590.  
  6591. #endif     /* C style interface */
  6592.  
  6593.  
  6594.  
  6595. HRESULT __stdcall IResourceConsumer_AcquireResource_Proxy( 
  6596.     IResourceConsumer __RPC_FAR * This,
  6597.     /* [in] */ LONG idResource);
  6598.  
  6599.  
  6600. void __RPC_STUB IResourceConsumer_AcquireResource_Stub(
  6601.     IRpcStubBuffer *This,
  6602.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6603.     PRPC_MESSAGE _pRpcMessage,
  6604.     DWORD *_pdwStubPhase);
  6605.  
  6606.  
  6607. HRESULT __stdcall IResourceConsumer_ReleaseResource_Proxy( 
  6608.     IResourceConsumer __RPC_FAR * This,
  6609.     /* [in] */ LONG idResource);
  6610.  
  6611.  
  6612. void __RPC_STUB IResourceConsumer_ReleaseResource_Stub(
  6613.     IRpcStubBuffer *This,
  6614.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6615.     PRPC_MESSAGE _pRpcMessage,
  6616.     DWORD *_pdwStubPhase);
  6617.  
  6618.  
  6619.  
  6620. #endif     /* __IResourceConsumer_INTERFACE_DEFINED__ */
  6621.  
  6622.  
  6623. #ifndef __IResourceManager_INTERFACE_DEFINED__
  6624. #define __IResourceManager_INTERFACE_DEFINED__
  6625.  
  6626. /****************************************
  6627.  * Generated header for interface: IResourceManager
  6628.  * at Wed Jun 26 01:38:28 1996
  6629.  * using MIDL 2.00.0102
  6630.  ****************************************/
  6631. /* [unique][uuid][object] */ 
  6632.  
  6633.  
  6634.  
  6635. EXTERN_C const IID IID_IResourceManager;
  6636.  
  6637. #if defined(__cplusplus) && !defined(CINTERFACE)
  6638.     
  6639.     interface IResourceManager : public IUnknown
  6640.     {
  6641.     public:
  6642.         virtual HRESULT __stdcall Register( 
  6643.             /* [in] */ LPCWSTR pName,
  6644.             /* [in] */ LONG cResource,
  6645.             /* [out] */ LONG __RPC_FAR *plToken) = 0;
  6646.         
  6647.         virtual HRESULT __stdcall RegisterGroup( 
  6648.             /* [in] */ LPCWSTR pName,
  6649.             /* [in] */ LONG cResource,
  6650.             /* [size_is][in] */ LONG __RPC_FAR *palTokens,
  6651.             /* [out] */ LONG __RPC_FAR *plToken) = 0;
  6652.         
  6653.         virtual HRESULT __stdcall RequestResource( 
  6654.             /* [in] */ LONG idResource,
  6655.             /* [in] */ IUnknown __RPC_FAR *pFocusObject,
  6656.             /* [in] */ IResourceConsumer __RPC_FAR *pConsumer) = 0;
  6657.         
  6658.         virtual HRESULT __stdcall NotifyAcquire( 
  6659.             /* [in] */ LONG idResource,
  6660.             /* [in] */ IResourceConsumer __RPC_FAR *pConsumer,
  6661.             /* [in] */ HRESULT hr) = 0;
  6662.         
  6663.         virtual HRESULT __stdcall NotifyRelease( 
  6664.             /* [in] */ LONG idResource,
  6665.             /* [in] */ IResourceConsumer __RPC_FAR *pConsumer,
  6666.             /* [in] */ BOOL bStillWant) = 0;
  6667.         
  6668.         virtual HRESULT __stdcall CancelRequest( 
  6669.             /* [in] */ LONG idResource,
  6670.             /* [in] */ IResourceConsumer __RPC_FAR *pConsumer) = 0;
  6671.         
  6672.         virtual HRESULT __stdcall SetFocus( 
  6673.             /* [in] */ IUnknown __RPC_FAR *pFocusObject) = 0;
  6674.         
  6675.         virtual HRESULT __stdcall ReleaseFocus( 
  6676.             /* [in] */ IUnknown __RPC_FAR *pFocusObject) = 0;
  6677.         
  6678.     };
  6679.     
  6680. #else     /* C style interface */
  6681.  
  6682.     typedef struct IResourceManagerVtbl
  6683.     {
  6684.         
  6685.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  6686.             IResourceManager __RPC_FAR * This,
  6687.             /* [in] */ REFIID riid,
  6688.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  6689.         
  6690.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  6691.             IResourceManager __RPC_FAR * This);
  6692.         
  6693.         ULONG ( __stdcall __RPC_FAR *Release )( 
  6694.             IResourceManager __RPC_FAR * This);
  6695.         
  6696.         HRESULT ( __stdcall __RPC_FAR *Register )( 
  6697.             IResourceManager __RPC_FAR * This,
  6698.             /* [in] */ LPCWSTR pName,
  6699.             /* [in] */ LONG cResource,
  6700.             /* [out] */ LONG __RPC_FAR *plToken);
  6701.         
  6702.         HRESULT ( __stdcall __RPC_FAR *RegisterGroup )( 
  6703.             IResourceManager __RPC_FAR * This,
  6704.             /* [in] */ LPCWSTR pName,
  6705.             /* [in] */ LONG cResource,
  6706.             /* [size_is][in] */ LONG __RPC_FAR *palTokens,
  6707.             /* [out] */ LONG __RPC_FAR *plToken);
  6708.         
  6709.         HRESULT ( __stdcall __RPC_FAR *RequestResource )( 
  6710.             IResourceManager __RPC_FAR * This,
  6711.             /* [in] */ LONG idResource,
  6712.             /* [in] */ IUnknown __RPC_FAR *pFocusObject,
  6713.             /* [in] */ IResourceConsumer __RPC_FAR *pConsumer);
  6714.         
  6715.         HRESULT ( __stdcall __RPC_FAR *NotifyAcquire )( 
  6716.             IResourceManager __RPC_FAR * This,
  6717.             /* [in] */ LONG idResource,
  6718.             /* [in] */ IResourceConsumer __RPC_FAR *pConsumer,
  6719.             /* [in] */ HRESULT hr);
  6720.         
  6721.         HRESULT ( __stdcall __RPC_FAR *NotifyRelease )( 
  6722.             IResourceManager __RPC_FAR * This,
  6723.             /* [in] */ LONG idResource,
  6724.             /* [in] */ IResourceConsumer __RPC_FAR *pConsumer,
  6725.             /* [in] */ BOOL bStillWant);
  6726.         
  6727.         HRESULT ( __stdcall __RPC_FAR *CancelRequest )( 
  6728.             IResourceManager __RPC_FAR * This,
  6729.             /* [in] */ LONG idResource,
  6730.             /* [in] */ IResourceConsumer __RPC_FAR *pConsumer);
  6731.         
  6732.         HRESULT ( __stdcall __RPC_FAR *SetFocus )( 
  6733.             IResourceManager __RPC_FAR * This,
  6734.             /* [in] */ IUnknown __RPC_FAR *pFocusObject);
  6735.         
  6736.         HRESULT ( __stdcall __RPC_FAR *ReleaseFocus )( 
  6737.             IResourceManager __RPC_FAR * This,
  6738.             /* [in] */ IUnknown __RPC_FAR *pFocusObject);
  6739.         
  6740.     } IResourceManagerVtbl;
  6741.  
  6742.     interface IResourceManager
  6743.     {
  6744.         CONST_VTBL struct IResourceManagerVtbl __RPC_FAR *lpVtbl;
  6745.     };
  6746.  
  6747.     
  6748.  
  6749. #ifdef COBJMACROS
  6750.  
  6751.  
  6752. #define IResourceManager_QueryInterface(This,riid,ppvObject)    \
  6753.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6754.  
  6755. #define IResourceManager_AddRef(This)    \
  6756.     (This)->lpVtbl -> AddRef(This)
  6757.  
  6758. #define IResourceManager_Release(This)    \
  6759.     (This)->lpVtbl -> Release(This)
  6760.  
  6761.  
  6762. #define IResourceManager_Register(This,pName,cResource,plToken)    \
  6763.     (This)->lpVtbl -> Register(This,pName,cResource,plToken)
  6764.  
  6765. #define IResourceManager_RegisterGroup(This,pName,cResource,palTokens,plToken)    \
  6766.     (This)->lpVtbl -> RegisterGroup(This,pName,cResource,palTokens,plToken)
  6767.  
  6768. #define IResourceManager_RequestResource(This,idResource,pFocusObject,pConsumer)    \
  6769.     (This)->lpVtbl -> RequestResource(This,idResource,pFocusObject,pConsumer)
  6770.  
  6771. #define IResourceManager_NotifyAcquire(This,idResource,pConsumer,hr)    \
  6772.     (This)->lpVtbl -> NotifyAcquire(This,idResource,pConsumer,hr)
  6773.  
  6774. #define IResourceManager_NotifyRelease(This,idResource,pConsumer,bStillWant)    \
  6775.     (This)->lpVtbl -> NotifyRelease(This,idResource,pConsumer,bStillWant)
  6776.  
  6777. #define IResourceManager_CancelRequest(This,idResource,pConsumer)    \
  6778.     (This)->lpVtbl -> CancelRequest(This,idResource,pConsumer)
  6779.  
  6780. #define IResourceManager_SetFocus(This,pFocusObject)    \
  6781.     (This)->lpVtbl -> SetFocus(This,pFocusObject)
  6782.  
  6783. #define IResourceManager_ReleaseFocus(This,pFocusObject)    \
  6784.     (This)->lpVtbl -> ReleaseFocus(This,pFocusObject)
  6785.  
  6786. #endif /* COBJMACROS */
  6787.  
  6788.  
  6789. #endif     /* C style interface */
  6790.  
  6791.  
  6792.  
  6793. HRESULT __stdcall IResourceManager_Register_Proxy( 
  6794.     IResourceManager __RPC_FAR * This,
  6795.     /* [in] */ LPCWSTR pName,
  6796.     /* [in] */ LONG cResource,
  6797.     /* [out] */ LONG __RPC_FAR *plToken);
  6798.  
  6799.  
  6800. void __RPC_STUB IResourceManager_Register_Stub(
  6801.     IRpcStubBuffer *This,
  6802.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6803.     PRPC_MESSAGE _pRpcMessage,
  6804.     DWORD *_pdwStubPhase);
  6805.  
  6806.  
  6807. HRESULT __stdcall IResourceManager_RegisterGroup_Proxy( 
  6808.     IResourceManager __RPC_FAR * This,
  6809.     /* [in] */ LPCWSTR pName,
  6810.     /* [in] */ LONG cResource,
  6811.     /* [size_is][in] */ LONG __RPC_FAR *palTokens,
  6812.     /* [out] */ LONG __RPC_FAR *plToken);
  6813.  
  6814.  
  6815. void __RPC_STUB IResourceManager_RegisterGroup_Stub(
  6816.     IRpcStubBuffer *This,
  6817.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6818.     PRPC_MESSAGE _pRpcMessage,
  6819.     DWORD *_pdwStubPhase);
  6820.  
  6821.  
  6822. HRESULT __stdcall IResourceManager_RequestResource_Proxy( 
  6823.     IResourceManager __RPC_FAR * This,
  6824.     /* [in] */ LONG idResource,
  6825.     /* [in] */ IUnknown __RPC_FAR *pFocusObject,
  6826.     /* [in] */ IResourceConsumer __RPC_FAR *pConsumer);
  6827.  
  6828.  
  6829. void __RPC_STUB IResourceManager_RequestResource_Stub(
  6830.     IRpcStubBuffer *This,
  6831.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6832.     PRPC_MESSAGE _pRpcMessage,
  6833.     DWORD *_pdwStubPhase);
  6834.  
  6835.  
  6836. HRESULT __stdcall IResourceManager_NotifyAcquire_Proxy( 
  6837.     IResourceManager __RPC_FAR * This,
  6838.     /* [in] */ LONG idResource,
  6839.     /* [in] */ IResourceConsumer __RPC_FAR *pConsumer,
  6840.     /* [in] */ HRESULT hr);
  6841.  
  6842.  
  6843. void __RPC_STUB IResourceManager_NotifyAcquire_Stub(
  6844.     IRpcStubBuffer *This,
  6845.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6846.     PRPC_MESSAGE _pRpcMessage,
  6847.     DWORD *_pdwStubPhase);
  6848.  
  6849.  
  6850. HRESULT __stdcall IResourceManager_NotifyRelease_Proxy( 
  6851.     IResourceManager __RPC_FAR * This,
  6852.     /* [in] */ LONG idResource,
  6853.     /* [in] */ IResourceConsumer __RPC_FAR *pConsumer,
  6854.     /* [in] */ BOOL bStillWant);
  6855.  
  6856.  
  6857. void __RPC_STUB IResourceManager_NotifyRelease_Stub(
  6858.     IRpcStubBuffer *This,
  6859.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6860.     PRPC_MESSAGE _pRpcMessage,
  6861.     DWORD *_pdwStubPhase);
  6862.  
  6863.  
  6864. HRESULT __stdcall IResourceManager_CancelRequest_Proxy( 
  6865.     IResourceManager __RPC_FAR * This,
  6866.     /* [in] */ LONG idResource,
  6867.     /* [in] */ IResourceConsumer __RPC_FAR *pConsumer);
  6868.  
  6869.  
  6870. void __RPC_STUB IResourceManager_CancelRequest_Stub(
  6871.     IRpcStubBuffer *This,
  6872.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6873.     PRPC_MESSAGE _pRpcMessage,
  6874.     DWORD *_pdwStubPhase);
  6875.  
  6876.  
  6877. HRESULT __stdcall IResourceManager_SetFocus_Proxy( 
  6878.     IResourceManager __RPC_FAR * This,
  6879.     /* [in] */ IUnknown __RPC_FAR *pFocusObject);
  6880.  
  6881.  
  6882. void __RPC_STUB IResourceManager_SetFocus_Stub(
  6883.     IRpcStubBuffer *This,
  6884.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6885.     PRPC_MESSAGE _pRpcMessage,
  6886.     DWORD *_pdwStubPhase);
  6887.  
  6888.  
  6889. HRESULT __stdcall IResourceManager_ReleaseFocus_Proxy( 
  6890.     IResourceManager __RPC_FAR * This,
  6891.     /* [in] */ IUnknown __RPC_FAR *pFocusObject);
  6892.  
  6893.  
  6894. void __RPC_STUB IResourceManager_ReleaseFocus_Stub(
  6895.     IRpcStubBuffer *This,
  6896.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6897.     PRPC_MESSAGE _pRpcMessage,
  6898.     DWORD *_pdwStubPhase);
  6899.  
  6900.  
  6901.  
  6902. #endif     /* __IResourceManager_INTERFACE_DEFINED__ */
  6903.  
  6904.  
  6905. #ifndef __IDistributorNotify_INTERFACE_DEFINED__
  6906. #define __IDistributorNotify_INTERFACE_DEFINED__
  6907.  
  6908. /****************************************
  6909.  * Generated header for interface: IDistributorNotify
  6910.  * at Wed Jun 26 01:38:28 1996
  6911.  * using MIDL 2.00.0102
  6912.  ****************************************/
  6913. /* [unique][uuid][object] */ 
  6914.  
  6915.  
  6916.  
  6917. EXTERN_C const IID IID_IDistributorNotify;
  6918.  
  6919. #if defined(__cplusplus) && !defined(CINTERFACE)
  6920.     
  6921.     interface IDistributorNotify : public IUnknown
  6922.     {
  6923.     public:
  6924.         virtual HRESULT __stdcall Stop( void) = 0;
  6925.         
  6926.         virtual HRESULT __stdcall Pause( void) = 0;
  6927.         
  6928.         virtual HRESULT __stdcall Run( 
  6929.             REFERENCE_TIME tStart) = 0;
  6930.         
  6931.         virtual HRESULT __stdcall SetSyncSource( 
  6932.             /* [in] */ IReferenceClock __RPC_FAR *pClock) = 0;
  6933.         
  6934.         virtual HRESULT __stdcall NotifyGraphChange( void) = 0;
  6935.         
  6936.     };
  6937.     
  6938. #else     /* C style interface */
  6939.  
  6940.     typedef struct IDistributorNotifyVtbl
  6941.     {
  6942.         
  6943.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  6944.             IDistributorNotify __RPC_FAR * This,
  6945.             /* [in] */ REFIID riid,
  6946.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  6947.         
  6948.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  6949.             IDistributorNotify __RPC_FAR * This);
  6950.         
  6951.         ULONG ( __stdcall __RPC_FAR *Release )( 
  6952.             IDistributorNotify __RPC_FAR * This);
  6953.         
  6954.         HRESULT ( __stdcall __RPC_FAR *Stop )( 
  6955.             IDistributorNotify __RPC_FAR * This);
  6956.         
  6957.         HRESULT ( __stdcall __RPC_FAR *Pause )( 
  6958.             IDistributorNotify __RPC_FAR * This);
  6959.         
  6960.         HRESULT ( __stdcall __RPC_FAR *Run )( 
  6961.             IDistributorNotify __RPC_FAR * This,
  6962.             REFERENCE_TIME tStart);
  6963.         
  6964.         HRESULT ( __stdcall __RPC_FAR *SetSyncSource )( 
  6965.             IDistributorNotify __RPC_FAR * This,
  6966.             /* [in] */ IReferenceClock __RPC_FAR *pClock);
  6967.         
  6968.         HRESULT ( __stdcall __RPC_FAR *NotifyGraphChange )( 
  6969.             IDistributorNotify __RPC_FAR * This);
  6970.         
  6971.     } IDistributorNotifyVtbl;
  6972.  
  6973.     interface IDistributorNotify
  6974.     {
  6975.         CONST_VTBL struct IDistributorNotifyVtbl __RPC_FAR *lpVtbl;
  6976.     };
  6977.  
  6978.     
  6979.  
  6980. #ifdef COBJMACROS
  6981.  
  6982.  
  6983. #define IDistributorNotify_QueryInterface(This,riid,ppvObject)    \
  6984.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6985.  
  6986. #define IDistributorNotify_AddRef(This)    \
  6987.     (This)->lpVtbl -> AddRef(This)
  6988.  
  6989. #define IDistributorNotify_Release(This)    \
  6990.     (This)->lpVtbl -> Release(This)
  6991.  
  6992.  
  6993. #define IDistributorNotify_Stop(This)    \
  6994.     (This)->lpVtbl -> Stop(This)
  6995.  
  6996. #define IDistributorNotify_Pause(This)    \
  6997.     (This)->lpVtbl -> Pause(This)
  6998.  
  6999. #define IDistributorNotify_Run(This,tStart)    \
  7000.     (This)->lpVtbl -> Run(This,tStart)
  7001.  
  7002. #define IDistributorNotify_SetSyncSource(This,pClock)    \
  7003.     (This)->lpVtbl -> SetSyncSource(This,pClock)
  7004.  
  7005. #define IDistributorNotify_NotifyGraphChange(This)    \
  7006.     (This)->lpVtbl -> NotifyGraphChange(This)
  7007.  
  7008. #endif /* COBJMACROS */
  7009.  
  7010.  
  7011. #endif     /* C style interface */
  7012.  
  7013.  
  7014.  
  7015. HRESULT __stdcall IDistributorNotify_Stop_Proxy( 
  7016.     IDistributorNotify __RPC_FAR * This);
  7017.  
  7018.  
  7019. void __RPC_STUB IDistributorNotify_Stop_Stub(
  7020.     IRpcStubBuffer *This,
  7021.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7022.     PRPC_MESSAGE _pRpcMessage,
  7023.     DWORD *_pdwStubPhase);
  7024.  
  7025.  
  7026. HRESULT __stdcall IDistributorNotify_Pause_Proxy( 
  7027.     IDistributorNotify __RPC_FAR * This);
  7028.  
  7029.  
  7030. void __RPC_STUB IDistributorNotify_Pause_Stub(
  7031.     IRpcStubBuffer *This,
  7032.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7033.     PRPC_MESSAGE _pRpcMessage,
  7034.     DWORD *_pdwStubPhase);
  7035.  
  7036.  
  7037. HRESULT __stdcall IDistributorNotify_Run_Proxy( 
  7038.     IDistributorNotify __RPC_FAR * This,
  7039.     REFERENCE_TIME tStart);
  7040.  
  7041.  
  7042. void __RPC_STUB IDistributorNotify_Run_Stub(
  7043.     IRpcStubBuffer *This,
  7044.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7045.     PRPC_MESSAGE _pRpcMessage,
  7046.     DWORD *_pdwStubPhase);
  7047.  
  7048.  
  7049. HRESULT __stdcall IDistributorNotify_SetSyncSource_Proxy( 
  7050.     IDistributorNotify __RPC_FAR * This,
  7051.     /* [in] */ IReferenceClock __RPC_FAR *pClock);
  7052.  
  7053.  
  7054. void __RPC_STUB IDistributorNotify_SetSyncSource_Stub(
  7055.     IRpcStubBuffer *This,
  7056.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7057.     PRPC_MESSAGE _pRpcMessage,
  7058.     DWORD *_pdwStubPhase);
  7059.  
  7060.  
  7061. HRESULT __stdcall IDistributorNotify_NotifyGraphChange_Proxy( 
  7062.     IDistributorNotify __RPC_FAR * This);
  7063.  
  7064.  
  7065. void __RPC_STUB IDistributorNotify_NotifyGraphChange_Stub(
  7066.     IRpcStubBuffer *This,
  7067.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7068.     PRPC_MESSAGE _pRpcMessage,
  7069.     DWORD *_pdwStubPhase);
  7070.  
  7071.  
  7072.  
  7073. #endif     /* __IDistributorNotify_INTERFACE_DEFINED__ */
  7074.  
  7075.  
  7076. #ifndef __IAMovie_INTERFACE_DEFINED__
  7077. #define __IAMovie_INTERFACE_DEFINED__
  7078.  
  7079. /****************************************
  7080.  * Generated header for interface: IAMovie
  7081.  * at Wed Jun 26 01:38:28 1996
  7082.  * using MIDL 2.00.0102
  7083.  ****************************************/
  7084. /* [unique][uuid][object] */ 
  7085.  
  7086.  
  7087.  
  7088. EXTERN_C const IID IID_IAMovie;
  7089.  
  7090. #if defined(__cplusplus) && !defined(CINTERFACE)
  7091.     
  7092.     interface IAMovie : public IFilterGraph
  7093.     {
  7094.     public:
  7095.         virtual HRESULT __stdcall Connect( 
  7096.             /* [in] */ IPin __RPC_FAR *ppinOut,
  7097.             /* [in] */ IPin __RPC_FAR *ppinIn) = 0;
  7098.         
  7099.         virtual HRESULT __stdcall Render( 
  7100.             /* [in] */ IPin __RPC_FAR *ppinOut) = 0;
  7101.         
  7102.         virtual HRESULT __stdcall Run( void) = 0;
  7103.         
  7104.         virtual HRESULT __stdcall Pause( void) = 0;
  7105.         
  7106.         virtual HRESULT __stdcall Stop( void) = 0;
  7107.         
  7108.         virtual HRESULT __stdcall GetState( 
  7109.             /* [in] */ LONG msTimeout,
  7110.             /* [out] */ FILTER_STATE __RPC_FAR *pfs) = 0;
  7111.         
  7112.         virtual HRESULT __stdcall RenderFile( 
  7113.             /* [in] */ LPCWSTR strFilename) = 0;
  7114.         
  7115.         virtual HRESULT __stdcall AddSourceFilter( 
  7116.             /* [in] */ LPCWSTR strFilename,
  7117.             /* [out] */ IFilter __RPC_FAR *__RPC_FAR *ppUnk) = 0;
  7118.         
  7119.         virtual HRESULT __stdcall GetEventHandle( 
  7120.             /* [out] */ HEVENT __RPC_FAR *hEvent) = 0;
  7121.         
  7122.         virtual HRESULT __stdcall GetEvent( 
  7123.             /* [out] */ long __RPC_FAR *lEventCode,
  7124.             /* [out] */ long __RPC_FAR *lParam1,
  7125.             /* [out] */ long __RPC_FAR *lParam2,
  7126.             /* [in] */ long msTimeout) = 0;
  7127.         
  7128.         virtual HRESULT __stdcall WaitForCompletion( 
  7129.             /* [in] */ long msTimeout,
  7130.             /* [out] */ long __RPC_FAR *pEvCode) = 0;
  7131.         
  7132.         virtual HRESULT __stdcall CancelDefaultHandling( 
  7133.             /* [in] */ long lEvCode) = 0;
  7134.         
  7135.         virtual HRESULT __stdcall RestoreDefaultHandling( 
  7136.             /* [in] */ long lEvCode) = 0;
  7137.         
  7138.         virtual HRESULT __stdcall get_Duration( 
  7139.             /* [out] */ REFTIME __RPC_FAR *plength) = 0;
  7140.         
  7141.         virtual HRESULT __stdcall put_CurrentPosition( 
  7142.             /* [in] */ REFTIME llTime) = 0;
  7143.         
  7144.         virtual HRESULT __stdcall get_CurrentPosition( 
  7145.             /* [out] */ REFTIME __RPC_FAR *pllTime) = 0;
  7146.         
  7147.         virtual HRESULT __stdcall get_StopTime( 
  7148.             /* [out] */ REFTIME __RPC_FAR *pllTime) = 0;
  7149.         
  7150.         virtual HRESULT __stdcall put_StopTime( 
  7151.             /* [in] */ REFTIME llTime) = 0;
  7152.         
  7153.         virtual HRESULT __stdcall get_PrerollTime( 
  7154.             /* [out] */ REFTIME __RPC_FAR *pllTime) = 0;
  7155.         
  7156.         virtual HRESULT __stdcall put_PrerollTime( 
  7157.             /* [in] */ REFTIME llTime) = 0;
  7158.         
  7159.         virtual HRESULT __stdcall put_Rate( 
  7160.             /* [in] */ double dRate) = 0;
  7161.         
  7162.         virtual HRESULT __stdcall get_Rate( 
  7163.             /* [out] */ double __RPC_FAR *pdRate) = 0;
  7164.         
  7165.         virtual HRESULT __stdcall RemoveAllFilters( void) = 0;
  7166.         
  7167.         virtual HRESULT __stdcall Play( void) = 0;
  7168.         
  7169.         virtual HRESULT __stdcall PlayFile( 
  7170.             /* [in] */ LPCWSTR strFilename) = 0;
  7171.         
  7172.         virtual HRESULT __stdcall EnumFiltersByInterface( 
  7173.             /* [in] */ REFIID riid,
  7174.             /* [out] */ IEnumFilters __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  7175.         
  7176.         virtual HRESULT __stdcall EnumPins( 
  7177.             /* [out] */ IEnumPins __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  7178.         
  7179.         virtual HRESULT __stdcall EnumPinsIn( 
  7180.             /* [out] */ IEnumPins __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  7181.         
  7182.         virtual HRESULT __stdcall EnumPinsOut( 
  7183.             /* [out] */ IEnumPins __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  7184.         
  7185.         virtual HRESULT __stdcall RenderAll( void) = 0;
  7186.         
  7187.         virtual HRESULT __stdcall RenderNewFile( 
  7188.             /* [in] */ LPCWSTR strFilename) = 0;
  7189.         
  7190.     };
  7191.     
  7192. #else     /* C style interface */
  7193.  
  7194.     typedef struct IAMovieVtbl
  7195.     {
  7196.         
  7197.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  7198.             IAMovie __RPC_FAR * This,
  7199.             /* [in] */ REFIID riid,
  7200.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  7201.         
  7202.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  7203.             IAMovie __RPC_FAR * This);
  7204.         
  7205.         ULONG ( __stdcall __RPC_FAR *Release )( 
  7206.             IAMovie __RPC_FAR * This);
  7207.         
  7208.         HRESULT ( __stdcall __RPC_FAR *AddFilter )( 
  7209.             IAMovie __RPC_FAR * This,
  7210.             /* [in] */ IFilter __RPC_FAR *pFilter,
  7211.             /* [string][in] */ LPCWSTR pName);
  7212.         
  7213.         HRESULT ( __stdcall __RPC_FAR *RemoveFilter )( 
  7214.             IAMovie __RPC_FAR * This,
  7215.             /* [in] */ IFilter __RPC_FAR *pFilter);
  7216.         
  7217.         HRESULT ( __stdcall __RPC_FAR *EnumFilters )( 
  7218.             IAMovie __RPC_FAR * This,
  7219.             /* [out] */ IEnumFilters __RPC_FAR *__RPC_FAR *ppEnum);
  7220.         
  7221.         HRESULT ( __stdcall __RPC_FAR *FindFilterByName )( 
  7222.             IAMovie __RPC_FAR * This,
  7223.             /* [string][in] */ LPCWSTR pName,
  7224.             /* [out] */ IFilter __RPC_FAR *__RPC_FAR *ppFilter);
  7225.         
  7226.         HRESULT ( __stdcall __RPC_FAR *ConnectDirect )( 
  7227.             IAMovie __RPC_FAR * This,
  7228.             /* [in] */ IPin __RPC_FAR *ppinOut,
  7229.             /* [in] */ IPin __RPC_FAR *ppinIn,
  7230.             /* [in] */ const AM_MEDIA_TYPE __RPC_FAR *pmt);
  7231.         
  7232.         HRESULT ( __stdcall __RPC_FAR *Reconnect )( 
  7233.             IAMovie __RPC_FAR * This,
  7234.             /* [in] */ IPin __RPC_FAR *ppin);
  7235.         
  7236.         HRESULT ( __stdcall __RPC_FAR *Disconnect )( 
  7237.             IAMovie __RPC_FAR * This,
  7238.             /* [in] */ IPin __RPC_FAR *ppin);
  7239.         
  7240.         HRESULT ( __stdcall __RPC_FAR *SetDefaultSyncSource )( 
  7241.             IAMovie __RPC_FAR * This);
  7242.         
  7243.         HRESULT ( __stdcall __RPC_FAR *Connect )( 
  7244.             IAMovie __RPC_FAR * This,
  7245.             /* [in] */ IPin __RPC_FAR *ppinOut,
  7246.             /* [in] */ IPin __RPC_FAR *ppinIn);
  7247.         
  7248.         HRESULT ( __stdcall __RPC_FAR *Render )( 
  7249.             IAMovie __RPC_FAR * This,
  7250.             /* [in] */ IPin __RPC_FAR *ppinOut);
  7251.         
  7252.         HRESULT ( __stdcall __RPC_FAR *Run )( 
  7253.             IAMovie __RPC_FAR * This);
  7254.         
  7255.         HRESULT ( __stdcall __RPC_FAR *Pause )( 
  7256.             IAMovie __RPC_FAR * This);
  7257.         
  7258.         HRESULT ( __stdcall __RPC_FAR *Stop )( 
  7259.             IAMovie __RPC_FAR * This);
  7260.         
  7261.         HRESULT ( __stdcall __RPC_FAR *GetState )( 
  7262.             IAMovie __RPC_FAR * This,
  7263.             /* [in] */ LONG msTimeout,
  7264.             /* [out] */ FILTER_STATE __RPC_FAR *pfs);
  7265.         
  7266.         HRESULT ( __stdcall __RPC_FAR *RenderFile )( 
  7267.             IAMovie __RPC_FAR * This,
  7268.             /* [in] */ LPCWSTR strFilename);
  7269.         
  7270.         HRESULT ( __stdcall __RPC_FAR *AddSourceFilter )( 
  7271.             IAMovie __RPC_FAR * This,
  7272.             /* [in] */ LPCWSTR strFilename,
  7273.             /* [out] */ IFilter __RPC_FAR *__RPC_FAR *ppUnk);
  7274.         
  7275.         HRESULT ( __stdcall __RPC_FAR *GetEventHandle )( 
  7276.             IAMovie __RPC_FAR * This,
  7277.             /* [out] */ HEVENT __RPC_FAR *hEvent);
  7278.         
  7279.         HRESULT ( __stdcall __RPC_FAR *GetEvent )( 
  7280.             IAMovie __RPC_FAR * This,
  7281.             /* [out] */ long __RPC_FAR *lEventCode,
  7282.             /* [out] */ long __RPC_FAR *lParam1,
  7283.             /* [out] */ long __RPC_FAR *lParam2,
  7284.             /* [in] */ long msTimeout);
  7285.         
  7286.         HRESULT ( __stdcall __RPC_FAR *WaitForCompletion )( 
  7287.             IAMovie __RPC_FAR * This,
  7288.             /* [in] */ long msTimeout,
  7289.             /* [out] */ long __RPC_FAR *pEvCode);
  7290.         
  7291.         HRESULT ( __stdcall __RPC_FAR *CancelDefaultHandling )( 
  7292.             IAMovie __RPC_FAR * This,
  7293.             /* [in] */ long lEvCode);
  7294.         
  7295.         HRESULT ( __stdcall __RPC_FAR *RestoreDefaultHandling )( 
  7296.             IAMovie __RPC_FAR * This,
  7297.             /* [in] */ long lEvCode);
  7298.         
  7299.         HRESULT ( __stdcall __RPC_FAR *get_Duration )( 
  7300.             IAMovie __RPC_FAR * This,
  7301.             /* [out] */ REFTIME __RPC_FAR *plength);
  7302.         
  7303.         HRESULT ( __stdcall __RPC_FAR *put_CurrentPosition )( 
  7304.             IAMovie __RPC_FAR * This,
  7305.             /* [in] */ REFTIME llTime);
  7306.         
  7307.         HRESULT ( __stdcall __RPC_FAR *get_CurrentPosition )( 
  7308.             IAMovie __RPC_FAR * This,
  7309.             /* [out] */ REFTIME __RPC_FAR *pllTime);
  7310.         
  7311.         HRESULT ( __stdcall __RPC_FAR *get_StopTime )( 
  7312.             IAMovie __RPC_FAR * This,
  7313.             /* [out] */ REFTIME __RPC_FAR *pllTime);
  7314.         
  7315.         HRESULT ( __stdcall __RPC_FAR *put_StopTime )( 
  7316.             IAMovie __RPC_FAR * This,
  7317.             /* [in] */ REFTIME llTime);
  7318.         
  7319.         HRESULT ( __stdcall __RPC_FAR *get_PrerollTime )( 
  7320.             IAMovie __RPC_FAR * This,
  7321.             /* [out] */ REFTIME __RPC_FAR *pllTime);
  7322.         
  7323.         HRESULT ( __stdcall __RPC_FAR *put_PrerollTime )( 
  7324.             IAMovie __RPC_FAR * This,
  7325.             /* [in] */ REFTIME llTime);
  7326.         
  7327.         HRESULT ( __stdcall __RPC_FAR *put_Rate )( 
  7328.             IAMovie __RPC_FAR * This,
  7329.             /* [in] */ double dRate);
  7330.         
  7331.         HRESULT ( __stdcall __RPC_FAR *get_Rate )( 
  7332.             IAMovie __RPC_FAR * This,
  7333.             /* [out] */ double __RPC_FAR *pdRate);
  7334.         
  7335.         HRESULT ( __stdcall __RPC_FAR *RemoveAllFilters )( 
  7336.             IAMovie __RPC_FAR * This);
  7337.         
  7338.         HRESULT ( __stdcall __RPC_FAR *Play )( 
  7339.             IAMovie __RPC_FAR * This);
  7340.         
  7341.         HRESULT ( __stdcall __RPC_FAR *PlayFile )( 
  7342.             IAMovie __RPC_FAR * This,
  7343.             /* [in] */ LPCWSTR strFilename);
  7344.         
  7345.         HRESULT ( __stdcall __RPC_FAR *EnumFiltersByInterface )( 
  7346.             IAMovie __RPC_FAR * This,
  7347.             /* [in] */ REFIID riid,
  7348.             /* [out] */ IEnumFilters __RPC_FAR *__RPC_FAR *ppEnum);
  7349.         
  7350.         HRESULT ( __stdcall __RPC_FAR *EnumPins )( 
  7351.             IAMovie __RPC_FAR * This,
  7352.             /* [out] */ IEnumPins __RPC_FAR *__RPC_FAR *ppEnum);
  7353.         
  7354.         HRESULT ( __stdcall __RPC_FAR *EnumPinsIn )( 
  7355.             IAMovie __RPC_FAR * This,
  7356.             /* [out] */ IEnumPins __RPC_FAR *__RPC_FAR *ppEnum);
  7357.         
  7358.         HRESULT ( __stdcall __RPC_FAR *EnumPinsOut )( 
  7359.             IAMovie __RPC_FAR * This,
  7360.             /* [out] */ IEnumPins __RPC_FAR *__RPC_FAR *ppEnum);
  7361.         
  7362.         HRESULT ( __stdcall __RPC_FAR *RenderAll )( 
  7363.             IAMovie __RPC_FAR * This);
  7364.         
  7365.         HRESULT ( __stdcall __RPC_FAR *RenderNewFile )( 
  7366.             IAMovie __RPC_FAR * This,
  7367.             /* [in] */ LPCWSTR strFilename);
  7368.         
  7369.     } IAMovieVtbl;
  7370.  
  7371.     interface IAMovie
  7372.     {
  7373.         CONST_VTBL struct IAMovieVtbl __RPC_FAR *lpVtbl;
  7374.     };
  7375.  
  7376.     
  7377.  
  7378. #ifdef COBJMACROS
  7379.  
  7380.  
  7381. #define IAMovie_QueryInterface(This,riid,ppvObject)    \
  7382.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7383.  
  7384. #define IAMovie_AddRef(This)    \
  7385.     (This)->lpVtbl -> AddRef(This)
  7386.  
  7387. #define IAMovie_Release(This)    \
  7388.     (This)->lpVtbl -> Release(This)
  7389.  
  7390.  
  7391. #define IAMovie_AddFilter(This,pFilter,pName)    \
  7392.     (This)->lpVtbl -> AddFilter(This,pFilter,pName)
  7393.  
  7394. #define IAMovie_RemoveFilter(This,pFilter)    \
  7395.     (This)->lpVtbl -> RemoveFilter(This,pFilter)
  7396.  
  7397. #define IAMovie_EnumFilters(This,ppEnum)    \
  7398.     (This)->lpVtbl -> EnumFilters(This,ppEnum)
  7399.  
  7400. #define IAMovie_FindFilterByName(This,pName,ppFilter)    \
  7401.     (This)->lpVtbl -> FindFilterByName(This,pName,ppFilter)
  7402.  
  7403. #define IAMovie_ConnectDirect(This,ppinOut,ppinIn,pmt)    \
  7404.     (This)->lpVtbl -> ConnectDirect(This,ppinOut,ppinIn,pmt)
  7405.  
  7406. #define IAMovie_Reconnect(This,ppin)    \
  7407.     (This)->lpVtbl -> Reconnect(This,ppin)
  7408.  
  7409. #define IAMovie_Disconnect(This,ppin)    \
  7410.     (This)->lpVtbl -> Disconnect(This,ppin)
  7411.  
  7412. #define IAMovie_SetDefaultSyncSource(This)    \
  7413.     (This)->lpVtbl -> SetDefaultSyncSource(This)
  7414.  
  7415.  
  7416. #define IAMovie_Connect(This,ppinOut,ppinIn)    \
  7417.     (This)->lpVtbl -> Connect(This,ppinOut,ppinIn)
  7418.  
  7419. #define IAMovie_Render(This,ppinOut)    \
  7420.     (This)->lpVtbl -> Render(This,ppinOut)
  7421.  
  7422. #define IAMovie_Run(This)    \
  7423.     (This)->lpVtbl -> Run(This)
  7424.  
  7425. #define IAMovie_Pause(This)    \
  7426.     (This)->lpVtbl -> Pause(This)
  7427.  
  7428. #define IAMovie_Stop(This)    \
  7429.     (This)->lpVtbl -> Stop(This)
  7430.  
  7431. #define IAMovie_GetState(This,msTimeout,pfs)    \
  7432.     (This)->lpVtbl -> GetState(This,msTimeout,pfs)
  7433.  
  7434. #define IAMovie_RenderFile(This,strFilename)    \
  7435.     (This)->lpVtbl -> RenderFile(This,strFilename)
  7436.  
  7437. #define IAMovie_AddSourceFilter(This,strFilename,ppUnk)    \
  7438.     (This)->lpVtbl -> AddSourceFilter(This,strFilename,ppUnk)
  7439.  
  7440. #define IAMovie_GetEventHandle(This,hEvent)    \
  7441.     (This)->lpVtbl -> GetEventHandle(This,hEvent)
  7442.  
  7443. #define IAMovie_GetEvent(This,lEventCode,lParam1,lParam2,msTimeout)    \
  7444.     (This)->lpVtbl -> GetEvent(This,lEventCode,lParam1,lParam2,msTimeout)
  7445.  
  7446. #define IAMovie_WaitForCompletion(This,msTimeout,pEvCode)    \
  7447.     (This)->lpVtbl -> WaitForCompletion(This,msTimeout,pEvCode)
  7448.  
  7449. #define IAMovie_CancelDefaultHandling(This,lEvCode)    \
  7450.     (This)->lpVtbl -> CancelDefaultHandling(This,lEvCode)
  7451.  
  7452. #define IAMovie_RestoreDefaultHandling(This,lEvCode)    \
  7453.     (This)->lpVtbl -> RestoreDefaultHandling(This,lEvCode)
  7454.  
  7455. #define IAMovie_get_Duration(This,plength)    \
  7456.     (This)->lpVtbl -> get_Duration(This,plength)
  7457.  
  7458. #define IAMovie_put_CurrentPosition(This,llTime)    \
  7459.     (This)->lpVtbl -> put_CurrentPosition(This,llTime)
  7460.  
  7461. #define IAMovie_get_CurrentPosition(This,pllTime)    \
  7462.     (This)->lpVtbl -> get_CurrentPosition(This,pllTime)
  7463.  
  7464. #define IAMovie_get_StopTime(This,pllTime)    \
  7465.     (This)->lpVtbl -> get_StopTime(This,pllTime)
  7466.  
  7467. #define IAMovie_put_StopTime(This,llTime)    \
  7468.     (This)->lpVtbl -> put_StopTime(This,llTime)
  7469.  
  7470. #define IAMovie_get_PrerollTime(This,pllTime)    \
  7471.     (This)->lpVtbl -> get_PrerollTime(This,pllTime)
  7472.  
  7473. #define IAMovie_put_PrerollTime(This,llTime)    \
  7474.     (This)->lpVtbl -> put_PrerollTime(This,llTime)
  7475.  
  7476. #define IAMovie_put_Rate(This,dRate)    \
  7477.     (This)->lpVtbl -> put_Rate(This,dRate)
  7478.  
  7479. #define IAMovie_get_Rate(This,pdRate)    \
  7480.     (This)->lpVtbl -> get_Rate(This,pdRate)
  7481.  
  7482. #define IAMovie_RemoveAllFilters(This)    \
  7483.     (This)->lpVtbl -> RemoveAllFilters(This)
  7484.  
  7485. #define IAMovie_Play(This)    \
  7486.     (This)->lpVtbl -> Play(This)
  7487.  
  7488. #define IAMovie_PlayFile(This,strFilename)    \
  7489.     (This)->lpVtbl -> PlayFile(This,strFilename)
  7490.  
  7491. #define IAMovie_EnumFiltersByInterface(This,riid,ppEnum)    \
  7492.     (This)->lpVtbl -> EnumFiltersByInterface(This,riid,ppEnum)
  7493.  
  7494. #define IAMovie_EnumPins(This,ppEnum)    \
  7495.     (This)->lpVtbl -> EnumPins(This,ppEnum)
  7496.  
  7497. #define IAMovie_EnumPinsIn(This,ppEnum)    \
  7498.     (This)->lpVtbl -> EnumPinsIn(This,ppEnum)
  7499.  
  7500. #define IAMovie_EnumPinsOut(This,ppEnum)    \
  7501.     (This)->lpVtbl -> EnumPinsOut(This,ppEnum)
  7502.  
  7503. #define IAMovie_RenderAll(This)    \
  7504.     (This)->lpVtbl -> RenderAll(This)
  7505.  
  7506. #define IAMovie_RenderNewFile(This,strFilename)    \
  7507.     (This)->lpVtbl -> RenderNewFile(This,strFilename)
  7508.  
  7509. #endif /* COBJMACROS */
  7510.  
  7511.  
  7512. #endif     /* C style interface */
  7513.  
  7514.  
  7515.  
  7516. HRESULT __stdcall IAMovie_Connect_Proxy( 
  7517.     IAMovie __RPC_FAR * This,
  7518.     /* [in] */ IPin __RPC_FAR *ppinOut,
  7519.     /* [in] */ IPin __RPC_FAR *ppinIn);
  7520.  
  7521.  
  7522. void __RPC_STUB IAMovie_Connect_Stub(
  7523.     IRpcStubBuffer *This,
  7524.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7525.     PRPC_MESSAGE _pRpcMessage,
  7526.     DWORD *_pdwStubPhase);
  7527.  
  7528.  
  7529. HRESULT __stdcall IAMovie_Render_Proxy( 
  7530.     IAMovie __RPC_FAR * This,
  7531.     /* [in] */ IPin __RPC_FAR *ppinOut);
  7532.  
  7533.  
  7534. void __RPC_STUB IAMovie_Render_Stub(
  7535.     IRpcStubBuffer *This,
  7536.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7537.     PRPC_MESSAGE _pRpcMessage,
  7538.     DWORD *_pdwStubPhase);
  7539.  
  7540.  
  7541. HRESULT __stdcall IAMovie_Run_Proxy( 
  7542.     IAMovie __RPC_FAR * This);
  7543.  
  7544.  
  7545. void __RPC_STUB IAMovie_Run_Stub(
  7546.     IRpcStubBuffer *This,
  7547.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7548.     PRPC_MESSAGE _pRpcMessage,
  7549.     DWORD *_pdwStubPhase);
  7550.  
  7551.  
  7552. HRESULT __stdcall IAMovie_Pause_Proxy( 
  7553.     IAMovie __RPC_FAR * This);
  7554.  
  7555.  
  7556. void __RPC_STUB IAMovie_Pause_Stub(
  7557.     IRpcStubBuffer *This,
  7558.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7559.     PRPC_MESSAGE _pRpcMessage,
  7560.     DWORD *_pdwStubPhase);
  7561.  
  7562.  
  7563. HRESULT __stdcall IAMovie_Stop_Proxy( 
  7564.     IAMovie __RPC_FAR * This);
  7565.  
  7566.  
  7567. void __RPC_STUB IAMovie_Stop_Stub(
  7568.     IRpcStubBuffer *This,
  7569.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7570.     PRPC_MESSAGE _pRpcMessage,
  7571.     DWORD *_pdwStubPhase);
  7572.  
  7573.  
  7574. HRESULT __stdcall IAMovie_GetState_Proxy( 
  7575.     IAMovie __RPC_FAR * This,
  7576.     /* [in] */ LONG msTimeout,
  7577.     /* [out] */ FILTER_STATE __RPC_FAR *pfs);
  7578.  
  7579.  
  7580. void __RPC_STUB IAMovie_GetState_Stub(
  7581.     IRpcStubBuffer *This,
  7582.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7583.     PRPC_MESSAGE _pRpcMessage,
  7584.     DWORD *_pdwStubPhase);
  7585.  
  7586.  
  7587. HRESULT __stdcall IAMovie_RenderFile_Proxy( 
  7588.     IAMovie __RPC_FAR * This,
  7589.     /* [in] */ LPCWSTR strFilename);
  7590.  
  7591.  
  7592. void __RPC_STUB IAMovie_RenderFile_Stub(
  7593.     IRpcStubBuffer *This,
  7594.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7595.     PRPC_MESSAGE _pRpcMessage,
  7596.     DWORD *_pdwStubPhase);
  7597.  
  7598.  
  7599. HRESULT __stdcall IAMovie_AddSourceFilter_Proxy( 
  7600.     IAMovie __RPC_FAR * This,
  7601.     /* [in] */ LPCWSTR strFilename,
  7602.     /* [out] */ IFilter __RPC_FAR *__RPC_FAR *ppUnk);
  7603.  
  7604.  
  7605. void __RPC_STUB IAMovie_AddSourceFilter_Stub(
  7606.     IRpcStubBuffer *This,
  7607.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7608.     PRPC_MESSAGE _pRpcMessage,
  7609.     DWORD *_pdwStubPhase);
  7610.  
  7611.  
  7612. HRESULT __stdcall IAMovie_GetEventHandle_Proxy( 
  7613.     IAMovie __RPC_FAR * This,
  7614.     /* [out] */ HEVENT __RPC_FAR *hEvent);
  7615.  
  7616.  
  7617. void __RPC_STUB IAMovie_GetEventHandle_Stub(
  7618.     IRpcStubBuffer *This,
  7619.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7620.     PRPC_MESSAGE _pRpcMessage,
  7621.     DWORD *_pdwStubPhase);
  7622.  
  7623.  
  7624. HRESULT __stdcall IAMovie_GetEvent_Proxy( 
  7625.     IAMovie __RPC_FAR * This,
  7626.     /* [out] */ long __RPC_FAR *lEventCode,
  7627.     /* [out] */ long __RPC_FAR *lParam1,
  7628.     /* [out] */ long __RPC_FAR *lParam2,
  7629.     /* [in] */ long msTimeout);
  7630.  
  7631.  
  7632. void __RPC_STUB IAMovie_GetEvent_Stub(
  7633.     IRpcStubBuffer *This,
  7634.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7635.     PRPC_MESSAGE _pRpcMessage,
  7636.     DWORD *_pdwStubPhase);
  7637.  
  7638.  
  7639. HRESULT __stdcall IAMovie_WaitForCompletion_Proxy( 
  7640.     IAMovie __RPC_FAR * This,
  7641.     /* [in] */ long msTimeout,
  7642.     /* [out] */ long __RPC_FAR *pEvCode);
  7643.  
  7644.  
  7645. void __RPC_STUB IAMovie_WaitForCompletion_Stub(
  7646.     IRpcStubBuffer *This,
  7647.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7648.     PRPC_MESSAGE _pRpcMessage,
  7649.     DWORD *_pdwStubPhase);
  7650.  
  7651.  
  7652. HRESULT __stdcall IAMovie_CancelDefaultHandling_Proxy( 
  7653.     IAMovie __RPC_FAR * This,
  7654.     /* [in] */ long lEvCode);
  7655.  
  7656.  
  7657. void __RPC_STUB IAMovie_CancelDefaultHandling_Stub(
  7658.     IRpcStubBuffer *This,
  7659.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7660.     PRPC_MESSAGE _pRpcMessage,
  7661.     DWORD *_pdwStubPhase);
  7662.  
  7663.  
  7664. HRESULT __stdcall IAMovie_RestoreDefaultHandling_Proxy( 
  7665.     IAMovie __RPC_FAR * This,
  7666.     /* [in] */ long lEvCode);
  7667.  
  7668.  
  7669. void __RPC_STUB IAMovie_RestoreDefaultHandling_Stub(
  7670.     IRpcStubBuffer *This,
  7671.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7672.     PRPC_MESSAGE _pRpcMessage,
  7673.     DWORD *_pdwStubPhase);
  7674.  
  7675.  
  7676. HRESULT __stdcall IAMovie_get_Duration_Proxy( 
  7677.     IAMovie __RPC_FAR * This,
  7678.     /* [out] */ REFTIME __RPC_FAR *plength);
  7679.  
  7680.  
  7681. void __RPC_STUB IAMovie_get_Duration_Stub(
  7682.     IRpcStubBuffer *This,
  7683.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7684.     PRPC_MESSAGE _pRpcMessage,
  7685.     DWORD *_pdwStubPhase);
  7686.  
  7687.  
  7688. HRESULT __stdcall IAMovie_put_CurrentPosition_Proxy( 
  7689.     IAMovie __RPC_FAR * This,
  7690.     /* [in] */ REFTIME llTime);
  7691.  
  7692.  
  7693. void __RPC_STUB IAMovie_put_CurrentPosition_Stub(
  7694.     IRpcStubBuffer *This,
  7695.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7696.     PRPC_MESSAGE _pRpcMessage,
  7697.     DWORD *_pdwStubPhase);
  7698.  
  7699.  
  7700. HRESULT __stdcall IAMovie_get_CurrentPosition_Proxy( 
  7701.     IAMovie __RPC_FAR * This,
  7702.     /* [out] */ REFTIME __RPC_FAR *pllTime);
  7703.  
  7704.  
  7705. void __RPC_STUB IAMovie_get_CurrentPosition_Stub(
  7706.     IRpcStubBuffer *This,
  7707.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7708.     PRPC_MESSAGE _pRpcMessage,
  7709.     DWORD *_pdwStubPhase);
  7710.  
  7711.  
  7712. HRESULT __stdcall IAMovie_get_StopTime_Proxy( 
  7713.     IAMovie __RPC_FAR * This,
  7714.     /* [out] */ REFTIME __RPC_FAR *pllTime);
  7715.  
  7716.  
  7717. void __RPC_STUB IAMovie_get_StopTime_Stub(
  7718.     IRpcStubBuffer *This,
  7719.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7720.     PRPC_MESSAGE _pRpcMessage,
  7721.     DWORD *_pdwStubPhase);
  7722.  
  7723.  
  7724. HRESULT __stdcall IAMovie_put_StopTime_Proxy( 
  7725.     IAMovie __RPC_FAR * This,
  7726.     /* [in] */ REFTIME llTime);
  7727.  
  7728.  
  7729. void __RPC_STUB IAMovie_put_StopTime_Stub(
  7730.     IRpcStubBuffer *This,
  7731.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7732.     PRPC_MESSAGE _pRpcMessage,
  7733.     DWORD *_pdwStubPhase);
  7734.  
  7735.  
  7736. HRESULT __stdcall IAMovie_get_PrerollTime_Proxy( 
  7737.     IAMovie __RPC_FAR * This,
  7738.     /* [out] */ REFTIME __RPC_FAR *pllTime);
  7739.  
  7740.  
  7741. void __RPC_STUB IAMovie_get_PrerollTime_Stub(
  7742.     IRpcStubBuffer *This,
  7743.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7744.     PRPC_MESSAGE _pRpcMessage,
  7745.     DWORD *_pdwStubPhase);
  7746.  
  7747.  
  7748. HRESULT __stdcall IAMovie_put_PrerollTime_Proxy( 
  7749.     IAMovie __RPC_FAR * This,
  7750.     /* [in] */ REFTIME llTime);
  7751.  
  7752.  
  7753. void __RPC_STUB IAMovie_put_PrerollTime_Stub(
  7754.     IRpcStubBuffer *This,
  7755.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7756.     PRPC_MESSAGE _pRpcMessage,
  7757.     DWORD *_pdwStubPhase);
  7758.  
  7759.  
  7760. HRESULT __stdcall IAMovie_put_Rate_Proxy( 
  7761.     IAMovie __RPC_FAR * This,
  7762.     /* [in] */ double dRate);
  7763.  
  7764.  
  7765. void __RPC_STUB IAMovie_put_Rate_Stub(
  7766.     IRpcStubBuffer *This,
  7767.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7768.     PRPC_MESSAGE _pRpcMessage,
  7769.     DWORD *_pdwStubPhase);
  7770.  
  7771.  
  7772. HRESULT __stdcall IAMovie_get_Rate_Proxy( 
  7773.     IAMovie __RPC_FAR * This,
  7774.     /* [out] */ double __RPC_FAR *pdRate);
  7775.  
  7776.  
  7777. void __RPC_STUB IAMovie_get_Rate_Stub(
  7778.     IRpcStubBuffer *This,
  7779.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7780.     PRPC_MESSAGE _pRpcMessage,
  7781.     DWORD *_pdwStubPhase);
  7782.  
  7783.  
  7784. HRESULT __stdcall IAMovie_RemoveAllFilters_Proxy( 
  7785.     IAMovie __RPC_FAR * This);
  7786.  
  7787.  
  7788. void __RPC_STUB IAMovie_RemoveAllFilters_Stub(
  7789.     IRpcStubBuffer *This,
  7790.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7791.     PRPC_MESSAGE _pRpcMessage,
  7792.     DWORD *_pdwStubPhase);
  7793.  
  7794.  
  7795. HRESULT __stdcall IAMovie_Play_Proxy( 
  7796.     IAMovie __RPC_FAR * This);
  7797.  
  7798.  
  7799. void __RPC_STUB IAMovie_Play_Stub(
  7800.     IRpcStubBuffer *This,
  7801.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7802.     PRPC_MESSAGE _pRpcMessage,
  7803.     DWORD *_pdwStubPhase);
  7804.  
  7805.  
  7806. HRESULT __stdcall IAMovie_PlayFile_Proxy( 
  7807.     IAMovie __RPC_FAR * This,
  7808.     /* [in] */ LPCWSTR strFilename);
  7809.  
  7810.  
  7811. void __RPC_STUB IAMovie_PlayFile_Stub(
  7812.     IRpcStubBuffer *This,
  7813.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7814.     PRPC_MESSAGE _pRpcMessage,
  7815.     DWORD *_pdwStubPhase);
  7816.  
  7817.  
  7818. HRESULT __stdcall IAMovie_EnumFiltersByInterface_Proxy( 
  7819.     IAMovie __RPC_FAR * This,
  7820.     /* [in] */ REFIID riid,
  7821.     /* [out] */ IEnumFilters __RPC_FAR *__RPC_FAR *ppEnum);
  7822.  
  7823.  
  7824. void __RPC_STUB IAMovie_EnumFiltersByInterface_Stub(
  7825.     IRpcStubBuffer *This,
  7826.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7827.     PRPC_MESSAGE _pRpcMessage,
  7828.     DWORD *_pdwStubPhase);
  7829.  
  7830.  
  7831. HRESULT __stdcall IAMovie_EnumPins_Proxy( 
  7832.     IAMovie __RPC_FAR * This,
  7833.     /* [out] */ IEnumPins __RPC_FAR *__RPC_FAR *ppEnum);
  7834.  
  7835.  
  7836. void __RPC_STUB IAMovie_EnumPins_Stub(
  7837.     IRpcStubBuffer *This,
  7838.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7839.     PRPC_MESSAGE _pRpcMessage,
  7840.     DWORD *_pdwStubPhase);
  7841.  
  7842.  
  7843. HRESULT __stdcall IAMovie_EnumPinsIn_Proxy( 
  7844.     IAMovie __RPC_FAR * This,
  7845.     /* [out] */ IEnumPins __RPC_FAR *__RPC_FAR *ppEnum);
  7846.  
  7847.  
  7848. void __RPC_STUB IAMovie_EnumPinsIn_Stub(
  7849.     IRpcStubBuffer *This,
  7850.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7851.     PRPC_MESSAGE _pRpcMessage,
  7852.     DWORD *_pdwStubPhase);
  7853.  
  7854.  
  7855. HRESULT __stdcall IAMovie_EnumPinsOut_Proxy( 
  7856.     IAMovie __RPC_FAR * This,
  7857.     /* [out] */ IEnumPins __RPC_FAR *__RPC_FAR *ppEnum);
  7858.  
  7859.  
  7860. void __RPC_STUB IAMovie_EnumPinsOut_Stub(
  7861.     IRpcStubBuffer *This,
  7862.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7863.     PRPC_MESSAGE _pRpcMessage,
  7864.     DWORD *_pdwStubPhase);
  7865.  
  7866.  
  7867. HRESULT __stdcall IAMovie_RenderAll_Proxy( 
  7868.     IAMovie __RPC_FAR * This);
  7869.  
  7870.  
  7871. void __RPC_STUB IAMovie_RenderAll_Stub(
  7872.     IRpcStubBuffer *This,
  7873.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7874.     PRPC_MESSAGE _pRpcMessage,
  7875.     DWORD *_pdwStubPhase);
  7876.  
  7877.  
  7878. HRESULT __stdcall IAMovie_RenderNewFile_Proxy( 
  7879.     IAMovie __RPC_FAR * This,
  7880.     /* [in] */ LPCWSTR strFilename);
  7881.  
  7882.  
  7883. void __RPC_STUB IAMovie_RenderNewFile_Stub(
  7884.     IRpcStubBuffer *This,
  7885.     IRpcChannelBuffer *_pRpcChannelBuffer,
  7886.     PRPC_MESSAGE _pRpcMessage,
  7887.     DWORD *_pdwStubPhase);
  7888.  
  7889.  
  7890.  
  7891. #endif     /* __IAMovie_INTERFACE_DEFINED__ */
  7892.  
  7893.  
  7894. /****************************************
  7895.  * Generated header for interface: __MIDL__intf_0073
  7896.  * at Wed Jun 26 01:38:28 1996
  7897.  * using MIDL 2.00.0102
  7898.  ****************************************/
  7899. /* [local] */ 
  7900.  
  7901.  
  7902. #pragma warning(default: 4152 4209 4211 4214 4310 4514)
  7903.  
  7904.  
  7905.  
  7906. extern RPC_IF_HANDLE __MIDL__intf_0073_v0_0_c_ifspec;
  7907. extern RPC_IF_HANDLE __MIDL__intf_0073_v0_0_s_ifspec;
  7908.  
  7909. /* Additional Prototypes for ALL interfaces */
  7910.  
  7911. /* end of Additional Prototypes */
  7912.  
  7913. #ifdef __cplusplus
  7914. }
  7915. #endif
  7916.  
  7917. #endif
  7918.