home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 November / Chip_2002-11_cd1.bin / zkuste / vbasic / Data / Utils / WME71SDK.exe / RCDATA / CABINET / localagent.h < prev    next >
C/C++ Source or Header  |  2001-05-01  |  21KB  |  565 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 5.01.0164 */
  5. /* at Tue May 01 15:52:33 2001
  6.  */
  7. /* Compiler settings for .\localagent.idl:
  8.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: allocation ref bounds_check enum stub_data 
  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 __localagent_h__
  32. #define __localagent_h__
  33.  
  34. #ifdef __cplusplus
  35. extern "C"{
  36. #endif 
  37.  
  38. /* Forward Declarations */ 
  39.  
  40. #ifndef __IWMEncoderNamesCollection_FWD_DEFINED__
  41. #define __IWMEncoderNamesCollection_FWD_DEFINED__
  42. typedef interface IWMEncoderNamesCollection IWMEncoderNamesCollection;
  43. #endif     /* __IWMEncoderNamesCollection_FWD_DEFINED__ */
  44.  
  45.  
  46. #ifndef __IWMEncoderAgent_FWD_DEFINED__
  47. #define __IWMEncoderAgent_FWD_DEFINED__
  48. typedef interface IWMEncoderAgent IWMEncoderAgent;
  49. #endif     /* __IWMEncoderAgent_FWD_DEFINED__ */
  50.  
  51.  
  52. #ifndef __IWMEncoderNamesCollection_FWD_DEFINED__
  53. #define __IWMEncoderNamesCollection_FWD_DEFINED__
  54. typedef interface IWMEncoderNamesCollection IWMEncoderNamesCollection;
  55. #endif     /* __IWMEncoderNamesCollection_FWD_DEFINED__ */
  56.  
  57.  
  58. #ifndef __WMEncoderAgent_FWD_DEFINED__
  59. #define __WMEncoderAgent_FWD_DEFINED__
  60.  
  61. #ifdef __cplusplus
  62. typedef class WMEncoderAgent WMEncoderAgent;
  63. #else
  64. typedef struct WMEncoderAgent WMEncoderAgent;
  65. #endif /* __cplusplus */
  66.  
  67. #endif     /* __WMEncoderAgent_FWD_DEFINED__ */
  68.  
  69.  
  70. /* header files for imported files */
  71. #include "oaidl.h"
  72. #include "ocidl.h"
  73.  
  74. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  75. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  76.  
  77. /* interface __MIDL_itf_localagent_0000 */
  78. /* [local] */ 
  79.  
  80. EXTERN_GUID( CLSID_WMEncoderNamesCollection,    0xC728738A, 0xC81C, 0x4CDB, 0xBD, 0x92, 0x6B, 0x7A, 0xBF, 0x4C, 0xF3, 0xF0 );
  81. EXTERN_GUID( IID_IWMEncoderAgent,               0x00BB9AE0, 0xA7B8, 0x4966, 0x93, 0x7D, 0x6A, 0xED, 0x09, 0x2E, 0x7E, 0x4F );
  82. EXTERN_GUID( CLSID_WMEncoderAgent,              0xB6913798, 0x10BF, 0x430C, 0xA2, 0x6F, 0xE6, 0xDE, 0xE2, 0x2E, 0xB9, 0xBA );
  83. EXTERN_GUID( LIBID_WMEncAgtLib,                 0xD9655475, 0x53BD, 0x431C, 0xB2, 0x2F, 0xCC, 0x98, 0xBC, 0xE3, 0x30, 0x82 );
  84. EXTERN_GUID( IID_IWMEncoderNamesCollection,     0x8EE540F8, 0xDEF6, 0x4D3E, 0xA2, 0xC3, 0x22, 0x67, 0xB1, 0x0B, 0x7F, 0x54 );
  85.  
  86.  
  87. extern RPC_IF_HANDLE __MIDL_itf_localagent_0000_v0_0_c_ifspec;
  88. extern RPC_IF_HANDLE __MIDL_itf_localagent_0000_v0_0_s_ifspec;
  89.  
  90. #ifndef __IWMEncoderNamesCollection_INTERFACE_DEFINED__
  91. #define __IWMEncoderNamesCollection_INTERFACE_DEFINED__
  92.  
  93. /* interface IWMEncoderNamesCollection */
  94. /* [unique][helpstring][dual][uuid][object] */ 
  95.  
  96.  
  97. EXTERN_C const IID IID_IWMEncoderNamesCollection;
  98.  
  99. #if defined(__cplusplus) && !defined(CINTERFACE)
  100.     
  101.     MIDL_INTERFACE("8EE540F8-DEF6-4D3E-A2C3-2267B10B7F54")
  102.     IWMEncoderNamesCollection : public IDispatch
  103.     {
  104.     public:
  105.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_length( 
  106.             /* [retval][out] */ long __RPC_FAR *plCount) = 0;
  107.         
  108.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count( 
  109.             /* [retval][out] */ long __RPC_FAR *plCount) = 0;
  110.         
  111.         virtual /* [helpstring][id][restricted][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum( 
  112.             /* [retval][out] */ LPUNKNOWN __RPC_FAR *pIUnknown) = 0;
  113.         
  114.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Item( 
  115.             /* [in] */ long iIndex,
  116.             /* [retval][out] */ BSTR __RPC_FAR *pbstrValue) = 0;
  117.         
  118.     };
  119.     
  120. #else     /* C style interface */
  121.  
  122.     typedef struct IWMEncoderNamesCollectionVtbl
  123.     {
  124.         BEGIN_INTERFACE
  125.         
  126.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  127.             IWMEncoderNamesCollection __RPC_FAR * This,
  128.             /* [in] */ REFIID riid,
  129.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  130.         
  131.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  132.             IWMEncoderNamesCollection __RPC_FAR * This);
  133.         
  134.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  135.             IWMEncoderNamesCollection __RPC_FAR * This);
  136.         
  137.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  138.             IWMEncoderNamesCollection __RPC_FAR * This,
  139.             /* [out] */ UINT __RPC_FAR *pctinfo);
  140.         
  141.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  142.             IWMEncoderNamesCollection __RPC_FAR * This,
  143.             /* [in] */ UINT iTInfo,
  144.             /* [in] */ LCID lcid,
  145.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  146.         
  147.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  148.             IWMEncoderNamesCollection __RPC_FAR * This,
  149.             /* [in] */ REFIID riid,
  150.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  151.             /* [in] */ UINT cNames,
  152.             /* [in] */ LCID lcid,
  153.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  154.         
  155.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  156.             IWMEncoderNamesCollection __RPC_FAR * This,
  157.             /* [in] */ DISPID dispIdMember,
  158.             /* [in] */ REFIID riid,
  159.             /* [in] */ LCID lcid,
  160.             /* [in] */ WORD wFlags,
  161.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  162.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  163.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  164.             /* [out] */ UINT __RPC_FAR *puArgErr);
  165.         
  166.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_length )( 
  167.             IWMEncoderNamesCollection __RPC_FAR * This,
  168.             /* [retval][out] */ long __RPC_FAR *plCount);
  169.         
  170.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )( 
  171.             IWMEncoderNamesCollection __RPC_FAR * This,
  172.             /* [retval][out] */ long __RPC_FAR *plCount);
  173.         
  174.         /* [helpstring][id][restricted][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get__NewEnum )( 
  175.             IWMEncoderNamesCollection __RPC_FAR * This,
  176.             /* [retval][out] */ LPUNKNOWN __RPC_FAR *pIUnknown);
  177.         
  178.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Item )( 
  179.             IWMEncoderNamesCollection __RPC_FAR * This,
  180.             /* [in] */ long iIndex,
  181.             /* [retval][out] */ BSTR __RPC_FAR *pbstrValue);
  182.         
  183.         END_INTERFACE
  184.     } IWMEncoderNamesCollectionVtbl;
  185.  
  186.     interface IWMEncoderNamesCollection
  187.     {
  188.         CONST_VTBL struct IWMEncoderNamesCollectionVtbl __RPC_FAR *lpVtbl;
  189.     };
  190.  
  191.     
  192.  
  193. #ifdef COBJMACROS
  194.  
  195.  
  196. #define IWMEncoderNamesCollection_QueryInterface(This,riid,ppvObject)    \
  197.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  198.  
  199. #define IWMEncoderNamesCollection_AddRef(This)    \
  200.     (This)->lpVtbl -> AddRef(This)
  201.  
  202. #define IWMEncoderNamesCollection_Release(This)    \
  203.     (This)->lpVtbl -> Release(This)
  204.  
  205.  
  206. #define IWMEncoderNamesCollection_GetTypeInfoCount(This,pctinfo)    \
  207.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  208.  
  209. #define IWMEncoderNamesCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  210.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  211.  
  212. #define IWMEncoderNamesCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  213.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  214.  
  215. #define IWMEncoderNamesCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  216.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  217.  
  218.  
  219. #define IWMEncoderNamesCollection_get_length(This,plCount)    \
  220.     (This)->lpVtbl -> get_length(This,plCount)
  221.  
  222. #define IWMEncoderNamesCollection_get_Count(This,plCount)    \
  223.     (This)->lpVtbl -> get_Count(This,plCount)
  224.  
  225. #define IWMEncoderNamesCollection_get__NewEnum(This,pIUnknown)    \
  226.     (This)->lpVtbl -> get__NewEnum(This,pIUnknown)
  227.  
  228. #define IWMEncoderNamesCollection_Item(This,iIndex,pbstrValue)    \
  229.     (This)->lpVtbl -> Item(This,iIndex,pbstrValue)
  230.  
  231. #endif /* COBJMACROS */
  232.  
  233.  
  234. #endif     /* C style interface */
  235.  
  236.  
  237.  
  238. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IWMEncoderNamesCollection_get_length_Proxy( 
  239.     IWMEncoderNamesCollection __RPC_FAR * This,
  240.     /* [retval][out] */ long __RPC_FAR *plCount);
  241.  
  242.  
  243. void __RPC_STUB IWMEncoderNamesCollection_get_length_Stub(
  244.     IRpcStubBuffer *This,
  245.     IRpcChannelBuffer *_pRpcChannelBuffer,
  246.     PRPC_MESSAGE _pRpcMessage,
  247.     DWORD *_pdwStubPhase);
  248.  
  249.  
  250. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IWMEncoderNamesCollection_get_Count_Proxy( 
  251.     IWMEncoderNamesCollection __RPC_FAR * This,
  252.     /* [retval][out] */ long __RPC_FAR *plCount);
  253.  
  254.  
  255. void __RPC_STUB IWMEncoderNamesCollection_get_Count_Stub(
  256.     IRpcStubBuffer *This,
  257.     IRpcChannelBuffer *_pRpcChannelBuffer,
  258.     PRPC_MESSAGE _pRpcMessage,
  259.     DWORD *_pdwStubPhase);
  260.  
  261.  
  262. /* [helpstring][id][restricted][propget] */ HRESULT STDMETHODCALLTYPE IWMEncoderNamesCollection_get__NewEnum_Proxy( 
  263.     IWMEncoderNamesCollection __RPC_FAR * This,
  264.     /* [retval][out] */ LPUNKNOWN __RPC_FAR *pIUnknown);
  265.  
  266.  
  267. void __RPC_STUB IWMEncoderNamesCollection_get__NewEnum_Stub(
  268.     IRpcStubBuffer *This,
  269.     IRpcChannelBuffer *_pRpcChannelBuffer,
  270.     PRPC_MESSAGE _pRpcMessage,
  271.     DWORD *_pdwStubPhase);
  272.  
  273.  
  274. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMEncoderNamesCollection_Item_Proxy( 
  275.     IWMEncoderNamesCollection __RPC_FAR * This,
  276.     /* [in] */ long iIndex,
  277.     /* [retval][out] */ BSTR __RPC_FAR *pbstrValue);
  278.  
  279.  
  280. void __RPC_STUB IWMEncoderNamesCollection_Item_Stub(
  281.     IRpcStubBuffer *This,
  282.     IRpcChannelBuffer *_pRpcChannelBuffer,
  283.     PRPC_MESSAGE _pRpcMessage,
  284.     DWORD *_pdwStubPhase);
  285.  
  286.  
  287.  
  288. #endif     /* __IWMEncoderNamesCollection_INTERFACE_DEFINED__ */
  289.  
  290.  
  291. #ifndef __IWMEncoderAgent_INTERFACE_DEFINED__
  292. #define __IWMEncoderAgent_INTERFACE_DEFINED__
  293.  
  294. /* interface IWMEncoderAgent */
  295. /* [unique][helpstring][dual][uuid][object] */ 
  296.  
  297.  
  298. EXTERN_C const IID IID_IWMEncoderAgent;
  299.  
  300. #if defined(__cplusplus) && !defined(CINTERFACE)
  301.     
  302.     MIDL_INTERFACE("00BB9AE0-A7B8-4966-937D-6AED092E7E4F")
  303.     IWMEncoderAgent : public IDispatch
  304.     {
  305.     public:
  306.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateEncoder( 
  307.             /* [in] */ BSTR bstrEncoderName,
  308.             /* [optional][in] */ VARIANT varEncoderProgId,
  309.             /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDispApp) = 0;
  310.         
  311.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetEncoder( 
  312.             /* [in] */ BSTR name,
  313.             /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDispEncoder) = 0;
  314.         
  315.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EncoderNamesCollection( 
  316.             /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *pVal) = 0;
  317.         
  318.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Register( 
  319.             /* [in] */ BSTR bstrName,
  320.             /* [in] */ IDispatch __RPC_FAR *pUnkEncoder,
  321.             /* [retval][out] */ DWORD __RPC_FAR *pdwCookie) = 0;
  322.         
  323.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UnRegister( 
  324.             /* [in] */ DWORD dwCookie) = 0;
  325.         
  326.     };
  327.     
  328. #else     /* C style interface */
  329.  
  330.     typedef struct IWMEncoderAgentVtbl
  331.     {
  332.         BEGIN_INTERFACE
  333.         
  334.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  335.             IWMEncoderAgent __RPC_FAR * This,
  336.             /* [in] */ REFIID riid,
  337.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  338.         
  339.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  340.             IWMEncoderAgent __RPC_FAR * This);
  341.         
  342.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  343.             IWMEncoderAgent __RPC_FAR * This);
  344.         
  345.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  346.             IWMEncoderAgent __RPC_FAR * This,
  347.             /* [out] */ UINT __RPC_FAR *pctinfo);
  348.         
  349.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  350.             IWMEncoderAgent __RPC_FAR * This,
  351.             /* [in] */ UINT iTInfo,
  352.             /* [in] */ LCID lcid,
  353.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  354.         
  355.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  356.             IWMEncoderAgent __RPC_FAR * This,
  357.             /* [in] */ REFIID riid,
  358.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  359.             /* [in] */ UINT cNames,
  360.             /* [in] */ LCID lcid,
  361.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  362.         
  363.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  364.             IWMEncoderAgent __RPC_FAR * This,
  365.             /* [in] */ DISPID dispIdMember,
  366.             /* [in] */ REFIID riid,
  367.             /* [in] */ LCID lcid,
  368.             /* [in] */ WORD wFlags,
  369.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  370.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  371.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  372.             /* [out] */ UINT __RPC_FAR *puArgErr);
  373.         
  374.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateEncoder )( 
  375.             IWMEncoderAgent __RPC_FAR * This,
  376.             /* [in] */ BSTR bstrEncoderName,
  377.             /* [optional][in] */ VARIANT varEncoderProgId,
  378.             /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDispApp);
  379.         
  380.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEncoder )( 
  381.             IWMEncoderAgent __RPC_FAR * This,
  382.             /* [in] */ BSTR name,
  383.             /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDispEncoder);
  384.         
  385.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_EncoderNamesCollection )( 
  386.             IWMEncoderAgent __RPC_FAR * This,
  387.             /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *pVal);
  388.         
  389.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Register )( 
  390.             IWMEncoderAgent __RPC_FAR * This,
  391.             /* [in] */ BSTR bstrName,
  392.             /* [in] */ IDispatch __RPC_FAR *pUnkEncoder,
  393.             /* [retval][out] */ DWORD __RPC_FAR *pdwCookie);
  394.         
  395.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UnRegister )( 
  396.             IWMEncoderAgent __RPC_FAR * This,
  397.             /* [in] */ DWORD dwCookie);
  398.         
  399.         END_INTERFACE
  400.     } IWMEncoderAgentVtbl;
  401.  
  402.     interface IWMEncoderAgent
  403.     {
  404.         CONST_VTBL struct IWMEncoderAgentVtbl __RPC_FAR *lpVtbl;
  405.     };
  406.  
  407.     
  408.  
  409. #ifdef COBJMACROS
  410.  
  411.  
  412. #define IWMEncoderAgent_QueryInterface(This,riid,ppvObject)    \
  413.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  414.  
  415. #define IWMEncoderAgent_AddRef(This)    \
  416.     (This)->lpVtbl -> AddRef(This)
  417.  
  418. #define IWMEncoderAgent_Release(This)    \
  419.     (This)->lpVtbl -> Release(This)
  420.  
  421.  
  422. #define IWMEncoderAgent_GetTypeInfoCount(This,pctinfo)    \
  423.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  424.  
  425. #define IWMEncoderAgent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  426.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  427.  
  428. #define IWMEncoderAgent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  429.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  430.  
  431. #define IWMEncoderAgent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  432.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  433.  
  434.  
  435. #define IWMEncoderAgent_CreateEncoder(This,bstrEncoderName,varEncoderProgId,ppDispApp)    \
  436.     (This)->lpVtbl -> CreateEncoder(This,bstrEncoderName,varEncoderProgId,ppDispApp)
  437.  
  438. #define IWMEncoderAgent_GetEncoder(This,name,ppDispEncoder)    \
  439.     (This)->lpVtbl -> GetEncoder(This,name,ppDispEncoder)
  440.  
  441. #define IWMEncoderAgent_get_EncoderNamesCollection(This,pVal)    \
  442.     (This)->lpVtbl -> get_EncoderNamesCollection(This,pVal)
  443.  
  444. #define IWMEncoderAgent_Register(This,bstrName,pUnkEncoder,pdwCookie)    \
  445.     (This)->lpVtbl -> Register(This,bstrName,pUnkEncoder,pdwCookie)
  446.  
  447. #define IWMEncoderAgent_UnRegister(This,dwCookie)    \
  448.     (This)->lpVtbl -> UnRegister(This,dwCookie)
  449.  
  450. #endif /* COBJMACROS */
  451.  
  452.  
  453. #endif     /* C style interface */
  454.  
  455.  
  456.  
  457. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMEncoderAgent_CreateEncoder_Proxy( 
  458.     IWMEncoderAgent __RPC_FAR * This,
  459.     /* [in] */ BSTR bstrEncoderName,
  460.     /* [optional][in] */ VARIANT varEncoderProgId,
  461.     /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDispApp);
  462.  
  463.  
  464. void __RPC_STUB IWMEncoderAgent_CreateEncoder_Stub(
  465.     IRpcStubBuffer *This,
  466.     IRpcChannelBuffer *_pRpcChannelBuffer,
  467.     PRPC_MESSAGE _pRpcMessage,
  468.     DWORD *_pdwStubPhase);
  469.  
  470.  
  471. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMEncoderAgent_GetEncoder_Proxy( 
  472.     IWMEncoderAgent __RPC_FAR * This,
  473.     /* [in] */ BSTR name,
  474.     /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppDispEncoder);
  475.  
  476.  
  477. void __RPC_STUB IWMEncoderAgent_GetEncoder_Stub(
  478.     IRpcStubBuffer *This,
  479.     IRpcChannelBuffer *_pRpcChannelBuffer,
  480.     PRPC_MESSAGE _pRpcMessage,
  481.     DWORD *_pdwStubPhase);
  482.  
  483.  
  484. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IWMEncoderAgent_get_EncoderNamesCollection_Proxy( 
  485.     IWMEncoderAgent __RPC_FAR * This,
  486.     /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *pVal);
  487.  
  488.  
  489. void __RPC_STUB IWMEncoderAgent_get_EncoderNamesCollection_Stub(
  490.     IRpcStubBuffer *This,
  491.     IRpcChannelBuffer *_pRpcChannelBuffer,
  492.     PRPC_MESSAGE _pRpcMessage,
  493.     DWORD *_pdwStubPhase);
  494.  
  495.  
  496. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMEncoderAgent_Register_Proxy( 
  497.     IWMEncoderAgent __RPC_FAR * This,
  498.     /* [in] */ BSTR bstrName,
  499.     /* [in] */ IDispatch __RPC_FAR *pUnkEncoder,
  500.     /* [retval][out] */ DWORD __RPC_FAR *pdwCookie);
  501.  
  502.  
  503. void __RPC_STUB IWMEncoderAgent_Register_Stub(
  504.     IRpcStubBuffer *This,
  505.     IRpcChannelBuffer *_pRpcChannelBuffer,
  506.     PRPC_MESSAGE _pRpcMessage,
  507.     DWORD *_pdwStubPhase);
  508.  
  509.  
  510. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMEncoderAgent_UnRegister_Proxy( 
  511.     IWMEncoderAgent __RPC_FAR * This,
  512.     /* [in] */ DWORD dwCookie);
  513.  
  514.  
  515. void __RPC_STUB IWMEncoderAgent_UnRegister_Stub(
  516.     IRpcStubBuffer *This,
  517.     IRpcChannelBuffer *_pRpcChannelBuffer,
  518.     PRPC_MESSAGE _pRpcMessage,
  519.     DWORD *_pdwStubPhase);
  520.  
  521.  
  522.  
  523. #endif     /* __IWMEncoderAgent_INTERFACE_DEFINED__ */
  524.  
  525.  
  526.  
  527. #ifndef __WMEncAgtLib_LIBRARY_DEFINED__
  528. #define __WMEncAgtLib_LIBRARY_DEFINED__
  529.  
  530. /* library WMEncAgtLib */
  531. /* [helpstring][version][uuid] */ 
  532.  
  533.  
  534.  
  535. EXTERN_C const IID LIBID_WMEncAgtLib;
  536.  
  537. EXTERN_C const CLSID CLSID_WMEncoderAgent;
  538.  
  539. #ifdef __cplusplus
  540.  
  541. class DECLSPEC_UUID("B6913798-10BF-430C-A26F-E6DEE22EB9BA")
  542. WMEncoderAgent;
  543. #endif
  544. #endif /* __WMEncAgtLib_LIBRARY_DEFINED__ */
  545.  
  546. /* Additional Prototypes for ALL interfaces */
  547.  
  548. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long __RPC_FAR *, unsigned long            , BSTR __RPC_FAR * ); 
  549. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  550. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  551. void                      __RPC_USER  BSTR_UserFree(     unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); 
  552.  
  553. unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long __RPC_FAR *, unsigned long            , VARIANT __RPC_FAR * ); 
  554. unsigned char __RPC_FAR * __RPC_USER  VARIANT_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * ); 
  555. unsigned char __RPC_FAR * __RPC_USER  VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * ); 
  556. void                      __RPC_USER  VARIANT_UserFree(     unsigned long __RPC_FAR *, VARIANT __RPC_FAR * ); 
  557.  
  558. /* end of Additional Prototypes */
  559.  
  560. #ifdef __cplusplus
  561. }
  562. #endif
  563.  
  564. #endif
  565.