home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 May / PCFMay2001.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / irtpsph.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  10.2 KB  |  330 lines

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