home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / irtpsph.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  10KB  |  332 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 3.03.0110 */
  5. /* at Tue Sep 09 20:18:10 1997
  6.  */
  7. /* Compiler settings for irtpsph.idl:
  8.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: none
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12.  
  13.  
  14. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  15. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  16. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  17. #endif
  18.  
  19. #include "rpc.h"
  20. #include "rpcndr.h"
  21.  
  22. #ifndef __RPCNDR_H_VERSION__
  23. #error this stub requires an updated version of <rpcndr.h>
  24. #endif // __RPCNDR_H_VERSION__
  25.  
  26. #ifndef COM_NO_WINDOWS_H
  27. #include "windows.h"
  28. #include "ole2.h"
  29. #endif /*COM_NO_WINDOWS_H*/
  30.  
  31. #ifndef __irtpsph_h__
  32. #define __irtpsph_h__
  33.  
  34. #ifdef __cplusplus
  35. extern "C"{
  36. #endif 
  37.  
  38. /* Forward Declarations */ 
  39.  
  40. #ifndef __IRTPSPHFilter_FWD_DEFINED__
  41. #define __IRTPSPHFilter_FWD_DEFINED__
  42. typedef interface IRTPSPHFilter IRTPSPHFilter;
  43. #endif     /* __IRTPSPHFilter_FWD_DEFINED__ */
  44.  
  45.  
  46. /* header files for imported files */
  47. #include "oaidl.h"
  48. #include "strmif.h"
  49.  
  50. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  51. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  52.  
  53. #ifndef __IRTPSPHFilter_INTERFACE_DEFINED__
  54. #define __IRTPSPHFilter_INTERFACE_DEFINED__
  55.  
  56. /****************************************
  57.  * Generated header for interface: IRTPSPHFilter
  58.  * at Tue Sep 09 20:18:10 1997
  59.  * using MIDL 3.03.0110
  60.  ****************************************/
  61. /* [unique][helpstring][local][uuid][object] */ 
  62.  
  63.  
  64.  
  65. EXTERN_C const IID IID_IRTPSPHFilter;
  66.  
  67. #if defined(__cplusplus) && !defined(CINTERFACE)
  68.     
  69.     MIDL_INTERFACE("D5284681-B680-11d0-9643-00AA00A89C1D")
  70.     IRTPSPHFilter : public IUnknown
  71.     {
  72.     public:
  73.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE OverridePayloadType( 
  74.             /* [in] */ BYTE bPayloadType) = 0;
  75.         
  76.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetPayloadType( 
  77.             /* [out] */ BYTE __RPC_FAR *lpbPayloadType) = 0;
  78.         
  79.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetMaxPacketSize( 
  80.             /* [in] */ DWORD dwMaxPacketSize) = 0;
  81.         
  82.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetMaxPacketSize( 
  83.             /* [out] */ LPDWORD lpdwMaxPacketSize) = 0;
  84.         
  85.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetOutputPinMinorType( 
  86.             /* [in] */ GUID gMinorType) = 0;
  87.         
  88.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetOutputPinMinorType( 
  89.             /* [out] */ GUID __RPC_FAR *lpgMinorType) = 0;
  90.         
  91.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetInputPinMediaType( 
  92.             /* [in] */ AM_MEDIA_TYPE __RPC_FAR *lpMediaPinType) = 0;
  93.         
  94.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetInputPinMediaType( 
  95.             /* [out] */ AM_MEDIA_TYPE __RPC_FAR *__RPC_FAR *ppMediaPinType) = 0;
  96.         
  97.     };
  98.     
  99. #else     /* C style interface */
  100.  
  101.     typedef struct IRTPSPHFilterVtbl
  102.     {
  103.         BEGIN_INTERFACE
  104.         
  105.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  106.             IRTPSPHFilter __RPC_FAR * This,
  107.             /* [in] */ REFIID riid,
  108.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  109.         
  110.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  111.             IRTPSPHFilter __RPC_FAR * This);
  112.         
  113.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  114.             IRTPSPHFilter __RPC_FAR * This);
  115.         
  116.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OverridePayloadType )( 
  117.             IRTPSPHFilter __RPC_FAR * This,
  118.             /* [in] */ BYTE bPayloadType);
  119.         
  120.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPayloadType )( 
  121.             IRTPSPHFilter __RPC_FAR * This,
  122.             /* [out] */ BYTE __RPC_FAR *lpbPayloadType);
  123.         
  124.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetMaxPacketSize )( 
  125.             IRTPSPHFilter __RPC_FAR * This,
  126.             /* [in] */ DWORD dwMaxPacketSize);
  127.         
  128.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMaxPacketSize )( 
  129.             IRTPSPHFilter __RPC_FAR * This,
  130.             /* [out] */ LPDWORD lpdwMaxPacketSize);
  131.         
  132.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetOutputPinMinorType )( 
  133.             IRTPSPHFilter __RPC_FAR * This,
  134.             /* [in] */ GUID gMinorType);
  135.         
  136.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetOutputPinMinorType )( 
  137.             IRTPSPHFilter __RPC_FAR * This,
  138.             /* [out] */ GUID __RPC_FAR *lpgMinorType);
  139.         
  140.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetInputPinMediaType )( 
  141.             IRTPSPHFilter __RPC_FAR * This,
  142.             /* [in] */ AM_MEDIA_TYPE __RPC_FAR *lpMediaPinType);
  143.         
  144.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetInputPinMediaType )( 
  145.             IRTPSPHFilter __RPC_FAR * This,
  146.             /* [out] */ AM_MEDIA_TYPE __RPC_FAR *__RPC_FAR *ppMediaPinType);
  147.         
  148.         END_INTERFACE
  149.     } IRTPSPHFilterVtbl;
  150.  
  151.     interface IRTPSPHFilter
  152.     {
  153.         CONST_VTBL struct IRTPSPHFilterVtbl __RPC_FAR *lpVtbl;
  154.     };
  155.  
  156.     
  157.  
  158. #ifdef COBJMACROS
  159.  
  160.  
  161. #define IRTPSPHFilter_QueryInterface(This,riid,ppvObject)    \
  162.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  163.  
  164. #define IRTPSPHFilter_AddRef(This)    \
  165.     (This)->lpVtbl -> AddRef(This)
  166.  
  167. #define IRTPSPHFilter_Release(This)    \
  168.     (This)->lpVtbl -> Release(This)
  169.  
  170.  
  171. #define IRTPSPHFilter_OverridePayloadType(This,bPayloadType)    \
  172.     (This)->lpVtbl -> OverridePayloadType(This,bPayloadType)
  173.  
  174. #define IRTPSPHFilter_GetPayloadType(This,lpbPayloadType)    \
  175.     (This)->lpVtbl -> GetPayloadType(This,lpbPayloadType)
  176.  
  177. #define IRTPSPHFilter_SetMaxPacketSize(This,dwMaxPacketSize)    \
  178.     (This)->lpVtbl -> SetMaxPacketSize(This,dwMaxPacketSize)
  179.  
  180. #define IRTPSPHFilter_GetMaxPacketSize(This,lpdwMaxPacketSize)    \
  181.     (This)->lpVtbl -> GetMaxPacketSize(This,lpdwMaxPacketSize)
  182.  
  183. #define IRTPSPHFilter_SetOutputPinMinorType(This,gMinorType)    \
  184.     (This)->lpVtbl -> SetOutputPinMinorType(This,gMinorType)
  185.  
  186. #define IRTPSPHFilter_GetOutputPinMinorType(This,lpgMinorType)    \
  187.     (This)->lpVtbl -> GetOutputPinMinorType(This,lpgMinorType)
  188.  
  189. #define IRTPSPHFilter_SetInputPinMediaType(This,lpMediaPinType)    \
  190.     (This)->lpVtbl -> SetInputPinMediaType(This,lpMediaPinType)
  191.  
  192. #define IRTPSPHFilter_GetInputPinMediaType(This,ppMediaPinType)    \
  193.     (This)->lpVtbl -> GetInputPinMediaType(This,ppMediaPinType)
  194.  
  195. #endif /* COBJMACROS */
  196.  
  197.  
  198. #endif     /* C style interface */
  199.  
  200.  
  201.  
  202. /* [id] */ HRESULT STDMETHODCALLTYPE IRTPSPHFilter_OverridePayloadType_Proxy( 
  203.     IRTPSPHFilter __RPC_FAR * This,
  204.     /* [in] */ BYTE bPayloadType);
  205.  
  206.  
  207. void __RPC_STUB IRTPSPHFilter_OverridePayloadType_Stub(
  208.     IRpcStubBuffer *This,
  209.     IRpcChannelBuffer *_pRpcChannelBuffer,
  210.     PRPC_MESSAGE _pRpcMessage,
  211.     DWORD *_pdwStubPhase);
  212.  
  213.  
  214. /* [id] */ HRESULT STDMETHODCALLTYPE IRTPSPHFilter_GetPayloadType_Proxy( 
  215.     IRTPSPHFilter __RPC_FAR * This,
  216.     /* [out] */ BYTE __RPC_FAR *lpbPayloadType);
  217.  
  218.  
  219. void __RPC_STUB IRTPSPHFilter_GetPayloadType_Stub(
  220.     IRpcStubBuffer *This,
  221.     IRpcChannelBuffer *_pRpcChannelBuffer,
  222.     PRPC_MESSAGE _pRpcMessage,
  223.     DWORD *_pdwStubPhase);
  224.  
  225.  
  226. /* [id] */ HRESULT STDMETHODCALLTYPE IRTPSPHFilter_SetMaxPacketSize_Proxy( 
  227.     IRTPSPHFilter __RPC_FAR * This,
  228.     /* [in] */ DWORD dwMaxPacketSize);
  229.  
  230.  
  231. void __RPC_STUB IRTPSPHFilter_SetMaxPacketSize_Stub(
  232.     IRpcStubBuffer *This,
  233.     IRpcChannelBuffer *_pRpcChannelBuffer,
  234.     PRPC_MESSAGE _pRpcMessage,
  235.     DWORD *_pdwStubPhase);
  236.  
  237.  
  238. /* [id] */ HRESULT STDMETHODCALLTYPE IRTPSPHFilter_GetMaxPacketSize_Proxy( 
  239.     IRTPSPHFilter __RPC_FAR * This,
  240.     /* [out] */ LPDWORD lpdwMaxPacketSize);
  241.  
  242.  
  243. void __RPC_STUB IRTPSPHFilter_GetMaxPacketSize_Stub(
  244.     IRpcStubBuffer *This,
  245.     IRpcChannelBuffer *_pRpcChannelBuffer,
  246.     PRPC_MESSAGE _pRpcMessage,
  247.     DWORD *_pdwStubPhase);
  248.  
  249.  
  250. /* [id] */ HRESULT STDMETHODCALLTYPE IRTPSPHFilter_SetOutputPinMinorType_Proxy( 
  251.     IRTPSPHFilter __RPC_FAR * This,
  252.     /* [in] */ GUID gMinorType);
  253.  
  254.  
  255. void __RPC_STUB IRTPSPHFilter_SetOutputPinMinorType_Stub(
  256.     IRpcStubBuffer *This,
  257.     IRpcChannelBuffer *_pRpcChannelBuffer,
  258.     PRPC_MESSAGE _pRpcMessage,
  259.     DWORD *_pdwStubPhase);
  260.  
  261.  
  262. /* [id] */ HRESULT STDMETHODCALLTYPE IRTPSPHFilter_GetOutputPinMinorType_Proxy( 
  263.     IRTPSPHFilter __RPC_FAR * This,
  264.     /* [out] */ GUID __RPC_FAR *lpgMinorType);
  265.  
  266.  
  267. void __RPC_STUB IRTPSPHFilter_GetOutputPinMinorType_Stub(
  268.     IRpcStubBuffer *This,
  269.     IRpcChannelBuffer *_pRpcChannelBuffer,
  270.     PRPC_MESSAGE _pRpcMessage,
  271.     DWORD *_pdwStubPhase);
  272.  
  273.  
  274. /* [id] */ HRESULT STDMETHODCALLTYPE IRTPSPHFilter_SetInputPinMediaType_Proxy( 
  275.     IRTPSPHFilter __RPC_FAR * This,
  276.     /* [in] */ AM_MEDIA_TYPE __RPC_FAR *lpMediaPinType);
  277.  
  278.  
  279. void __RPC_STUB IRTPSPHFilter_SetInputPinMediaType_Stub(
  280.     IRpcStubBuffer *This,
  281.     IRpcChannelBuffer *_pRpcChannelBuffer,
  282.     PRPC_MESSAGE _pRpcMessage,
  283.     DWORD *_pdwStubPhase);
  284.  
  285.  
  286. /* [id] */ HRESULT STDMETHODCALLTYPE IRTPSPHFilter_GetInputPinMediaType_Proxy( 
  287.     IRTPSPHFilter __RPC_FAR * This,
  288.     /* [out] */ AM_MEDIA_TYPE __RPC_FAR *__RPC_FAR *ppMediaPinType);
  289.  
  290.  
  291. void __RPC_STUB IRTPSPHFilter_GetInputPinMediaType_Stub(
  292.     IRpcStubBuffer *This,
  293.     IRpcChannelBuffer *_pRpcChannelBuffer,
  294.     PRPC_MESSAGE _pRpcMessage,
  295.     DWORD *_pdwStubPhase);
  296.  
  297.  
  298.  
  299. #endif     /* __IRTPSPHFilter_INTERFACE_DEFINED__ */
  300.  
  301.  
  302. /****************************************
  303.  * Generated header for interface: __MIDL_itf_irtpsph_0295
  304.  * at Tue Sep 09 20:18:10 1997
  305.  * using MIDL 3.03.0110
  306.  ****************************************/
  307. /* [local] */ 
  308.  
  309.  
  310. EXTERN_C const CLSID CLSID_INTEL_SPHH26X;
  311. EXTERN_C const CLSID CLSID_INTEL_SPHAUD;
  312. EXTERN_C const CLSID CLSID_INTEL_SPHGENA;
  313. EXTERN_C const CLSID CLSID_INTEL_SPHGENV;
  314. EXTERN_C const CLSID CLSID_INTEL_SPHAUD_PROPPAGE;
  315. EXTERN_C const CLSID CLSID_INTEL_SPHGENA_PROPPAGE;
  316. EXTERN_C const CLSID CLSID_INTEL_SPHGENV_PROPPAGE;
  317. EXTERN_C const CLSID CLSID_INTEL_SPHH26X_PROPPAGE;
  318.  
  319.  
  320. extern RPC_IF_HANDLE __MIDL_itf_irtpsph_0295_v0_0_c_ifspec;
  321. extern RPC_IF_HANDLE __MIDL_itf_irtpsph_0295_v0_0_s_ifspec;
  322.  
  323. /* Additional Prototypes for ALL interfaces */
  324.  
  325. /* end of Additional Prototypes */
  326.  
  327. #ifdef __cplusplus
  328. }
  329. #endif
  330.  
  331. #endif
  332.