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