Tapi3if.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:710k
源码类别:

模拟服务器

开发平台:

C/C++

  1. #define ITAddressTranslationInfo_get_CurrentCountryCode(This,CountryCode)
  2.     (This)->lpVtbl -> get_CurrentCountryCode(This,CountryCode)
  3. #define ITAddressTranslationInfo_get_DestinationCountryCode(This,CountryCode)
  4.     (This)->lpVtbl -> get_DestinationCountryCode(This,CountryCode)
  5. #define ITAddressTranslationInfo_get_TranslationResults(This,plResults)
  6.     (This)->lpVtbl -> get_TranslationResults(This,plResults)
  7. #endif /* COBJMACROS */
  8. #endif  /* C style interface */
  9. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressTranslationInfo_get_DialableString_Proxy( 
  10.     ITAddressTranslationInfo * This,
  11.     /* [retval][out] */ BSTR *ppDialableString);
  12. void __RPC_STUB ITAddressTranslationInfo_get_DialableString_Stub(
  13.     IRpcStubBuffer *This,
  14.     IRpcChannelBuffer *_pRpcChannelBuffer,
  15.     PRPC_MESSAGE _pRpcMessage,
  16.     DWORD *_pdwStubPhase);
  17. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressTranslationInfo_get_DisplayableString_Proxy( 
  18.     ITAddressTranslationInfo * This,
  19.     /* [retval][out] */ BSTR *ppDisplayableString);
  20. void __RPC_STUB ITAddressTranslationInfo_get_DisplayableString_Stub(
  21.     IRpcStubBuffer *This,
  22.     IRpcChannelBuffer *_pRpcChannelBuffer,
  23.     PRPC_MESSAGE _pRpcMessage,
  24.     DWORD *_pdwStubPhase);
  25. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressTranslationInfo_get_CurrentCountryCode_Proxy( 
  26.     ITAddressTranslationInfo * This,
  27.     /* [retval][out] */ long *CountryCode);
  28. void __RPC_STUB ITAddressTranslationInfo_get_CurrentCountryCode_Stub(
  29.     IRpcStubBuffer *This,
  30.     IRpcChannelBuffer *_pRpcChannelBuffer,
  31.     PRPC_MESSAGE _pRpcMessage,
  32.     DWORD *_pdwStubPhase);
  33. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressTranslationInfo_get_DestinationCountryCode_Proxy( 
  34.     ITAddressTranslationInfo * This,
  35.     /* [retval][out] */ long *CountryCode);
  36. void __RPC_STUB ITAddressTranslationInfo_get_DestinationCountryCode_Stub(
  37.     IRpcStubBuffer *This,
  38.     IRpcChannelBuffer *_pRpcChannelBuffer,
  39.     PRPC_MESSAGE _pRpcMessage,
  40.     DWORD *_pdwStubPhase);
  41. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressTranslationInfo_get_TranslationResults_Proxy( 
  42.     ITAddressTranslationInfo * This,
  43.     /* [retval][out] */ long *plResults);
  44. void __RPC_STUB ITAddressTranslationInfo_get_TranslationResults_Stub(
  45.     IRpcStubBuffer *This,
  46.     IRpcChannelBuffer *_pRpcChannelBuffer,
  47.     PRPC_MESSAGE _pRpcMessage,
  48.     DWORD *_pdwStubPhase);
  49. #endif  /* __ITAddressTranslationInfo_INTERFACE_DEFINED__ */
  50. #ifndef __ITLocationInfo_INTERFACE_DEFINED__
  51. #define __ITLocationInfo_INTERFACE_DEFINED__
  52. /* interface ITLocationInfo */
  53. /* [object][dual][helpstring][uuid] */ 
  54. EXTERN_C const IID IID_ITLocationInfo;
  55. #if defined(__cplusplus) && !defined(CINTERFACE)
  56.     
  57.     MIDL_INTERFACE("0C4D8EFF-8DDB-11d1-A09E-00805FC147D3")
  58.     ITLocationInfo : public IDispatch
  59.     {
  60.     public:
  61.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PermanentLocationID( 
  62.             /* [retval][out] */ long *plLocationID) = 0;
  63.         
  64.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CountryCode( 
  65.             /* [retval][out] */ long *plCountryCode) = 0;
  66.         
  67.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CountryID( 
  68.             /* [retval][out] */ long *plCountryID) = 0;
  69.         
  70.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Options( 
  71.             /* [retval][out] */ long *plOptions) = 0;
  72.         
  73.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PreferredCardID( 
  74.             /* [retval][out] */ long *plCardID) = 0;
  75.         
  76.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LocationName( 
  77.             /* [retval][out] */ BSTR *ppLocationName) = 0;
  78.         
  79.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CityCode( 
  80.             /* [retval][out] */ BSTR *ppCode) = 0;
  81.         
  82.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LocalAccessCode( 
  83.             /* [retval][out] */ BSTR *ppCode) = 0;
  84.         
  85.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LongDistanceAccessCode( 
  86.             /* [retval][out] */ BSTR *ppCode) = 0;
  87.         
  88.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TollPrefixList( 
  89.             /* [retval][out] */ BSTR *ppTollList) = 0;
  90.         
  91.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CancelCallWaitingCode( 
  92.             /* [retval][out] */ BSTR *ppCode) = 0;
  93.         
  94.     };
  95.     
  96. #else  /* C style interface */
  97.     typedef struct ITLocationInfoVtbl
  98.     {
  99.         BEGIN_INTERFACE
  100.         
  101.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  102.             ITLocationInfo * This,
  103.             /* [in] */ REFIID riid,
  104.             /* [iid_is][out] */ void **ppvObject);
  105.         
  106.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  107.             ITLocationInfo * This);
  108.         
  109.         ULONG ( STDMETHODCALLTYPE *Release )( 
  110.             ITLocationInfo * This);
  111.         
  112.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  113.             ITLocationInfo * This,
  114.             /* [out] */ UINT *pctinfo);
  115.         
  116.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  117.             ITLocationInfo * This,
  118.             /* [in] */ UINT iTInfo,
  119.             /* [in] */ LCID lcid,
  120.             /* [out] */ ITypeInfo **ppTInfo);
  121.         
  122.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  123.             ITLocationInfo * This,
  124.             /* [in] */ REFIID riid,
  125.             /* [size_is][in] */ LPOLESTR *rgszNames,
  126.             /* [in] */ UINT cNames,
  127.             /* [in] */ LCID lcid,
  128.             /* [size_is][out] */ DISPID *rgDispId);
  129.         
  130.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  131.             ITLocationInfo * This,
  132.             /* [in] */ DISPID dispIdMember,
  133.             /* [in] */ REFIID riid,
  134.             /* [in] */ LCID lcid,
  135.             /* [in] */ WORD wFlags,
  136.             /* [out][in] */ DISPPARAMS *pDispParams,
  137.             /* [out] */ VARIANT *pVarResult,
  138.             /* [out] */ EXCEPINFO *pExcepInfo,
  139.             /* [out] */ UINT *puArgErr);
  140.         
  141.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PermanentLocationID )( 
  142.             ITLocationInfo * This,
  143.             /* [retval][out] */ long *plLocationID);
  144.         
  145.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CountryCode )( 
  146.             ITLocationInfo * This,
  147.             /* [retval][out] */ long *plCountryCode);
  148.         
  149.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CountryID )( 
  150.             ITLocationInfo * This,
  151.             /* [retval][out] */ long *plCountryID);
  152.         
  153.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Options )( 
  154.             ITLocationInfo * This,
  155.             /* [retval][out] */ long *plOptions);
  156.         
  157.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PreferredCardID )( 
  158.             ITLocationInfo * This,
  159.             /* [retval][out] */ long *plCardID);
  160.         
  161.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LocationName )( 
  162.             ITLocationInfo * This,
  163.             /* [retval][out] */ BSTR *ppLocationName);
  164.         
  165.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CityCode )( 
  166.             ITLocationInfo * This,
  167.             /* [retval][out] */ BSTR *ppCode);
  168.         
  169.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LocalAccessCode )( 
  170.             ITLocationInfo * This,
  171.             /* [retval][out] */ BSTR *ppCode);
  172.         
  173.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LongDistanceAccessCode )( 
  174.             ITLocationInfo * This,
  175.             /* [retval][out] */ BSTR *ppCode);
  176.         
  177.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TollPrefixList )( 
  178.             ITLocationInfo * This,
  179.             /* [retval][out] */ BSTR *ppTollList);
  180.         
  181.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CancelCallWaitingCode )( 
  182.             ITLocationInfo * This,
  183.             /* [retval][out] */ BSTR *ppCode);
  184.         
  185.         END_INTERFACE
  186.     } ITLocationInfoVtbl;
  187.     interface ITLocationInfo
  188.     {
  189.         CONST_VTBL struct ITLocationInfoVtbl *lpVtbl;
  190.     };
  191.     
  192. #ifdef COBJMACROS
  193. #define ITLocationInfo_QueryInterface(This,riid,ppvObject)
  194.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  195. #define ITLocationInfo_AddRef(This)
  196.     (This)->lpVtbl -> AddRef(This)
  197. #define ITLocationInfo_Release(This)
  198.     (This)->lpVtbl -> Release(This)
  199. #define ITLocationInfo_GetTypeInfoCount(This,pctinfo)
  200.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  201. #define ITLocationInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  202.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  203. #define ITLocationInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  204.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  205. #define ITLocationInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  206.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  207. #define ITLocationInfo_get_PermanentLocationID(This,plLocationID)
  208.     (This)->lpVtbl -> get_PermanentLocationID(This,plLocationID)
  209. #define ITLocationInfo_get_CountryCode(This,plCountryCode)
  210.     (This)->lpVtbl -> get_CountryCode(This,plCountryCode)
  211. #define ITLocationInfo_get_CountryID(This,plCountryID)
  212.     (This)->lpVtbl -> get_CountryID(This,plCountryID)
  213. #define ITLocationInfo_get_Options(This,plOptions)
  214.     (This)->lpVtbl -> get_Options(This,plOptions)
  215. #define ITLocationInfo_get_PreferredCardID(This,plCardID)
  216.     (This)->lpVtbl -> get_PreferredCardID(This,plCardID)
  217. #define ITLocationInfo_get_LocationName(This,ppLocationName)
  218.     (This)->lpVtbl -> get_LocationName(This,ppLocationName)
  219. #define ITLocationInfo_get_CityCode(This,ppCode)
  220.     (This)->lpVtbl -> get_CityCode(This,ppCode)
  221. #define ITLocationInfo_get_LocalAccessCode(This,ppCode)
  222.     (This)->lpVtbl -> get_LocalAccessCode(This,ppCode)
  223. #define ITLocationInfo_get_LongDistanceAccessCode(This,ppCode)
  224.     (This)->lpVtbl -> get_LongDistanceAccessCode(This,ppCode)
  225. #define ITLocationInfo_get_TollPrefixList(This,ppTollList)
  226.     (This)->lpVtbl -> get_TollPrefixList(This,ppTollList)
  227. #define ITLocationInfo_get_CancelCallWaitingCode(This,ppCode)
  228.     (This)->lpVtbl -> get_CancelCallWaitingCode(This,ppCode)
  229. #endif /* COBJMACROS */
  230. #endif  /* C style interface */
  231. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITLocationInfo_get_PermanentLocationID_Proxy( 
  232.     ITLocationInfo * This,
  233.     /* [retval][out] */ long *plLocationID);
  234. void __RPC_STUB ITLocationInfo_get_PermanentLocationID_Stub(
  235.     IRpcStubBuffer *This,
  236.     IRpcChannelBuffer *_pRpcChannelBuffer,
  237.     PRPC_MESSAGE _pRpcMessage,
  238.     DWORD *_pdwStubPhase);
  239. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITLocationInfo_get_CountryCode_Proxy( 
  240.     ITLocationInfo * This,
  241.     /* [retval][out] */ long *plCountryCode);
  242. void __RPC_STUB ITLocationInfo_get_CountryCode_Stub(
  243.     IRpcStubBuffer *This,
  244.     IRpcChannelBuffer *_pRpcChannelBuffer,
  245.     PRPC_MESSAGE _pRpcMessage,
  246.     DWORD *_pdwStubPhase);
  247. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITLocationInfo_get_CountryID_Proxy( 
  248.     ITLocationInfo * This,
  249.     /* [retval][out] */ long *plCountryID);
  250. void __RPC_STUB ITLocationInfo_get_CountryID_Stub(
  251.     IRpcStubBuffer *This,
  252.     IRpcChannelBuffer *_pRpcChannelBuffer,
  253.     PRPC_MESSAGE _pRpcMessage,
  254.     DWORD *_pdwStubPhase);
  255. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITLocationInfo_get_Options_Proxy( 
  256.     ITLocationInfo * This,
  257.     /* [retval][out] */ long *plOptions);
  258. void __RPC_STUB ITLocationInfo_get_Options_Stub(
  259.     IRpcStubBuffer *This,
  260.     IRpcChannelBuffer *_pRpcChannelBuffer,
  261.     PRPC_MESSAGE _pRpcMessage,
  262.     DWORD *_pdwStubPhase);
  263. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITLocationInfo_get_PreferredCardID_Proxy( 
  264.     ITLocationInfo * This,
  265.     /* [retval][out] */ long *plCardID);
  266. void __RPC_STUB ITLocationInfo_get_PreferredCardID_Stub(
  267.     IRpcStubBuffer *This,
  268.     IRpcChannelBuffer *_pRpcChannelBuffer,
  269.     PRPC_MESSAGE _pRpcMessage,
  270.     DWORD *_pdwStubPhase);
  271. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITLocationInfo_get_LocationName_Proxy( 
  272.     ITLocationInfo * This,
  273.     /* [retval][out] */ BSTR *ppLocationName);
  274. void __RPC_STUB ITLocationInfo_get_LocationName_Stub(
  275.     IRpcStubBuffer *This,
  276.     IRpcChannelBuffer *_pRpcChannelBuffer,
  277.     PRPC_MESSAGE _pRpcMessage,
  278.     DWORD *_pdwStubPhase);
  279. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITLocationInfo_get_CityCode_Proxy( 
  280.     ITLocationInfo * This,
  281.     /* [retval][out] */ BSTR *ppCode);
  282. void __RPC_STUB ITLocationInfo_get_CityCode_Stub(
  283.     IRpcStubBuffer *This,
  284.     IRpcChannelBuffer *_pRpcChannelBuffer,
  285.     PRPC_MESSAGE _pRpcMessage,
  286.     DWORD *_pdwStubPhase);
  287. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITLocationInfo_get_LocalAccessCode_Proxy( 
  288.     ITLocationInfo * This,
  289.     /* [retval][out] */ BSTR *ppCode);
  290. void __RPC_STUB ITLocationInfo_get_LocalAccessCode_Stub(
  291.     IRpcStubBuffer *This,
  292.     IRpcChannelBuffer *_pRpcChannelBuffer,
  293.     PRPC_MESSAGE _pRpcMessage,
  294.     DWORD *_pdwStubPhase);
  295. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITLocationInfo_get_LongDistanceAccessCode_Proxy( 
  296.     ITLocationInfo * This,
  297.     /* [retval][out] */ BSTR *ppCode);
  298. void __RPC_STUB ITLocationInfo_get_LongDistanceAccessCode_Stub(
  299.     IRpcStubBuffer *This,
  300.     IRpcChannelBuffer *_pRpcChannelBuffer,
  301.     PRPC_MESSAGE _pRpcMessage,
  302.     DWORD *_pdwStubPhase);
  303. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITLocationInfo_get_TollPrefixList_Proxy( 
  304.     ITLocationInfo * This,
  305.     /* [retval][out] */ BSTR *ppTollList);
  306. void __RPC_STUB ITLocationInfo_get_TollPrefixList_Stub(
  307.     IRpcStubBuffer *This,
  308.     IRpcChannelBuffer *_pRpcChannelBuffer,
  309.     PRPC_MESSAGE _pRpcMessage,
  310.     DWORD *_pdwStubPhase);
  311. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITLocationInfo_get_CancelCallWaitingCode_Proxy( 
  312.     ITLocationInfo * This,
  313.     /* [retval][out] */ BSTR *ppCode);
  314. void __RPC_STUB ITLocationInfo_get_CancelCallWaitingCode_Stub(
  315.     IRpcStubBuffer *This,
  316.     IRpcChannelBuffer *_pRpcChannelBuffer,
  317.     PRPC_MESSAGE _pRpcMessage,
  318.     DWORD *_pdwStubPhase);
  319. #endif  /* __ITLocationInfo_INTERFACE_DEFINED__ */
  320. #ifndef __IEnumLocation_INTERFACE_DEFINED__
  321. #define __IEnumLocation_INTERFACE_DEFINED__
  322. /* interface IEnumLocation */
  323. /* [object][unique][hidden][helpstring][uuid] */ 
  324. EXTERN_C const IID IID_IEnumLocation;
  325. #if defined(__cplusplus) && !defined(CINTERFACE)
  326.     
  327.     MIDL_INTERFACE("0C4D8F01-8DDB-11d1-A09E-00805FC147D3")
  328.     IEnumLocation : public IUnknown
  329.     {
  330.     public:
  331.         virtual HRESULT STDMETHODCALLTYPE Next( 
  332.             /* [in] */ ULONG celt,
  333.             /* [out] */ ITLocationInfo **ppElements,
  334.             /* [full][out][in] */ ULONG *pceltFetched) = 0;
  335.         
  336.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  337.         
  338.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  339.             /* [in] */ ULONG celt) = 0;
  340.         
  341.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  342.             /* [retval][out] */ IEnumLocation **ppEnum) = 0;
  343.         
  344.     };
  345.     
  346. #else  /* C style interface */
  347.     typedef struct IEnumLocationVtbl
  348.     {
  349.         BEGIN_INTERFACE
  350.         
  351.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  352.             IEnumLocation * This,
  353.             /* [in] */ REFIID riid,
  354.             /* [iid_is][out] */ void **ppvObject);
  355.         
  356.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  357.             IEnumLocation * This);
  358.         
  359.         ULONG ( STDMETHODCALLTYPE *Release )( 
  360.             IEnumLocation * This);
  361.         
  362.         HRESULT ( STDMETHODCALLTYPE *Next )( 
  363.             IEnumLocation * This,
  364.             /* [in] */ ULONG celt,
  365.             /* [out] */ ITLocationInfo **ppElements,
  366.             /* [full][out][in] */ ULONG *pceltFetched);
  367.         
  368.         HRESULT ( STDMETHODCALLTYPE *Reset )( 
  369.             IEnumLocation * This);
  370.         
  371.         HRESULT ( STDMETHODCALLTYPE *Skip )( 
  372.             IEnumLocation * This,
  373.             /* [in] */ ULONG celt);
  374.         
  375.         HRESULT ( STDMETHODCALLTYPE *Clone )( 
  376.             IEnumLocation * This,
  377.             /* [retval][out] */ IEnumLocation **ppEnum);
  378.         
  379.         END_INTERFACE
  380.     } IEnumLocationVtbl;
  381.     interface IEnumLocation
  382.     {
  383.         CONST_VTBL struct IEnumLocationVtbl *lpVtbl;
  384.     };
  385.     
  386. #ifdef COBJMACROS
  387. #define IEnumLocation_QueryInterface(This,riid,ppvObject)
  388.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  389. #define IEnumLocation_AddRef(This)
  390.     (This)->lpVtbl -> AddRef(This)
  391. #define IEnumLocation_Release(This)
  392.     (This)->lpVtbl -> Release(This)
  393. #define IEnumLocation_Next(This,celt,ppElements,pceltFetched)
  394.     (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  395. #define IEnumLocation_Reset(This)
  396.     (This)->lpVtbl -> Reset(This)
  397. #define IEnumLocation_Skip(This,celt)
  398.     (This)->lpVtbl -> Skip(This,celt)
  399. #define IEnumLocation_Clone(This,ppEnum)
  400.     (This)->lpVtbl -> Clone(This,ppEnum)
  401. #endif /* COBJMACROS */
  402. #endif  /* C style interface */
  403. HRESULT STDMETHODCALLTYPE IEnumLocation_Next_Proxy( 
  404.     IEnumLocation * This,
  405.     /* [in] */ ULONG celt,
  406.     /* [out] */ ITLocationInfo **ppElements,
  407.     /* [full][out][in] */ ULONG *pceltFetched);
  408. void __RPC_STUB IEnumLocation_Next_Stub(
  409.     IRpcStubBuffer *This,
  410.     IRpcChannelBuffer *_pRpcChannelBuffer,
  411.     PRPC_MESSAGE _pRpcMessage,
  412.     DWORD *_pdwStubPhase);
  413. HRESULT STDMETHODCALLTYPE IEnumLocation_Reset_Proxy( 
  414.     IEnumLocation * This);
  415. void __RPC_STUB IEnumLocation_Reset_Stub(
  416.     IRpcStubBuffer *This,
  417.     IRpcChannelBuffer *_pRpcChannelBuffer,
  418.     PRPC_MESSAGE _pRpcMessage,
  419.     DWORD *_pdwStubPhase);
  420. HRESULT STDMETHODCALLTYPE IEnumLocation_Skip_Proxy( 
  421.     IEnumLocation * This,
  422.     /* [in] */ ULONG celt);
  423. void __RPC_STUB IEnumLocation_Skip_Stub(
  424.     IRpcStubBuffer *This,
  425.     IRpcChannelBuffer *_pRpcChannelBuffer,
  426.     PRPC_MESSAGE _pRpcMessage,
  427.     DWORD *_pdwStubPhase);
  428. HRESULT STDMETHODCALLTYPE IEnumLocation_Clone_Proxy( 
  429.     IEnumLocation * This,
  430.     /* [retval][out] */ IEnumLocation **ppEnum);
  431. void __RPC_STUB IEnumLocation_Clone_Stub(
  432.     IRpcStubBuffer *This,
  433.     IRpcChannelBuffer *_pRpcChannelBuffer,
  434.     PRPC_MESSAGE _pRpcMessage,
  435.     DWORD *_pdwStubPhase);
  436. #endif  /* __IEnumLocation_INTERFACE_DEFINED__ */
  437. #ifndef __ITCallingCard_INTERFACE_DEFINED__
  438. #define __ITCallingCard_INTERFACE_DEFINED__
  439. /* interface ITCallingCard */
  440. /* [object][dual][helpstring][uuid] */ 
  441. EXTERN_C const IID IID_ITCallingCard;
  442. #if defined(__cplusplus) && !defined(CINTERFACE)
  443.     
  444.     MIDL_INTERFACE("0C4D8F00-8DDB-11d1-A09E-00805FC147D3")
  445.     ITCallingCard : public IDispatch
  446.     {
  447.     public:
  448.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PermanentCardID( 
  449.             /* [retval][out] */ long *plCardID) = 0;
  450.         
  451.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NumberOfDigits( 
  452.             /* [retval][out] */ long *plDigits) = 0;
  453.         
  454.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Options( 
  455.             /* [retval][out] */ long *plOptions) = 0;
  456.         
  457.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CardName( 
  458.             /* [retval][out] */ BSTR *ppCardName) = 0;
  459.         
  460.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SameAreaDialingRule( 
  461.             /* [retval][out] */ BSTR *ppRule) = 0;
  462.         
  463.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LongDistanceDialingRule( 
  464.             /* [retval][out] */ BSTR *ppRule) = 0;
  465.         
  466.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InternationalDialingRule( 
  467.             /* [retval][out] */ BSTR *ppRule) = 0;
  468.         
  469.     };
  470.     
  471. #else  /* C style interface */
  472.     typedef struct ITCallingCardVtbl
  473.     {
  474.         BEGIN_INTERFACE
  475.         
  476.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  477.             ITCallingCard * This,
  478.             /* [in] */ REFIID riid,
  479.             /* [iid_is][out] */ void **ppvObject);
  480.         
  481.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  482.             ITCallingCard * This);
  483.         
  484.         ULONG ( STDMETHODCALLTYPE *Release )( 
  485.             ITCallingCard * This);
  486.         
  487.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  488.             ITCallingCard * This,
  489.             /* [out] */ UINT *pctinfo);
  490.         
  491.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  492.             ITCallingCard * This,
  493.             /* [in] */ UINT iTInfo,
  494.             /* [in] */ LCID lcid,
  495.             /* [out] */ ITypeInfo **ppTInfo);
  496.         
  497.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  498.             ITCallingCard * This,
  499.             /* [in] */ REFIID riid,
  500.             /* [size_is][in] */ LPOLESTR *rgszNames,
  501.             /* [in] */ UINT cNames,
  502.             /* [in] */ LCID lcid,
  503.             /* [size_is][out] */ DISPID *rgDispId);
  504.         
  505.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  506.             ITCallingCard * This,
  507.             /* [in] */ DISPID dispIdMember,
  508.             /* [in] */ REFIID riid,
  509.             /* [in] */ LCID lcid,
  510.             /* [in] */ WORD wFlags,
  511.             /* [out][in] */ DISPPARAMS *pDispParams,
  512.             /* [out] */ VARIANT *pVarResult,
  513.             /* [out] */ EXCEPINFO *pExcepInfo,
  514.             /* [out] */ UINT *puArgErr);
  515.         
  516.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PermanentCardID )( 
  517.             ITCallingCard * This,
  518.             /* [retval][out] */ long *plCardID);
  519.         
  520.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumberOfDigits )( 
  521.             ITCallingCard * This,
  522.             /* [retval][out] */ long *plDigits);
  523.         
  524.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Options )( 
  525.             ITCallingCard * This,
  526.             /* [retval][out] */ long *plOptions);
  527.         
  528.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CardName )( 
  529.             ITCallingCard * This,
  530.             /* [retval][out] */ BSTR *ppCardName);
  531.         
  532.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SameAreaDialingRule )( 
  533.             ITCallingCard * This,
  534.             /* [retval][out] */ BSTR *ppRule);
  535.         
  536.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LongDistanceDialingRule )( 
  537.             ITCallingCard * This,
  538.             /* [retval][out] */ BSTR *ppRule);
  539.         
  540.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InternationalDialingRule )( 
  541.             ITCallingCard * This,
  542.             /* [retval][out] */ BSTR *ppRule);
  543.         
  544.         END_INTERFACE
  545.     } ITCallingCardVtbl;
  546.     interface ITCallingCard
  547.     {
  548.         CONST_VTBL struct ITCallingCardVtbl *lpVtbl;
  549.     };
  550.     
  551. #ifdef COBJMACROS
  552. #define ITCallingCard_QueryInterface(This,riid,ppvObject)
  553.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  554. #define ITCallingCard_AddRef(This)
  555.     (This)->lpVtbl -> AddRef(This)
  556. #define ITCallingCard_Release(This)
  557.     (This)->lpVtbl -> Release(This)
  558. #define ITCallingCard_GetTypeInfoCount(This,pctinfo)
  559.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  560. #define ITCallingCard_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  561.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  562. #define ITCallingCard_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  563.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  564. #define ITCallingCard_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  565.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  566. #define ITCallingCard_get_PermanentCardID(This,plCardID)
  567.     (This)->lpVtbl -> get_PermanentCardID(This,plCardID)
  568. #define ITCallingCard_get_NumberOfDigits(This,plDigits)
  569.     (This)->lpVtbl -> get_NumberOfDigits(This,plDigits)
  570. #define ITCallingCard_get_Options(This,plOptions)
  571.     (This)->lpVtbl -> get_Options(This,plOptions)
  572. #define ITCallingCard_get_CardName(This,ppCardName)
  573.     (This)->lpVtbl -> get_CardName(This,ppCardName)
  574. #define ITCallingCard_get_SameAreaDialingRule(This,ppRule)
  575.     (This)->lpVtbl -> get_SameAreaDialingRule(This,ppRule)
  576. #define ITCallingCard_get_LongDistanceDialingRule(This,ppRule)
  577.     (This)->lpVtbl -> get_LongDistanceDialingRule(This,ppRule)
  578. #define ITCallingCard_get_InternationalDialingRule(This,ppRule)
  579.     (This)->lpVtbl -> get_InternationalDialingRule(This,ppRule)
  580. #endif /* COBJMACROS */
  581. #endif  /* C style interface */
  582. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallingCard_get_PermanentCardID_Proxy( 
  583.     ITCallingCard * This,
  584.     /* [retval][out] */ long *plCardID);
  585. void __RPC_STUB ITCallingCard_get_PermanentCardID_Stub(
  586.     IRpcStubBuffer *This,
  587.     IRpcChannelBuffer *_pRpcChannelBuffer,
  588.     PRPC_MESSAGE _pRpcMessage,
  589.     DWORD *_pdwStubPhase);
  590. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallingCard_get_NumberOfDigits_Proxy( 
  591.     ITCallingCard * This,
  592.     /* [retval][out] */ long *plDigits);
  593. void __RPC_STUB ITCallingCard_get_NumberOfDigits_Stub(
  594.     IRpcStubBuffer *This,
  595.     IRpcChannelBuffer *_pRpcChannelBuffer,
  596.     PRPC_MESSAGE _pRpcMessage,
  597.     DWORD *_pdwStubPhase);
  598. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallingCard_get_Options_Proxy( 
  599.     ITCallingCard * This,
  600.     /* [retval][out] */ long *plOptions);
  601. void __RPC_STUB ITCallingCard_get_Options_Stub(
  602.     IRpcStubBuffer *This,
  603.     IRpcChannelBuffer *_pRpcChannelBuffer,
  604.     PRPC_MESSAGE _pRpcMessage,
  605.     DWORD *_pdwStubPhase);
  606. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallingCard_get_CardName_Proxy( 
  607.     ITCallingCard * This,
  608.     /* [retval][out] */ BSTR *ppCardName);
  609. void __RPC_STUB ITCallingCard_get_CardName_Stub(
  610.     IRpcStubBuffer *This,
  611.     IRpcChannelBuffer *_pRpcChannelBuffer,
  612.     PRPC_MESSAGE _pRpcMessage,
  613.     DWORD *_pdwStubPhase);
  614. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallingCard_get_SameAreaDialingRule_Proxy( 
  615.     ITCallingCard * This,
  616.     /* [retval][out] */ BSTR *ppRule);
  617. void __RPC_STUB ITCallingCard_get_SameAreaDialingRule_Stub(
  618.     IRpcStubBuffer *This,
  619.     IRpcChannelBuffer *_pRpcChannelBuffer,
  620.     PRPC_MESSAGE _pRpcMessage,
  621.     DWORD *_pdwStubPhase);
  622. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallingCard_get_LongDistanceDialingRule_Proxy( 
  623.     ITCallingCard * This,
  624.     /* [retval][out] */ BSTR *ppRule);
  625. void __RPC_STUB ITCallingCard_get_LongDistanceDialingRule_Stub(
  626.     IRpcStubBuffer *This,
  627.     IRpcChannelBuffer *_pRpcChannelBuffer,
  628.     PRPC_MESSAGE _pRpcMessage,
  629.     DWORD *_pdwStubPhase);
  630. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallingCard_get_InternationalDialingRule_Proxy( 
  631.     ITCallingCard * This,
  632.     /* [retval][out] */ BSTR *ppRule);
  633. void __RPC_STUB ITCallingCard_get_InternationalDialingRule_Stub(
  634.     IRpcStubBuffer *This,
  635.     IRpcChannelBuffer *_pRpcChannelBuffer,
  636.     PRPC_MESSAGE _pRpcMessage,
  637.     DWORD *_pdwStubPhase);
  638. #endif  /* __ITCallingCard_INTERFACE_DEFINED__ */
  639. #ifndef __IEnumCallingCard_INTERFACE_DEFINED__
  640. #define __IEnumCallingCard_INTERFACE_DEFINED__
  641. /* interface IEnumCallingCard */
  642. /* [object][unique][hidden][helpstring][uuid] */ 
  643. EXTERN_C const IID IID_IEnumCallingCard;
  644. #if defined(__cplusplus) && !defined(CINTERFACE)
  645.     
  646.     MIDL_INTERFACE("0C4D8F02-8DDB-11d1-A09E-00805FC147D3")
  647.     IEnumCallingCard : public IUnknown
  648.     {
  649.     public:
  650.         virtual HRESULT STDMETHODCALLTYPE Next( 
  651.             /* [in] */ ULONG celt,
  652.             /* [out] */ ITCallingCard **ppElements,
  653.             /* [full][out][in] */ ULONG *pceltFetched) = 0;
  654.         
  655.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  656.         
  657.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  658.             /* [in] */ ULONG celt) = 0;
  659.         
  660.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  661.             /* [retval][out] */ IEnumCallingCard **ppEnum) = 0;
  662.         
  663.     };
  664.     
  665. #else  /* C style interface */
  666.     typedef struct IEnumCallingCardVtbl
  667.     {
  668.         BEGIN_INTERFACE
  669.         
  670.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  671.             IEnumCallingCard * This,
  672.             /* [in] */ REFIID riid,
  673.             /* [iid_is][out] */ void **ppvObject);
  674.         
  675.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  676.             IEnumCallingCard * This);
  677.         
  678.         ULONG ( STDMETHODCALLTYPE *Release )( 
  679.             IEnumCallingCard * This);
  680.         
  681.         HRESULT ( STDMETHODCALLTYPE *Next )( 
  682.             IEnumCallingCard * This,
  683.             /* [in] */ ULONG celt,
  684.             /* [out] */ ITCallingCard **ppElements,
  685.             /* [full][out][in] */ ULONG *pceltFetched);
  686.         
  687.         HRESULT ( STDMETHODCALLTYPE *Reset )( 
  688.             IEnumCallingCard * This);
  689.         
  690.         HRESULT ( STDMETHODCALLTYPE *Skip )( 
  691.             IEnumCallingCard * This,
  692.             /* [in] */ ULONG celt);
  693.         
  694.         HRESULT ( STDMETHODCALLTYPE *Clone )( 
  695.             IEnumCallingCard * This,
  696.             /* [retval][out] */ IEnumCallingCard **ppEnum);
  697.         
  698.         END_INTERFACE
  699.     } IEnumCallingCardVtbl;
  700.     interface IEnumCallingCard
  701.     {
  702.         CONST_VTBL struct IEnumCallingCardVtbl *lpVtbl;
  703.     };
  704.     
  705. #ifdef COBJMACROS
  706. #define IEnumCallingCard_QueryInterface(This,riid,ppvObject)
  707.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  708. #define IEnumCallingCard_AddRef(This)
  709.     (This)->lpVtbl -> AddRef(This)
  710. #define IEnumCallingCard_Release(This)
  711.     (This)->lpVtbl -> Release(This)
  712. #define IEnumCallingCard_Next(This,celt,ppElements,pceltFetched)
  713.     (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  714. #define IEnumCallingCard_Reset(This)
  715.     (This)->lpVtbl -> Reset(This)
  716. #define IEnumCallingCard_Skip(This,celt)
  717.     (This)->lpVtbl -> Skip(This,celt)
  718. #define IEnumCallingCard_Clone(This,ppEnum)
  719.     (This)->lpVtbl -> Clone(This,ppEnum)
  720. #endif /* COBJMACROS */
  721. #endif  /* C style interface */
  722. HRESULT STDMETHODCALLTYPE IEnumCallingCard_Next_Proxy( 
  723.     IEnumCallingCard * This,
  724.     /* [in] */ ULONG celt,
  725.     /* [out] */ ITCallingCard **ppElements,
  726.     /* [full][out][in] */ ULONG *pceltFetched);
  727. void __RPC_STUB IEnumCallingCard_Next_Stub(
  728.     IRpcStubBuffer *This,
  729.     IRpcChannelBuffer *_pRpcChannelBuffer,
  730.     PRPC_MESSAGE _pRpcMessage,
  731.     DWORD *_pdwStubPhase);
  732. HRESULT STDMETHODCALLTYPE IEnumCallingCard_Reset_Proxy( 
  733.     IEnumCallingCard * This);
  734. void __RPC_STUB IEnumCallingCard_Reset_Stub(
  735.     IRpcStubBuffer *This,
  736.     IRpcChannelBuffer *_pRpcChannelBuffer,
  737.     PRPC_MESSAGE _pRpcMessage,
  738.     DWORD *_pdwStubPhase);
  739. HRESULT STDMETHODCALLTYPE IEnumCallingCard_Skip_Proxy( 
  740.     IEnumCallingCard * This,
  741.     /* [in] */ ULONG celt);
  742. void __RPC_STUB IEnumCallingCard_Skip_Stub(
  743.     IRpcStubBuffer *This,
  744.     IRpcChannelBuffer *_pRpcChannelBuffer,
  745.     PRPC_MESSAGE _pRpcMessage,
  746.     DWORD *_pdwStubPhase);
  747. HRESULT STDMETHODCALLTYPE IEnumCallingCard_Clone_Proxy( 
  748.     IEnumCallingCard * This,
  749.     /* [retval][out] */ IEnumCallingCard **ppEnum);
  750. void __RPC_STUB IEnumCallingCard_Clone_Stub(
  751.     IRpcStubBuffer *This,
  752.     IRpcChannelBuffer *_pRpcChannelBuffer,
  753.     PRPC_MESSAGE _pRpcMessage,
  754.     DWORD *_pdwStubPhase);
  755. #endif  /* __IEnumCallingCard_INTERFACE_DEFINED__ */
  756. #ifndef __ITCallNotificationEvent_INTERFACE_DEFINED__
  757. #define __ITCallNotificationEvent_INTERFACE_DEFINED__
  758. /* interface ITCallNotificationEvent */
  759. /* [object][dual][helpstring][uuid] */ 
  760. EXTERN_C const IID IID_ITCallNotificationEvent;
  761. #if defined(__cplusplus) && !defined(CINTERFACE)
  762.     
  763.     MIDL_INTERFACE("895801DF-3DD6-11d1-8F30-00C04FB6809F")
  764.     ITCallNotificationEvent : public IDispatch
  765.     {
  766.     public:
  767.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call( 
  768.             /* [retval][out] */ ITCallInfo **ppCall) = 0;
  769.         
  770.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event( 
  771.             /* [retval][out] */ CALL_NOTIFICATION_EVENT *pCallNotificationEvent) = 0;
  772.         
  773.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallbackInstance( 
  774.             /* [retval][out] */ long *plCallbackInstance) = 0;
  775.         
  776.     };
  777.     
  778. #else  /* C style interface */
  779.     typedef struct ITCallNotificationEventVtbl
  780.     {
  781.         BEGIN_INTERFACE
  782.         
  783.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  784.             ITCallNotificationEvent * This,
  785.             /* [in] */ REFIID riid,
  786.             /* [iid_is][out] */ void **ppvObject);
  787.         
  788.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  789.             ITCallNotificationEvent * This);
  790.         
  791.         ULONG ( STDMETHODCALLTYPE *Release )( 
  792.             ITCallNotificationEvent * This);
  793.         
  794.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  795.             ITCallNotificationEvent * This,
  796.             /* [out] */ UINT *pctinfo);
  797.         
  798.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  799.             ITCallNotificationEvent * This,
  800.             /* [in] */ UINT iTInfo,
  801.             /* [in] */ LCID lcid,
  802.             /* [out] */ ITypeInfo **ppTInfo);
  803.         
  804.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  805.             ITCallNotificationEvent * This,
  806.             /* [in] */ REFIID riid,
  807.             /* [size_is][in] */ LPOLESTR *rgszNames,
  808.             /* [in] */ UINT cNames,
  809.             /* [in] */ LCID lcid,
  810.             /* [size_is][out] */ DISPID *rgDispId);
  811.         
  812.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  813.             ITCallNotificationEvent * This,
  814.             /* [in] */ DISPID dispIdMember,
  815.             /* [in] */ REFIID riid,
  816.             /* [in] */ LCID lcid,
  817.             /* [in] */ WORD wFlags,
  818.             /* [out][in] */ DISPPARAMS *pDispParams,
  819.             /* [out] */ VARIANT *pVarResult,
  820.             /* [out] */ EXCEPINFO *pExcepInfo,
  821.             /* [out] */ UINT *puArgErr);
  822.         
  823.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )( 
  824.             ITCallNotificationEvent * This,
  825.             /* [retval][out] */ ITCallInfo **ppCall);
  826.         
  827.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )( 
  828.             ITCallNotificationEvent * This,
  829.             /* [retval][out] */ CALL_NOTIFICATION_EVENT *pCallNotificationEvent);
  830.         
  831.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallbackInstance )( 
  832.             ITCallNotificationEvent * This,
  833.             /* [retval][out] */ long *plCallbackInstance);
  834.         
  835.         END_INTERFACE
  836.     } ITCallNotificationEventVtbl;
  837.     interface ITCallNotificationEvent
  838.     {
  839.         CONST_VTBL struct ITCallNotificationEventVtbl *lpVtbl;
  840.     };
  841.     
  842. #ifdef COBJMACROS
  843. #define ITCallNotificationEvent_QueryInterface(This,riid,ppvObject)
  844.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  845. #define ITCallNotificationEvent_AddRef(This)
  846.     (This)->lpVtbl -> AddRef(This)
  847. #define ITCallNotificationEvent_Release(This)
  848.     (This)->lpVtbl -> Release(This)
  849. #define ITCallNotificationEvent_GetTypeInfoCount(This,pctinfo)
  850.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  851. #define ITCallNotificationEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  852.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  853. #define ITCallNotificationEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  854.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  855. #define ITCallNotificationEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  856.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  857. #define ITCallNotificationEvent_get_Call(This,ppCall)
  858.     (This)->lpVtbl -> get_Call(This,ppCall)
  859. #define ITCallNotificationEvent_get_Event(This,pCallNotificationEvent)
  860.     (This)->lpVtbl -> get_Event(This,pCallNotificationEvent)
  861. #define ITCallNotificationEvent_get_CallbackInstance(This,plCallbackInstance)
  862.     (This)->lpVtbl -> get_CallbackInstance(This,plCallbackInstance)
  863. #endif /* COBJMACROS */
  864. #endif  /* C style interface */
  865. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallNotificationEvent_get_Call_Proxy( 
  866.     ITCallNotificationEvent * This,
  867.     /* [retval][out] */ ITCallInfo **ppCall);
  868. void __RPC_STUB ITCallNotificationEvent_get_Call_Stub(
  869.     IRpcStubBuffer *This,
  870.     IRpcChannelBuffer *_pRpcChannelBuffer,
  871.     PRPC_MESSAGE _pRpcMessage,
  872.     DWORD *_pdwStubPhase);
  873. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallNotificationEvent_get_Event_Proxy( 
  874.     ITCallNotificationEvent * This,
  875.     /* [retval][out] */ CALL_NOTIFICATION_EVENT *pCallNotificationEvent);
  876. void __RPC_STUB ITCallNotificationEvent_get_Event_Stub(
  877.     IRpcStubBuffer *This,
  878.     IRpcChannelBuffer *_pRpcChannelBuffer,
  879.     PRPC_MESSAGE _pRpcMessage,
  880.     DWORD *_pdwStubPhase);
  881. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallNotificationEvent_get_CallbackInstance_Proxy( 
  882.     ITCallNotificationEvent * This,
  883.     /* [retval][out] */ long *plCallbackInstance);
  884. void __RPC_STUB ITCallNotificationEvent_get_CallbackInstance_Stub(
  885.     IRpcStubBuffer *This,
  886.     IRpcChannelBuffer *_pRpcChannelBuffer,
  887.     PRPC_MESSAGE _pRpcMessage,
  888.     DWORD *_pdwStubPhase);
  889. #endif  /* __ITCallNotificationEvent_INTERFACE_DEFINED__ */
  890. #ifndef __ITDispatchMapper_INTERFACE_DEFINED__
  891. #define __ITDispatchMapper_INTERFACE_DEFINED__
  892. /* interface ITDispatchMapper */
  893. /* [object][helpstring][uuid] */ 
  894. EXTERN_C const IID IID_ITDispatchMapper;
  895. #if defined(__cplusplus) && !defined(CINTERFACE)
  896.     
  897.     MIDL_INTERFACE("E9225295-C759-11d1-A02B-00C04FB6809F")
  898.     ITDispatchMapper : public IDispatch
  899.     {
  900.     public:
  901.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE QueryDispatchInterface( 
  902.             /* [in] */ BSTR pIID,
  903.             /* [in] */ IDispatch *pInterfaceToMap,
  904.             /* [retval][out] */ IDispatch **ppReturnedInterface) = 0;
  905.         
  906.     };
  907.     
  908. #else  /* C style interface */
  909.     typedef struct ITDispatchMapperVtbl
  910.     {
  911.         BEGIN_INTERFACE
  912.         
  913.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  914.             ITDispatchMapper * This,
  915.             /* [in] */ REFIID riid,
  916.             /* [iid_is][out] */ void **ppvObject);
  917.         
  918.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  919.             ITDispatchMapper * This);
  920.         
  921.         ULONG ( STDMETHODCALLTYPE *Release )( 
  922.             ITDispatchMapper * This);
  923.         
  924.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  925.             ITDispatchMapper * This,
  926.             /* [out] */ UINT *pctinfo);
  927.         
  928.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  929.             ITDispatchMapper * This,
  930.             /* [in] */ UINT iTInfo,
  931.             /* [in] */ LCID lcid,
  932.             /* [out] */ ITypeInfo **ppTInfo);
  933.         
  934.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  935.             ITDispatchMapper * This,
  936.             /* [in] */ REFIID riid,
  937.             /* [size_is][in] */ LPOLESTR *rgszNames,
  938.             /* [in] */ UINT cNames,
  939.             /* [in] */ LCID lcid,
  940.             /* [size_is][out] */ DISPID *rgDispId);
  941.         
  942.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  943.             ITDispatchMapper * This,
  944.             /* [in] */ DISPID dispIdMember,
  945.             /* [in] */ REFIID riid,
  946.             /* [in] */ LCID lcid,
  947.             /* [in] */ WORD wFlags,
  948.             /* [out][in] */ DISPPARAMS *pDispParams,
  949.             /* [out] */ VARIANT *pVarResult,
  950.             /* [out] */ EXCEPINFO *pExcepInfo,
  951.             /* [out] */ UINT *puArgErr);
  952.         
  953.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *QueryDispatchInterface )( 
  954.             ITDispatchMapper * This,
  955.             /* [in] */ BSTR pIID,
  956.             /* [in] */ IDispatch *pInterfaceToMap,
  957.             /* [retval][out] */ IDispatch **ppReturnedInterface);
  958.         
  959.         END_INTERFACE
  960.     } ITDispatchMapperVtbl;
  961.     interface ITDispatchMapper
  962.     {
  963.         CONST_VTBL struct ITDispatchMapperVtbl *lpVtbl;
  964.     };
  965.     
  966. #ifdef COBJMACROS
  967. #define ITDispatchMapper_QueryInterface(This,riid,ppvObject)
  968.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  969. #define ITDispatchMapper_AddRef(This)
  970.     (This)->lpVtbl -> AddRef(This)
  971. #define ITDispatchMapper_Release(This)
  972.     (This)->lpVtbl -> Release(This)
  973. #define ITDispatchMapper_GetTypeInfoCount(This,pctinfo)
  974.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  975. #define ITDispatchMapper_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  976.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  977. #define ITDispatchMapper_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  978.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  979. #define ITDispatchMapper_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  980.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  981. #define ITDispatchMapper_QueryDispatchInterface(This,pIID,pInterfaceToMap,ppReturnedInterface)
  982.     (This)->lpVtbl -> QueryDispatchInterface(This,pIID,pInterfaceToMap,ppReturnedInterface)
  983. #endif /* COBJMACROS */
  984. #endif  /* C style interface */
  985. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITDispatchMapper_QueryDispatchInterface_Proxy( 
  986.     ITDispatchMapper * This,
  987.     /* [in] */ BSTR pIID,
  988.     /* [in] */ IDispatch *pInterfaceToMap,
  989.     /* [retval][out] */ IDispatch **ppReturnedInterface);
  990. void __RPC_STUB ITDispatchMapper_QueryDispatchInterface_Stub(
  991.     IRpcStubBuffer *This,
  992.     IRpcChannelBuffer *_pRpcChannelBuffer,
  993.     PRPC_MESSAGE _pRpcMessage,
  994.     DWORD *_pdwStubPhase);
  995. #endif  /* __ITDispatchMapper_INTERFACE_DEFINED__ */
  996. #ifndef __ITStreamControl_INTERFACE_DEFINED__
  997. #define __ITStreamControl_INTERFACE_DEFINED__
  998. /* interface ITStreamControl */
  999. /* [object][dual][unique][helpstring][uuid] */ 
  1000. EXTERN_C const IID IID_ITStreamControl;
  1001. #if defined(__cplusplus) && !defined(CINTERFACE)
  1002.     
  1003.     MIDL_INTERFACE("EE3BD604-3868-11D2-A045-00C04FB6809F")
  1004.     ITStreamControl : public IDispatch
  1005.     {
  1006.     public:
  1007.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateStream( 
  1008.             /* [in] */ long lMediaType,
  1009.             /* [in] */ TERMINAL_DIRECTION td,
  1010.             /* [retval][out] */ ITStream **ppStream) = 0;
  1011.         
  1012.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveStream( 
  1013.             /* [in] */ ITStream *pStream) = 0;
  1014.         
  1015.         virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateStreams( 
  1016.             /* [out] */ IEnumStream **ppEnumStream) = 0;
  1017.         
  1018.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Streams( 
  1019.             /* [retval][out] */ VARIANT *pVariant) = 0;
  1020.         
  1021.     };
  1022.     
  1023. #else  /* C style interface */
  1024.     typedef struct ITStreamControlVtbl
  1025.     {
  1026.         BEGIN_INTERFACE
  1027.         
  1028.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1029.             ITStreamControl * This,
  1030.             /* [in] */ REFIID riid,
  1031.             /* [iid_is][out] */ void **ppvObject);
  1032.         
  1033.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1034.             ITStreamControl * This);
  1035.         
  1036.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1037.             ITStreamControl * This);
  1038.         
  1039.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1040.             ITStreamControl * This,
  1041.             /* [out] */ UINT *pctinfo);
  1042.         
  1043.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1044.             ITStreamControl * This,
  1045.             /* [in] */ UINT iTInfo,
  1046.             /* [in] */ LCID lcid,
  1047.             /* [out] */ ITypeInfo **ppTInfo);
  1048.         
  1049.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1050.             ITStreamControl * This,
  1051.             /* [in] */ REFIID riid,
  1052.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1053.             /* [in] */ UINT cNames,
  1054.             /* [in] */ LCID lcid,
  1055.             /* [size_is][out] */ DISPID *rgDispId);
  1056.         
  1057.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1058.             ITStreamControl * This,
  1059.             /* [in] */ DISPID dispIdMember,
  1060.             /* [in] */ REFIID riid,
  1061.             /* [in] */ LCID lcid,
  1062.             /* [in] */ WORD wFlags,
  1063.             /* [out][in] */ DISPPARAMS *pDispParams,
  1064.             /* [out] */ VARIANT *pVarResult,
  1065.             /* [out] */ EXCEPINFO *pExcepInfo,
  1066.             /* [out] */ UINT *puArgErr);
  1067.         
  1068.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateStream )( 
  1069.             ITStreamControl * This,
  1070.             /* [in] */ long lMediaType,
  1071.             /* [in] */ TERMINAL_DIRECTION td,
  1072.             /* [retval][out] */ ITStream **ppStream);
  1073.         
  1074.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveStream )( 
  1075.             ITStreamControl * This,
  1076.             /* [in] */ ITStream *pStream);
  1077.         
  1078.         /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateStreams )( 
  1079.             ITStreamControl * This,
  1080.             /* [out] */ IEnumStream **ppEnumStream);
  1081.         
  1082.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Streams )( 
  1083.             ITStreamControl * This,
  1084.             /* [retval][out] */ VARIANT *pVariant);
  1085.         
  1086.         END_INTERFACE
  1087.     } ITStreamControlVtbl;
  1088.     interface ITStreamControl
  1089.     {
  1090.         CONST_VTBL struct ITStreamControlVtbl *lpVtbl;
  1091.     };
  1092.     
  1093. #ifdef COBJMACROS
  1094. #define ITStreamControl_QueryInterface(This,riid,ppvObject)
  1095.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1096. #define ITStreamControl_AddRef(This)
  1097.     (This)->lpVtbl -> AddRef(This)
  1098. #define ITStreamControl_Release(This)
  1099.     (This)->lpVtbl -> Release(This)
  1100. #define ITStreamControl_GetTypeInfoCount(This,pctinfo)
  1101.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1102. #define ITStreamControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1103.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1104. #define ITStreamControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1105.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1106. #define ITStreamControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1107.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1108. #define ITStreamControl_CreateStream(This,lMediaType,td,ppStream)
  1109.     (This)->lpVtbl -> CreateStream(This,lMediaType,td,ppStream)
  1110. #define ITStreamControl_RemoveStream(This,pStream)
  1111.     (This)->lpVtbl -> RemoveStream(This,pStream)
  1112. #define ITStreamControl_EnumerateStreams(This,ppEnumStream)
  1113.     (This)->lpVtbl -> EnumerateStreams(This,ppEnumStream)
  1114. #define ITStreamControl_get_Streams(This,pVariant)
  1115.     (This)->lpVtbl -> get_Streams(This,pVariant)
  1116. #endif /* COBJMACROS */
  1117. #endif  /* C style interface */
  1118. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITStreamControl_CreateStream_Proxy( 
  1119.     ITStreamControl * This,
  1120.     /* [in] */ long lMediaType,
  1121.     /* [in] */ TERMINAL_DIRECTION td,
  1122.     /* [retval][out] */ ITStream **ppStream);
  1123. void __RPC_STUB ITStreamControl_CreateStream_Stub(
  1124.     IRpcStubBuffer *This,
  1125.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1126.     PRPC_MESSAGE _pRpcMessage,
  1127.     DWORD *_pdwStubPhase);
  1128. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITStreamControl_RemoveStream_Proxy( 
  1129.     ITStreamControl * This,
  1130.     /* [in] */ ITStream *pStream);
  1131. void __RPC_STUB ITStreamControl_RemoveStream_Stub(
  1132.     IRpcStubBuffer *This,
  1133.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1134.     PRPC_MESSAGE _pRpcMessage,
  1135.     DWORD *_pdwStubPhase);
  1136. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITStreamControl_EnumerateStreams_Proxy( 
  1137.     ITStreamControl * This,
  1138.     /* [out] */ IEnumStream **ppEnumStream);
  1139. void __RPC_STUB ITStreamControl_EnumerateStreams_Stub(
  1140.     IRpcStubBuffer *This,
  1141.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1142.     PRPC_MESSAGE _pRpcMessage,
  1143.     DWORD *_pdwStubPhase);
  1144. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITStreamControl_get_Streams_Proxy( 
  1145.     ITStreamControl * This,
  1146.     /* [retval][out] */ VARIANT *pVariant);
  1147. void __RPC_STUB ITStreamControl_get_Streams_Stub(
  1148.     IRpcStubBuffer *This,
  1149.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1150.     PRPC_MESSAGE _pRpcMessage,
  1151.     DWORD *_pdwStubPhase);
  1152. #endif  /* __ITStreamControl_INTERFACE_DEFINED__ */
  1153. #ifndef __ITStream_INTERFACE_DEFINED__
  1154. #define __ITStream_INTERFACE_DEFINED__
  1155. /* interface ITStream */
  1156. /* [object][dual][unique][helpstring][uuid] */ 
  1157. EXTERN_C const IID IID_ITStream;
  1158. #if defined(__cplusplus) && !defined(CINTERFACE)
  1159.     
  1160.     MIDL_INTERFACE("EE3BD605-3868-11D2-A045-00C04FB6809F")
  1161.     ITStream : public IDispatch
  1162.     {
  1163.     public:
  1164.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MediaType( 
  1165.             /* [retval][out] */ long *plMediaType) = 0;
  1166.         
  1167.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Direction( 
  1168.             /* [retval][out] */ TERMINAL_DIRECTION *pTD) = 0;
  1169.         
  1170.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( 
  1171.             /* [retval][out] */ BSTR *ppName) = 0;
  1172.         
  1173.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StartStream( void) = 0;
  1174.         
  1175.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PauseStream( void) = 0;
  1176.         
  1177.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StopStream( void) = 0;
  1178.         
  1179.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SelectTerminal( 
  1180.             /* [in] */ ITTerminal *pTerminal) = 0;
  1181.         
  1182.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UnselectTerminal( 
  1183.             /* [in] */ ITTerminal *pTerminal) = 0;
  1184.         
  1185.         virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateTerminals( 
  1186.             /* [out] */ IEnumTerminal **ppEnumTerminal) = 0;
  1187.         
  1188.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Terminals( 
  1189.             /* [retval][out] */ VARIANT *pTerminals) = 0;
  1190.         
  1191.     };
  1192.     
  1193. #else  /* C style interface */
  1194.     typedef struct ITStreamVtbl
  1195.     {
  1196.         BEGIN_INTERFACE
  1197.         
  1198.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1199.             ITStream * This,
  1200.             /* [in] */ REFIID riid,
  1201.             /* [iid_is][out] */ void **ppvObject);
  1202.         
  1203.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1204.             ITStream * This);
  1205.         
  1206.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1207.             ITStream * This);
  1208.         
  1209.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1210.             ITStream * This,
  1211.             /* [out] */ UINT *pctinfo);
  1212.         
  1213.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1214.             ITStream * This,
  1215.             /* [in] */ UINT iTInfo,
  1216.             /* [in] */ LCID lcid,
  1217.             /* [out] */ ITypeInfo **ppTInfo);
  1218.         
  1219.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1220.             ITStream * This,
  1221.             /* [in] */ REFIID riid,
  1222.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1223.             /* [in] */ UINT cNames,
  1224.             /* [in] */ LCID lcid,
  1225.             /* [size_is][out] */ DISPID *rgDispId);
  1226.         
  1227.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1228.             ITStream * This,
  1229.             /* [in] */ DISPID dispIdMember,
  1230.             /* [in] */ REFIID riid,
  1231.             /* [in] */ LCID lcid,
  1232.             /* [in] */ WORD wFlags,
  1233.             /* [out][in] */ DISPPARAMS *pDispParams,
  1234.             /* [out] */ VARIANT *pVarResult,
  1235.             /* [out] */ EXCEPINFO *pExcepInfo,
  1236.             /* [out] */ UINT *puArgErr);
  1237.         
  1238.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MediaType )( 
  1239.             ITStream * This,
  1240.             /* [retval][out] */ long *plMediaType);
  1241.         
  1242.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Direction )( 
  1243.             ITStream * This,
  1244.             /* [retval][out] */ TERMINAL_DIRECTION *pTD);
  1245.         
  1246.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
  1247.             ITStream * This,
  1248.             /* [retval][out] */ BSTR *ppName);
  1249.         
  1250.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StartStream )( 
  1251.             ITStream * This);
  1252.         
  1253.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PauseStream )( 
  1254.             ITStream * This);
  1255.         
  1256.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StopStream )( 
  1257.             ITStream * This);
  1258.         
  1259.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SelectTerminal )( 
  1260.             ITStream * This,
  1261.             /* [in] */ ITTerminal *pTerminal);
  1262.         
  1263.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *UnselectTerminal )( 
  1264.             ITStream * This,
  1265.             /* [in] */ ITTerminal *pTerminal);
  1266.         
  1267.         /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateTerminals )( 
  1268.             ITStream * This,
  1269.             /* [out] */ IEnumTerminal **ppEnumTerminal);
  1270.         
  1271.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Terminals )( 
  1272.             ITStream * This,
  1273.             /* [retval][out] */ VARIANT *pTerminals);
  1274.         
  1275.         END_INTERFACE
  1276.     } ITStreamVtbl;
  1277.     interface ITStream
  1278.     {
  1279.         CONST_VTBL struct ITStreamVtbl *lpVtbl;
  1280.     };
  1281.     
  1282. #ifdef COBJMACROS
  1283. #define ITStream_QueryInterface(This,riid,ppvObject)
  1284.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1285. #define ITStream_AddRef(This)
  1286.     (This)->lpVtbl -> AddRef(This)
  1287. #define ITStream_Release(This)
  1288.     (This)->lpVtbl -> Release(This)
  1289. #define ITStream_GetTypeInfoCount(This,pctinfo)
  1290.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1291. #define ITStream_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1292.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1293. #define ITStream_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1294.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1295. #define ITStream_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1296.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1297. #define ITStream_get_MediaType(This,plMediaType)
  1298.     (This)->lpVtbl -> get_MediaType(This,plMediaType)
  1299. #define ITStream_get_Direction(This,pTD)
  1300.     (This)->lpVtbl -> get_Direction(This,pTD)
  1301. #define ITStream_get_Name(This,ppName)
  1302.     (This)->lpVtbl -> get_Name(This,ppName)
  1303. #define ITStream_StartStream(This)
  1304.     (This)->lpVtbl -> StartStream(This)
  1305. #define ITStream_PauseStream(This)
  1306.     (This)->lpVtbl -> PauseStream(This)
  1307. #define ITStream_StopStream(This)
  1308.     (This)->lpVtbl -> StopStream(This)
  1309. #define ITStream_SelectTerminal(This,pTerminal)
  1310.     (This)->lpVtbl -> SelectTerminal(This,pTerminal)
  1311. #define ITStream_UnselectTerminal(This,pTerminal)
  1312.     (This)->lpVtbl -> UnselectTerminal(This,pTerminal)
  1313. #define ITStream_EnumerateTerminals(This,ppEnumTerminal)
  1314.     (This)->lpVtbl -> EnumerateTerminals(This,ppEnumTerminal)
  1315. #define ITStream_get_Terminals(This,pTerminals)
  1316.     (This)->lpVtbl -> get_Terminals(This,pTerminals)
  1317. #endif /* COBJMACROS */
  1318. #endif  /* C style interface */
  1319. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITStream_get_MediaType_Proxy( 
  1320.     ITStream * This,
  1321.     /* [retval][out] */ long *plMediaType);
  1322. void __RPC_STUB ITStream_get_MediaType_Stub(
  1323.     IRpcStubBuffer *This,
  1324.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1325.     PRPC_MESSAGE _pRpcMessage,
  1326.     DWORD *_pdwStubPhase);
  1327. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITStream_get_Direction_Proxy( 
  1328.     ITStream * This,
  1329.     /* [retval][out] */ TERMINAL_DIRECTION *pTD);
  1330. void __RPC_STUB ITStream_get_Direction_Stub(
  1331.     IRpcStubBuffer *This,
  1332.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1333.     PRPC_MESSAGE _pRpcMessage,
  1334.     DWORD *_pdwStubPhase);
  1335. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITStream_get_Name_Proxy( 
  1336.     ITStream * This,
  1337.     /* [retval][out] */ BSTR *ppName);
  1338. void __RPC_STUB ITStream_get_Name_Stub(
  1339.     IRpcStubBuffer *This,
  1340.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1341.     PRPC_MESSAGE _pRpcMessage,
  1342.     DWORD *_pdwStubPhase);
  1343. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITStream_StartStream_Proxy( 
  1344.     ITStream * This);
  1345. void __RPC_STUB ITStream_StartStream_Stub(
  1346.     IRpcStubBuffer *This,
  1347.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1348.     PRPC_MESSAGE _pRpcMessage,
  1349.     DWORD *_pdwStubPhase);
  1350. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITStream_PauseStream_Proxy( 
  1351.     ITStream * This);
  1352. void __RPC_STUB ITStream_PauseStream_Stub(
  1353.     IRpcStubBuffer *This,
  1354.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1355.     PRPC_MESSAGE _pRpcMessage,
  1356.     DWORD *_pdwStubPhase);
  1357. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITStream_StopStream_Proxy( 
  1358.     ITStream * This);
  1359. void __RPC_STUB ITStream_StopStream_Stub(
  1360.     IRpcStubBuffer *This,
  1361.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1362.     PRPC_MESSAGE _pRpcMessage,
  1363.     DWORD *_pdwStubPhase);
  1364. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITStream_SelectTerminal_Proxy( 
  1365.     ITStream * This,
  1366.     /* [in] */ ITTerminal *pTerminal);
  1367. void __RPC_STUB ITStream_SelectTerminal_Stub(
  1368.     IRpcStubBuffer *This,
  1369.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1370.     PRPC_MESSAGE _pRpcMessage,
  1371.     DWORD *_pdwStubPhase);
  1372. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITStream_UnselectTerminal_Proxy( 
  1373.     ITStream * This,
  1374.     /* [in] */ ITTerminal *pTerminal);
  1375. void __RPC_STUB ITStream_UnselectTerminal_Stub(
  1376.     IRpcStubBuffer *This,
  1377.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1378.     PRPC_MESSAGE _pRpcMessage,
  1379.     DWORD *_pdwStubPhase);
  1380. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITStream_EnumerateTerminals_Proxy( 
  1381.     ITStream * This,
  1382.     /* [out] */ IEnumTerminal **ppEnumTerminal);
  1383. void __RPC_STUB ITStream_EnumerateTerminals_Stub(
  1384.     IRpcStubBuffer *This,
  1385.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1386.     PRPC_MESSAGE _pRpcMessage,
  1387.     DWORD *_pdwStubPhase);
  1388. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITStream_get_Terminals_Proxy( 
  1389.     ITStream * This,
  1390.     /* [retval][out] */ VARIANT *pTerminals);
  1391. void __RPC_STUB ITStream_get_Terminals_Stub(
  1392.     IRpcStubBuffer *This,
  1393.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1394.     PRPC_MESSAGE _pRpcMessage,
  1395.     DWORD *_pdwStubPhase);
  1396. #endif  /* __ITStream_INTERFACE_DEFINED__ */
  1397. #ifndef __IEnumStream_INTERFACE_DEFINED__
  1398. #define __IEnumStream_INTERFACE_DEFINED__
  1399. /* interface IEnumStream */
  1400. /* [object][unique][hidden][helpstring][uuid] */ 
  1401. EXTERN_C const IID IID_IEnumStream;
  1402. #if defined(__cplusplus) && !defined(CINTERFACE)
  1403.     
  1404.     MIDL_INTERFACE("EE3BD606-3868-11d2-A045-00C04FB6809F")
  1405.     IEnumStream : public IUnknown
  1406.     {
  1407.     public:
  1408.         virtual HRESULT STDMETHODCALLTYPE Next( 
  1409.             /* [in] */ ULONG celt,
  1410.             /* [out] */ ITStream **ppElements,
  1411.             /* [full][out][in] */ ULONG *pceltFetched) = 0;
  1412.         
  1413.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1414.         
  1415.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  1416.             /* [in] */ ULONG celt) = 0;
  1417.         
  1418.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  1419.             /* [retval][out] */ IEnumStream **ppEnum) = 0;
  1420.         
  1421.     };
  1422.     
  1423. #else  /* C style interface */
  1424.     typedef struct IEnumStreamVtbl
  1425.     {
  1426.         BEGIN_INTERFACE
  1427.         
  1428.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1429.             IEnumStream * This,
  1430.             /* [in] */ REFIID riid,
  1431.             /* [iid_is][out] */ void **ppvObject);
  1432.         
  1433.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1434.             IEnumStream * This);
  1435.         
  1436.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1437.             IEnumStream * This);
  1438.         
  1439.         HRESULT ( STDMETHODCALLTYPE *Next )( 
  1440.             IEnumStream * This,
  1441.             /* [in] */ ULONG celt,
  1442.             /* [out] */ ITStream **ppElements,
  1443.             /* [full][out][in] */ ULONG *pceltFetched);
  1444.         
  1445.         HRESULT ( STDMETHODCALLTYPE *Reset )( 
  1446.             IEnumStream * This);
  1447.         
  1448.         HRESULT ( STDMETHODCALLTYPE *Skip )( 
  1449.             IEnumStream * This,
  1450.             /* [in] */ ULONG celt);
  1451.         
  1452.         HRESULT ( STDMETHODCALLTYPE *Clone )( 
  1453.             IEnumStream * This,
  1454.             /* [retval][out] */ IEnumStream **ppEnum);
  1455.         
  1456.         END_INTERFACE
  1457.     } IEnumStreamVtbl;
  1458.     interface IEnumStream
  1459.     {
  1460.         CONST_VTBL struct IEnumStreamVtbl *lpVtbl;
  1461.     };
  1462.     
  1463. #ifdef COBJMACROS
  1464. #define IEnumStream_QueryInterface(This,riid,ppvObject)
  1465.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1466. #define IEnumStream_AddRef(This)
  1467.     (This)->lpVtbl -> AddRef(This)
  1468. #define IEnumStream_Release(This)
  1469.     (This)->lpVtbl -> Release(This)
  1470. #define IEnumStream_Next(This,celt,ppElements,pceltFetched)
  1471.     (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  1472. #define IEnumStream_Reset(This)
  1473.     (This)->lpVtbl -> Reset(This)
  1474. #define IEnumStream_Skip(This,celt)
  1475.     (This)->lpVtbl -> Skip(This,celt)
  1476. #define IEnumStream_Clone(This,ppEnum)
  1477.     (This)->lpVtbl -> Clone(This,ppEnum)
  1478. #endif /* COBJMACROS */
  1479. #endif  /* C style interface */
  1480. HRESULT STDMETHODCALLTYPE IEnumStream_Next_Proxy( 
  1481.     IEnumStream * This,
  1482.     /* [in] */ ULONG celt,
  1483.     /* [out] */ ITStream **ppElements,
  1484.     /* [full][out][in] */ ULONG *pceltFetched);
  1485. void __RPC_STUB IEnumStream_Next_Stub(
  1486.     IRpcStubBuffer *This,
  1487.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1488.     PRPC_MESSAGE _pRpcMessage,
  1489.     DWORD *_pdwStubPhase);
  1490. HRESULT STDMETHODCALLTYPE IEnumStream_Reset_Proxy( 
  1491.     IEnumStream * This);
  1492. void __RPC_STUB IEnumStream_Reset_Stub(
  1493.     IRpcStubBuffer *This,
  1494.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1495.     PRPC_MESSAGE _pRpcMessage,
  1496.     DWORD *_pdwStubPhase);
  1497. HRESULT STDMETHODCALLTYPE IEnumStream_Skip_Proxy( 
  1498.     IEnumStream * This,
  1499.     /* [in] */ ULONG celt);
  1500. void __RPC_STUB IEnumStream_Skip_Stub(
  1501.     IRpcStubBuffer *This,
  1502.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1503.     PRPC_MESSAGE _pRpcMessage,
  1504.     DWORD *_pdwStubPhase);
  1505. HRESULT STDMETHODCALLTYPE IEnumStream_Clone_Proxy( 
  1506.     IEnumStream * This,
  1507.     /* [retval][out] */ IEnumStream **ppEnum);
  1508. void __RPC_STUB IEnumStream_Clone_Stub(
  1509.     IRpcStubBuffer *This,
  1510.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1511.     PRPC_MESSAGE _pRpcMessage,
  1512.     DWORD *_pdwStubPhase);
  1513. #endif  /* __IEnumStream_INTERFACE_DEFINED__ */
  1514. #ifndef __ITSubStreamControl_INTERFACE_DEFINED__
  1515. #define __ITSubStreamControl_INTERFACE_DEFINED__
  1516. /* interface ITSubStreamControl */
  1517. /* [object][dual][unique][helpstring][uuid] */ 
  1518. EXTERN_C const IID IID_ITSubStreamControl;
  1519. #if defined(__cplusplus) && !defined(CINTERFACE)
  1520.     
  1521.     MIDL_INTERFACE("EE3BD607-3868-11D2-A045-00C04FB6809F")
  1522.     ITSubStreamControl : public IDispatch
  1523.     {
  1524.     public:
  1525.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateSubStream( 
  1526.             /* [retval][out] */ ITSubStream **ppSubStream) = 0;
  1527.         
  1528.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveSubStream( 
  1529.             /* [in] */ ITSubStream *pSubStream) = 0;
  1530.         
  1531.         virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateSubStreams( 
  1532.             /* [out] */ IEnumSubStream **ppEnumSubStream) = 0;
  1533.         
  1534.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SubStreams( 
  1535.             /* [retval][out] */ VARIANT *pVariant) = 0;
  1536.         
  1537.     };
  1538.     
  1539. #else  /* C style interface */
  1540.     typedef struct ITSubStreamControlVtbl
  1541.     {
  1542.         BEGIN_INTERFACE
  1543.         
  1544.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1545.             ITSubStreamControl * This,
  1546.             /* [in] */ REFIID riid,
  1547.             /* [iid_is][out] */ void **ppvObject);
  1548.         
  1549.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1550.             ITSubStreamControl * This);
  1551.         
  1552.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1553.             ITSubStreamControl * This);
  1554.         
  1555.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1556.             ITSubStreamControl * This,
  1557.             /* [out] */ UINT *pctinfo);
  1558.         
  1559.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1560.             ITSubStreamControl * This,
  1561.             /* [in] */ UINT iTInfo,
  1562.             /* [in] */ LCID lcid,
  1563.             /* [out] */ ITypeInfo **ppTInfo);
  1564.         
  1565.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1566.             ITSubStreamControl * This,
  1567.             /* [in] */ REFIID riid,
  1568.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1569.             /* [in] */ UINT cNames,
  1570.             /* [in] */ LCID lcid,
  1571.             /* [size_is][out] */ DISPID *rgDispId);
  1572.         
  1573.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1574.             ITSubStreamControl * This,
  1575.             /* [in] */ DISPID dispIdMember,
  1576.             /* [in] */ REFIID riid,
  1577.             /* [in] */ LCID lcid,
  1578.             /* [in] */ WORD wFlags,
  1579.             /* [out][in] */ DISPPARAMS *pDispParams,
  1580.             /* [out] */ VARIANT *pVarResult,
  1581.             /* [out] */ EXCEPINFO *pExcepInfo,
  1582.             /* [out] */ UINT *puArgErr);
  1583.         
  1584.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateSubStream )( 
  1585.             ITSubStreamControl * This,
  1586.             /* [retval][out] */ ITSubStream **ppSubStream);
  1587.         
  1588.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveSubStream )( 
  1589.             ITSubStreamControl * This,
  1590.             /* [in] */ ITSubStream *pSubStream);
  1591.         
  1592.         /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateSubStreams )( 
  1593.             ITSubStreamControl * This,
  1594.             /* [out] */ IEnumSubStream **ppEnumSubStream);
  1595.         
  1596.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubStreams )( 
  1597.             ITSubStreamControl * This,
  1598.             /* [retval][out] */ VARIANT *pVariant);
  1599.         
  1600.         END_INTERFACE
  1601.     } ITSubStreamControlVtbl;
  1602.     interface ITSubStreamControl
  1603.     {
  1604.         CONST_VTBL struct ITSubStreamControlVtbl *lpVtbl;
  1605.     };
  1606.     
  1607. #ifdef COBJMACROS
  1608. #define ITSubStreamControl_QueryInterface(This,riid,ppvObject)
  1609.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1610. #define ITSubStreamControl_AddRef(This)
  1611.     (This)->lpVtbl -> AddRef(This)
  1612. #define ITSubStreamControl_Release(This)
  1613.     (This)->lpVtbl -> Release(This)
  1614. #define ITSubStreamControl_GetTypeInfoCount(This,pctinfo)
  1615.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1616. #define ITSubStreamControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1617.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1618. #define ITSubStreamControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1619.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1620. #define ITSubStreamControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1621.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1622. #define ITSubStreamControl_CreateSubStream(This,ppSubStream)
  1623.     (This)->lpVtbl -> CreateSubStream(This,ppSubStream)
  1624. #define ITSubStreamControl_RemoveSubStream(This,pSubStream)
  1625.     (This)->lpVtbl -> RemoveSubStream(This,pSubStream)
  1626. #define ITSubStreamControl_EnumerateSubStreams(This,ppEnumSubStream)
  1627.     (This)->lpVtbl -> EnumerateSubStreams(This,ppEnumSubStream)
  1628. #define ITSubStreamControl_get_SubStreams(This,pVariant)
  1629.     (This)->lpVtbl -> get_SubStreams(This,pVariant)
  1630. #endif /* COBJMACROS */
  1631. #endif  /* C style interface */
  1632. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSubStreamControl_CreateSubStream_Proxy( 
  1633.     ITSubStreamControl * This,
  1634.     /* [retval][out] */ ITSubStream **ppSubStream);
  1635. void __RPC_STUB ITSubStreamControl_CreateSubStream_Stub(
  1636.     IRpcStubBuffer *This,
  1637.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1638.     PRPC_MESSAGE _pRpcMessage,
  1639.     DWORD *_pdwStubPhase);
  1640. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSubStreamControl_RemoveSubStream_Proxy( 
  1641.     ITSubStreamControl * This,
  1642.     /* [in] */ ITSubStream *pSubStream);
  1643. void __RPC_STUB ITSubStreamControl_RemoveSubStream_Stub(
  1644.     IRpcStubBuffer *This,
  1645.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1646.     PRPC_MESSAGE _pRpcMessage,
  1647.     DWORD *_pdwStubPhase);
  1648. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITSubStreamControl_EnumerateSubStreams_Proxy( 
  1649.     ITSubStreamControl * This,
  1650.     /* [out] */ IEnumSubStream **ppEnumSubStream);
  1651. void __RPC_STUB ITSubStreamControl_EnumerateSubStreams_Stub(
  1652.     IRpcStubBuffer *This,
  1653.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1654.     PRPC_MESSAGE _pRpcMessage,
  1655.     DWORD *_pdwStubPhase);
  1656. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITSubStreamControl_get_SubStreams_Proxy( 
  1657.     ITSubStreamControl * This,
  1658.     /* [retval][out] */ VARIANT *pVariant);
  1659. void __RPC_STUB ITSubStreamControl_get_SubStreams_Stub(
  1660.     IRpcStubBuffer *This,
  1661.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1662.     PRPC_MESSAGE _pRpcMessage,
  1663.     DWORD *_pdwStubPhase);
  1664. #endif  /* __ITSubStreamControl_INTERFACE_DEFINED__ */
  1665. #ifndef __ITSubStream_INTERFACE_DEFINED__
  1666. #define __ITSubStream_INTERFACE_DEFINED__
  1667. /* interface ITSubStream */
  1668. /* [object][dual][unique][helpstring][uuid] */ 
  1669. EXTERN_C const IID IID_ITSubStream;
  1670. #if defined(__cplusplus) && !defined(CINTERFACE)
  1671.     
  1672.     MIDL_INTERFACE("EE3BD608-3868-11D2-A045-00C04FB6809F")
  1673.     ITSubStream : public IDispatch
  1674.     {
  1675.     public:
  1676.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StartSubStream( void) = 0;
  1677.         
  1678.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PauseSubStream( void) = 0;
  1679.         
  1680.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StopSubStream( void) = 0;
  1681.         
  1682.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SelectTerminal( 
  1683.             /* [in] */ ITTerminal *pTerminal) = 0;
  1684.         
  1685.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UnselectTerminal( 
  1686.             /* [in] */ ITTerminal *pTerminal) = 0;
  1687.         
  1688.         virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateTerminals( 
  1689.             /* [out] */ IEnumTerminal **ppEnumTerminal) = 0;
  1690.         
  1691.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Terminals( 
  1692.             /* [retval][out] */ VARIANT *pTerminals) = 0;
  1693.         
  1694.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Stream( 
  1695.             /* [retval][out] */ ITStream **ppITStream) = 0;
  1696.         
  1697.     };
  1698.     
  1699. #else  /* C style interface */
  1700.     typedef struct ITSubStreamVtbl
  1701.     {
  1702.         BEGIN_INTERFACE
  1703.         
  1704.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1705.             ITSubStream * This,
  1706.             /* [in] */ REFIID riid,
  1707.             /* [iid_is][out] */ void **ppvObject);
  1708.         
  1709.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1710.             ITSubStream * This);
  1711.         
  1712.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1713.             ITSubStream * This);
  1714.         
  1715.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1716.             ITSubStream * This,
  1717.             /* [out] */ UINT *pctinfo);
  1718.         
  1719.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1720.             ITSubStream * This,
  1721.             /* [in] */ UINT iTInfo,
  1722.             /* [in] */ LCID lcid,
  1723.             /* [out] */ ITypeInfo **ppTInfo);
  1724.         
  1725.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1726.             ITSubStream * This,
  1727.             /* [in] */ REFIID riid,
  1728.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1729.             /* [in] */ UINT cNames,
  1730.             /* [in] */ LCID lcid,
  1731.             /* [size_is][out] */ DISPID *rgDispId);
  1732.         
  1733.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1734.             ITSubStream * This,
  1735.             /* [in] */ DISPID dispIdMember,
  1736.             /* [in] */ REFIID riid,
  1737.             /* [in] */ LCID lcid,
  1738.             /* [in] */ WORD wFlags,
  1739.             /* [out][in] */ DISPPARAMS *pDispParams,
  1740.             /* [out] */ VARIANT *pVarResult,
  1741.             /* [out] */ EXCEPINFO *pExcepInfo,
  1742.             /* [out] */ UINT *puArgErr);
  1743.         
  1744.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StartSubStream )( 
  1745.             ITSubStream * This);
  1746.         
  1747.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PauseSubStream )( 
  1748.             ITSubStream * This);
  1749.         
  1750.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StopSubStream )( 
  1751.             ITSubStream * This);
  1752.         
  1753.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SelectTerminal )( 
  1754.             ITSubStream * This,
  1755.             /* [in] */ ITTerminal *pTerminal);
  1756.         
  1757.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *UnselectTerminal )( 
  1758.             ITSubStream * This,
  1759.             /* [in] */ ITTerminal *pTerminal);
  1760.         
  1761.         /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateTerminals )( 
  1762.             ITSubStream * This,
  1763.             /* [out] */ IEnumTerminal **ppEnumTerminal);
  1764.         
  1765.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Terminals )( 
  1766.             ITSubStream * This,
  1767.             /* [retval][out] */ VARIANT *pTerminals);
  1768.         
  1769.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Stream )( 
  1770.             ITSubStream * This,
  1771.             /* [retval][out] */ ITStream **ppITStream);
  1772.         
  1773.         END_INTERFACE
  1774.     } ITSubStreamVtbl;
  1775.     interface ITSubStream
  1776.     {
  1777.         CONST_VTBL struct ITSubStreamVtbl *lpVtbl;
  1778.     };
  1779.     
  1780. #ifdef COBJMACROS
  1781. #define ITSubStream_QueryInterface(This,riid,ppvObject)
  1782.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1783. #define ITSubStream_AddRef(This)
  1784.     (This)->lpVtbl -> AddRef(This)
  1785. #define ITSubStream_Release(This)
  1786.     (This)->lpVtbl -> Release(This)
  1787. #define ITSubStream_GetTypeInfoCount(This,pctinfo)
  1788.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1789. #define ITSubStream_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1790.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1791. #define ITSubStream_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1792.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1793. #define ITSubStream_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1794.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1795. #define ITSubStream_StartSubStream(This)
  1796.     (This)->lpVtbl -> StartSubStream(This)
  1797. #define ITSubStream_PauseSubStream(This)
  1798.     (This)->lpVtbl -> PauseSubStream(This)
  1799. #define ITSubStream_StopSubStream(This)
  1800.     (This)->lpVtbl -> StopSubStream(This)
  1801. #define ITSubStream_SelectTerminal(This,pTerminal)
  1802.     (This)->lpVtbl -> SelectTerminal(This,pTerminal)
  1803. #define ITSubStream_UnselectTerminal(This,pTerminal)
  1804.     (This)->lpVtbl -> UnselectTerminal(This,pTerminal)
  1805. #define ITSubStream_EnumerateTerminals(This,ppEnumTerminal)
  1806.     (This)->lpVtbl -> EnumerateTerminals(This,ppEnumTerminal)
  1807. #define ITSubStream_get_Terminals(This,pTerminals)
  1808.     (This)->lpVtbl -> get_Terminals(This,pTerminals)
  1809. #define ITSubStream_get_Stream(This,ppITStream)
  1810.     (This)->lpVtbl -> get_Stream(This,ppITStream)
  1811. #endif /* COBJMACROS */
  1812. #endif  /* C style interface */
  1813. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSubStream_StartSubStream_Proxy( 
  1814.     ITSubStream * This);
  1815. void __RPC_STUB ITSubStream_StartSubStream_Stub(
  1816.     IRpcStubBuffer *This,
  1817.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1818.     PRPC_MESSAGE _pRpcMessage,
  1819.     DWORD *_pdwStubPhase);
  1820. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSubStream_PauseSubStream_Proxy( 
  1821.     ITSubStream * This);
  1822. void __RPC_STUB ITSubStream_PauseSubStream_Stub(
  1823.     IRpcStubBuffer *This,
  1824.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1825.     PRPC_MESSAGE _pRpcMessage,
  1826.     DWORD *_pdwStubPhase);
  1827. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSubStream_StopSubStream_Proxy( 
  1828.     ITSubStream * This);
  1829. void __RPC_STUB ITSubStream_StopSubStream_Stub(
  1830.     IRpcStubBuffer *This,
  1831.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1832.     PRPC_MESSAGE _pRpcMessage,
  1833.     DWORD *_pdwStubPhase);
  1834. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSubStream_SelectTerminal_Proxy( 
  1835.     ITSubStream * This,
  1836.     /* [in] */ ITTerminal *pTerminal);
  1837. void __RPC_STUB ITSubStream_SelectTerminal_Stub(
  1838.     IRpcStubBuffer *This,
  1839.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1840.     PRPC_MESSAGE _pRpcMessage,
  1841.     DWORD *_pdwStubPhase);
  1842. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSubStream_UnselectTerminal_Proxy( 
  1843.     ITSubStream * This,
  1844.     /* [in] */ ITTerminal *pTerminal);
  1845. void __RPC_STUB ITSubStream_UnselectTerminal_Stub(
  1846.     IRpcStubBuffer *This,
  1847.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1848.     PRPC_MESSAGE _pRpcMessage,
  1849.     DWORD *_pdwStubPhase);
  1850. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITSubStream_EnumerateTerminals_Proxy( 
  1851.     ITSubStream * This,
  1852.     /* [out] */ IEnumTerminal **ppEnumTerminal);
  1853. void __RPC_STUB ITSubStream_EnumerateTerminals_Stub(
  1854.     IRpcStubBuffer *This,
  1855.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1856.     PRPC_MESSAGE _pRpcMessage,
  1857.     DWORD *_pdwStubPhase);
  1858. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITSubStream_get_Terminals_Proxy( 
  1859.     ITSubStream * This,
  1860.     /* [retval][out] */ VARIANT *pTerminals);
  1861. void __RPC_STUB ITSubStream_get_Terminals_Stub(
  1862.     IRpcStubBuffer *This,
  1863.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1864.     PRPC_MESSAGE _pRpcMessage,
  1865.     DWORD *_pdwStubPhase);
  1866. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITSubStream_get_Stream_Proxy( 
  1867.     ITSubStream * This,
  1868.     /* [retval][out] */ ITStream **ppITStream);
  1869. void __RPC_STUB ITSubStream_get_Stream_Stub(
  1870.     IRpcStubBuffer *This,
  1871.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1872.     PRPC_MESSAGE _pRpcMessage,
  1873.     DWORD *_pdwStubPhase);
  1874. #endif  /* __ITSubStream_INTERFACE_DEFINED__ */
  1875. #ifndef __IEnumSubStream_INTERFACE_DEFINED__
  1876. #define __IEnumSubStream_INTERFACE_DEFINED__
  1877. /* interface IEnumSubStream */
  1878. /* [object][unique][hidden][helpstring][uuid] */ 
  1879. EXTERN_C const IID IID_IEnumSubStream;
  1880. #if defined(__cplusplus) && !defined(CINTERFACE)
  1881.     
  1882.     MIDL_INTERFACE("EE3BD609-3868-11d2-A045-00C04FB6809F")
  1883.     IEnumSubStream : public IUnknown
  1884.     {
  1885.     public:
  1886.         virtual HRESULT STDMETHODCALLTYPE Next( 
  1887.             /* [in] */ ULONG celt,
  1888.             /* [out] */ ITSubStream **ppElements,
  1889.             /* [full][out][in] */ ULONG *pceltFetched) = 0;
  1890.         
  1891.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1892.         
  1893.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  1894.             /* [in] */ ULONG celt) = 0;
  1895.         
  1896.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  1897.             /* [retval][out] */ IEnumSubStream **ppEnum) = 0;
  1898.         
  1899.     };
  1900.     
  1901. #else  /* C style interface */
  1902.     typedef struct IEnumSubStreamVtbl
  1903.     {
  1904.         BEGIN_INTERFACE
  1905.         
  1906.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1907.             IEnumSubStream * This,
  1908.             /* [in] */ REFIID riid,
  1909.             /* [iid_is][out] */ void **ppvObject);
  1910.         
  1911.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1912.             IEnumSubStream * This);
  1913.         
  1914.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1915.             IEnumSubStream * This);
  1916.         
  1917.         HRESULT ( STDMETHODCALLTYPE *Next )( 
  1918.             IEnumSubStream * This,
  1919.             /* [in] */ ULONG celt,
  1920.             /* [out] */ ITSubStream **ppElements,
  1921.             /* [full][out][in] */ ULONG *pceltFetched);
  1922.         
  1923.         HRESULT ( STDMETHODCALLTYPE *Reset )( 
  1924.             IEnumSubStream * This);
  1925.         
  1926.         HRESULT ( STDMETHODCALLTYPE *Skip )( 
  1927.             IEnumSubStream * This,
  1928.             /* [in] */ ULONG celt);
  1929.         
  1930.         HRESULT ( STDMETHODCALLTYPE *Clone )( 
  1931.             IEnumSubStream * This,
  1932.             /* [retval][out] */ IEnumSubStream **ppEnum);
  1933.         
  1934.         END_INTERFACE
  1935.     } IEnumSubStreamVtbl;
  1936.     interface IEnumSubStream
  1937.     {
  1938.         CONST_VTBL struct IEnumSubStreamVtbl *lpVtbl;
  1939.     };
  1940.     
  1941. #ifdef COBJMACROS
  1942. #define IEnumSubStream_QueryInterface(This,riid,ppvObject)
  1943.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1944. #define IEnumSubStream_AddRef(This)
  1945.     (This)->lpVtbl -> AddRef(This)
  1946. #define IEnumSubStream_Release(This)
  1947.     (This)->lpVtbl -> Release(This)
  1948. #define IEnumSubStream_Next(This,celt,ppElements,pceltFetched)
  1949.     (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  1950. #define IEnumSubStream_Reset(This)
  1951.     (This)->lpVtbl -> Reset(This)
  1952. #define IEnumSubStream_Skip(This,celt)
  1953.     (This)->lpVtbl -> Skip(This,celt)
  1954. #define IEnumSubStream_Clone(This,ppEnum)
  1955.     (This)->lpVtbl -> Clone(This,ppEnum)
  1956. #endif /* COBJMACROS */
  1957. #endif  /* C style interface */
  1958. HRESULT STDMETHODCALLTYPE IEnumSubStream_Next_Proxy( 
  1959.     IEnumSubStream * This,
  1960.     /* [in] */ ULONG celt,
  1961.     /* [out] */ ITSubStream **ppElements,
  1962.     /* [full][out][in] */ ULONG *pceltFetched);
  1963. void __RPC_STUB IEnumSubStream_Next_Stub(
  1964.     IRpcStubBuffer *This,
  1965.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1966.     PRPC_MESSAGE _pRpcMessage,
  1967.     DWORD *_pdwStubPhase);
  1968. HRESULT STDMETHODCALLTYPE IEnumSubStream_Reset_Proxy( 
  1969.     IEnumSubStream * This);
  1970. void __RPC_STUB IEnumSubStream_Reset_Stub(
  1971.     IRpcStubBuffer *This,
  1972.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1973.     PRPC_MESSAGE _pRpcMessage,
  1974.     DWORD *_pdwStubPhase);
  1975. HRESULT STDMETHODCALLTYPE IEnumSubStream_Skip_Proxy( 
  1976.     IEnumSubStream * This,
  1977.     /* [in] */ ULONG celt);
  1978. void __RPC_STUB IEnumSubStream_Skip_Stub(
  1979.     IRpcStubBuffer *This,
  1980.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1981.     PRPC_MESSAGE _pRpcMessage,
  1982.     DWORD *_pdwStubPhase);
  1983. HRESULT STDMETHODCALLTYPE IEnumSubStream_Clone_Proxy( 
  1984.     IEnumSubStream * This,
  1985.     /* [retval][out] */ IEnumSubStream **ppEnum);
  1986. void __RPC_STUB IEnumSubStream_Clone_Stub(
  1987.     IRpcStubBuffer *This,
  1988.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1989.     PRPC_MESSAGE _pRpcMessage,
  1990.     DWORD *_pdwStubPhase);
  1991. #endif  /* __IEnumSubStream_INTERFACE_DEFINED__ */
  1992. #ifndef __ITLegacyWaveSupport_INTERFACE_DEFINED__
  1993. #define __ITLegacyWaveSupport_INTERFACE_DEFINED__
  1994. /* interface ITLegacyWaveSupport */
  1995. /* [object][dual][helpstring][uuid] */ 
  1996. EXTERN_C const IID IID_ITLegacyWaveSupport;
  1997. #if defined(__cplusplus) && !defined(CINTERFACE)
  1998.     
  1999.     MIDL_INTERFACE("207823EA-E252-11d2-B77E-0080C7135381")
  2000.     ITLegacyWaveSupport : public IDispatch
  2001.     {
  2002.     public:
  2003.         virtual HRESULT STDMETHODCALLTYPE IsFullDuplex( 
  2004.             /* [out] */ FULLDUPLEX_SUPPORT *pSupport) = 0;
  2005.         
  2006.     };
  2007.     
  2008. #else  /* C style interface */
  2009.     typedef struct ITLegacyWaveSupportVtbl
  2010.     {
  2011.         BEGIN_INTERFACE
  2012.         
  2013.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2014.             ITLegacyWaveSupport * This,
  2015.             /* [in] */ REFIID riid,
  2016.             /* [iid_is][out] */ void **ppvObject);
  2017.         
  2018.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2019.             ITLegacyWaveSupport * This);
  2020.         
  2021.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2022.             ITLegacyWaveSupport * This);
  2023.         
  2024.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2025.             ITLegacyWaveSupport * This,
  2026.             /* [out] */ UINT *pctinfo);
  2027.         
  2028.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2029.             ITLegacyWaveSupport * This,
  2030.             /* [in] */ UINT iTInfo,
  2031.             /* [in] */ LCID lcid,
  2032.             /* [out] */ ITypeInfo **ppTInfo);
  2033.         
  2034.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2035.             ITLegacyWaveSupport * This,
  2036.             /* [in] */ REFIID riid,
  2037.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2038.             /* [in] */ UINT cNames,
  2039.             /* [in] */ LCID lcid,
  2040.             /* [size_is][out] */ DISPID *rgDispId);
  2041.         
  2042.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2043.             ITLegacyWaveSupport * This,
  2044.             /* [in] */ DISPID dispIdMember,
  2045.             /* [in] */ REFIID riid,
  2046.             /* [in] */ LCID lcid,
  2047.             /* [in] */ WORD wFlags,
  2048.             /* [out][in] */ DISPPARAMS *pDispParams,
  2049.             /* [out] */ VARIANT *pVarResult,
  2050.             /* [out] */ EXCEPINFO *pExcepInfo,
  2051.             /* [out] */ UINT *puArgErr);
  2052.         
  2053.         HRESULT ( STDMETHODCALLTYPE *IsFullDuplex )( 
  2054.             ITLegacyWaveSupport * This,
  2055.             /* [out] */ FULLDUPLEX_SUPPORT *pSupport);
  2056.         
  2057.         END_INTERFACE
  2058.     } ITLegacyWaveSupportVtbl;
  2059.     interface ITLegacyWaveSupport
  2060.     {
  2061.         CONST_VTBL struct ITLegacyWaveSupportVtbl *lpVtbl;
  2062.     };
  2063.     
  2064. #ifdef COBJMACROS
  2065. #define ITLegacyWaveSupport_QueryInterface(This,riid,ppvObject)
  2066.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2067. #define ITLegacyWaveSupport_AddRef(This)
  2068.     (This)->lpVtbl -> AddRef(This)
  2069. #define ITLegacyWaveSupport_Release(This)
  2070.     (This)->lpVtbl -> Release(This)
  2071. #define ITLegacyWaveSupport_GetTypeInfoCount(This,pctinfo)
  2072.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2073. #define ITLegacyWaveSupport_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2074.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2075. #define ITLegacyWaveSupport_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2076.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2077. #define ITLegacyWaveSupport_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2078.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2079. #define ITLegacyWaveSupport_IsFullDuplex(This,pSupport)
  2080.     (This)->lpVtbl -> IsFullDuplex(This,pSupport)
  2081. #endif /* COBJMACROS */
  2082. #endif  /* C style interface */
  2083. HRESULT STDMETHODCALLTYPE ITLegacyWaveSupport_IsFullDuplex_Proxy( 
  2084.     ITLegacyWaveSupport * This,
  2085.     /* [out] */ FULLDUPLEX_SUPPORT *pSupport);
  2086. void __RPC_STUB ITLegacyWaveSupport_IsFullDuplex_Stub(
  2087.     IRpcStubBuffer *This,
  2088.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2089.     PRPC_MESSAGE _pRpcMessage,
  2090.     DWORD *_pdwStubPhase);
  2091. #endif  /* __ITLegacyWaveSupport_INTERFACE_DEFINED__ */
  2092. #ifndef __ITBasicCallControl2_INTERFACE_DEFINED__
  2093. #define __ITBasicCallControl2_INTERFACE_DEFINED__
  2094. /* interface ITBasicCallControl2 */
  2095. /* [object][dual][helpstring][uuid] */ 
  2096. EXTERN_C const IID IID_ITBasicCallControl2;
  2097. #if defined(__cplusplus) && !defined(CINTERFACE)
  2098.     
  2099.     MIDL_INTERFACE("161A4A56-1E99-4b3f-A46A-168F38A5EE4C")
  2100.     ITBasicCallControl2 : public ITBasicCallControl
  2101.     {
  2102.     public:
  2103.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RequestTerminal( 
  2104.             /* [in] */ BSTR bstrTerminalClassGUID,
  2105.             /* [in] */ long lMediaType,
  2106.             /* [in] */ TERMINAL_DIRECTION Direction,
  2107.             /* [retval][out] */ ITTerminal **ppTerminal) = 0;
  2108.         
  2109.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SelectTerminalOnCall( 
  2110.             /* [in] */ ITTerminal *pTerminal) = 0;
  2111.         
  2112.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UnselectTerminalOnCall( 
  2113.             /* [in] */ ITTerminal *pTerminal) = 0;
  2114.         
  2115.     };
  2116.     
  2117. #else  /* C style interface */
  2118.     typedef struct ITBasicCallControl2Vtbl
  2119.     {
  2120.         BEGIN_INTERFACE
  2121.         
  2122.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2123.             ITBasicCallControl2 * This,
  2124.             /* [in] */ REFIID riid,
  2125.             /* [iid_is][out] */ void **ppvObject);
  2126.         
  2127.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2128.             ITBasicCallControl2 * This);
  2129.         
  2130.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2131.             ITBasicCallControl2 * This);
  2132.         
  2133.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2134.             ITBasicCallControl2 * This,
  2135.             /* [out] */ UINT *pctinfo);
  2136.         
  2137.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2138.             ITBasicCallControl2 * This,
  2139.             /* [in] */ UINT iTInfo,
  2140.             /* [in] */ LCID lcid,
  2141.             /* [out] */ ITypeInfo **ppTInfo);
  2142.         
  2143.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2144.             ITBasicCallControl2 * This,
  2145.             /* [in] */ REFIID riid,
  2146.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2147.             /* [in] */ UINT cNames,
  2148.             /* [in] */ LCID lcid,
  2149.             /* [size_is][out] */ DISPID *rgDispId);
  2150.         
  2151.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2152.             ITBasicCallControl2 * This,
  2153.             /* [in] */ DISPID dispIdMember,
  2154.             /* [in] */ REFIID riid,
  2155.             /* [in] */ LCID lcid,
  2156.             /* [in] */ WORD wFlags,
  2157.             /* [out][in] */ DISPPARAMS *pDispParams,
  2158.             /* [out] */ VARIANT *pVarResult,
  2159.             /* [out] */ EXCEPINFO *pExcepInfo,
  2160.             /* [out] */ UINT *puArgErr);
  2161.         
  2162.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Connect )( 
  2163.             ITBasicCallControl2 * This,
  2164.             /* [in] */ VARIANT_BOOL fSync);
  2165.         
  2166.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Answer )( 
  2167.             ITBasicCallControl2 * This);
  2168.         
  2169.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Disconnect )( 
  2170.             ITBasicCallControl2 * This,
  2171.             /* [in] */ DISCONNECT_CODE code);
  2172.         
  2173.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Hold )( 
  2174.             ITBasicCallControl2 * This,
  2175.             /* [in] */ VARIANT_BOOL fHold);
  2176.         
  2177.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *HandoffDirect )( 
  2178.             ITBasicCallControl2 * This,
  2179.             /* [in] */ BSTR pApplicationName);
  2180.         
  2181.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *HandoffIndirect )( 
  2182.             ITBasicCallControl2 * This,
  2183.             /* [in] */ long lMediaType);
  2184.         
  2185.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Conference )( 
  2186.             ITBasicCallControl2 * This,
  2187.             /* [in] */ ITBasicCallControl *pCall,
  2188.             /* [in] */ VARIANT_BOOL fSync);
  2189.         
  2190.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Transfer )( 
  2191.             ITBasicCallControl2 * This,
  2192.             /* [in] */ ITBasicCallControl *pCall,
  2193.             /* [in] */ VARIANT_BOOL fSync);
  2194.         
  2195.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *BlindTransfer )( 
  2196.             ITBasicCallControl2 * This,
  2197.             /* [in] */ BSTR pDestAddress);
  2198.         
  2199.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SwapHold )( 
  2200.             ITBasicCallControl2 * This,
  2201.             /* [in] */ ITBasicCallControl *pCall);
  2202.         
  2203.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ParkDirect )( 
  2204.             ITBasicCallControl2 * This,
  2205.             /* [in] */ BSTR pParkAddress);
  2206.         
  2207.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ParkIndirect )( 
  2208.             ITBasicCallControl2 * This,
  2209.             /* [retval][out] */ BSTR *ppNonDirAddress);
  2210.         
  2211.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Unpark )( 
  2212.             ITBasicCallControl2 * This);
  2213.         
  2214.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetQOS )( 
  2215.             ITBasicCallControl2 * This,
  2216.             /* [in] */ long lMediaType,
  2217.             /* [in] */ QOS_SERVICE_LEVEL ServiceLevel);
  2218.         
  2219.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Pickup )( 
  2220.             ITBasicCallControl2 * This,
  2221.             /* [in] */ BSTR pGroupID);
  2222.         
  2223.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Dial )( 
  2224.             ITBasicCallControl2 * This,
  2225.             /* [in] */ BSTR pDestAddress);
  2226.         
  2227.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Finish )( 
  2228.             ITBasicCallControl2 * This,
  2229.             /* [in] */ FINISH_MODE finishMode);
  2230.         
  2231.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveFromConference )( 
  2232.             ITBasicCallControl2 * This);
  2233.         
  2234.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RequestTerminal )( 
  2235.             ITBasicCallControl2 * This,
  2236.             /* [in] */ BSTR bstrTerminalClassGUID,
  2237.             /* [in] */ long lMediaType,
  2238.             /* [in] */ TERMINAL_DIRECTION Direction,
  2239.             /* [retval][out] */ ITTerminal **ppTerminal);
  2240.         
  2241.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SelectTerminalOnCall )( 
  2242.             ITBasicCallControl2 * This,
  2243.             /* [in] */ ITTerminal *pTerminal);
  2244.         
  2245.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *UnselectTerminalOnCall )( 
  2246.             ITBasicCallControl2 * This,
  2247.             /* [in] */ ITTerminal *pTerminal);
  2248.         
  2249.         END_INTERFACE
  2250.     } ITBasicCallControl2Vtbl;
  2251.     interface ITBasicCallControl2
  2252.     {
  2253.         CONST_VTBL struct ITBasicCallControl2Vtbl *lpVtbl;
  2254.     };
  2255.     
  2256. #ifdef COBJMACROS
  2257. #define ITBasicCallControl2_QueryInterface(This,riid,ppvObject)
  2258.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2259. #define ITBasicCallControl2_AddRef(This)
  2260.     (This)->lpVtbl -> AddRef(This)
  2261. #define ITBasicCallControl2_Release(This)
  2262.     (This)->lpVtbl -> Release(This)
  2263. #define ITBasicCallControl2_GetTypeInfoCount(This,pctinfo)
  2264.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2265. #define ITBasicCallControl2_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2266.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2267. #define ITBasicCallControl2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2268.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2269. #define ITBasicCallControl2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2270.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2271. #define ITBasicCallControl2_Connect(This,fSync)
  2272.     (This)->lpVtbl -> Connect(This,fSync)
  2273. #define ITBasicCallControl2_Answer(This)
  2274.     (This)->lpVtbl -> Answer(This)
  2275. #define ITBasicCallControl2_Disconnect(This,code)
  2276.     (This)->lpVtbl -> Disconnect(This,code)
  2277. #define ITBasicCallControl2_Hold(This,fHold)
  2278.     (This)->lpVtbl -> Hold(This,fHold)
  2279. #define ITBasicCallControl2_HandoffDirect(This,pApplicationName)
  2280.     (This)->lpVtbl -> HandoffDirect(This,pApplicationName)
  2281. #define ITBasicCallControl2_HandoffIndirect(This,lMediaType)
  2282.     (This)->lpVtbl -> HandoffIndirect(This,lMediaType)
  2283. #define ITBasicCallControl2_Conference(This,pCall,fSync)
  2284.     (This)->lpVtbl -> Conference(This,pCall,fSync)
  2285. #define ITBasicCallControl2_Transfer(This,pCall,fSync)
  2286.     (This)->lpVtbl -> Transfer(This,pCall,fSync)
  2287. #define ITBasicCallControl2_BlindTransfer(This,pDestAddress)
  2288.     (This)->lpVtbl -> BlindTransfer(This,pDestAddress)
  2289. #define ITBasicCallControl2_SwapHold(This,pCall)
  2290.     (This)->lpVtbl -> SwapHold(This,pCall)
  2291. #define ITBasicCallControl2_ParkDirect(This,pParkAddress)
  2292.     (This)->lpVtbl -> ParkDirect(This,pParkAddress)
  2293. #define ITBasicCallControl2_ParkIndirect(This,ppNonDirAddress)
  2294.     (This)->lpVtbl -> ParkIndirect(This,ppNonDirAddress)
  2295. #define ITBasicCallControl2_Unpark(This)
  2296.     (This)->lpVtbl -> Unpark(This)
  2297. #define ITBasicCallControl2_SetQOS(This,lMediaType,ServiceLevel)
  2298.     (This)->lpVtbl -> SetQOS(This,lMediaType,ServiceLevel)
  2299. #define ITBasicCallControl2_Pickup(This,pGroupID)
  2300.     (This)->lpVtbl -> Pickup(This,pGroupID)
  2301. #define ITBasicCallControl2_Dial(This,pDestAddress)
  2302.     (This)->lpVtbl -> Dial(This,pDestAddress)
  2303. #define ITBasicCallControl2_Finish(This,finishMode)
  2304.     (This)->lpVtbl -> Finish(This,finishMode)
  2305. #define ITBasicCallControl2_RemoveFromConference(This)
  2306.     (This)->lpVtbl -> RemoveFromConference(This)
  2307. #define ITBasicCallControl2_RequestTerminal(This,bstrTerminalClassGUID,lMediaType,Direction,ppTerminal)
  2308.     (This)->lpVtbl -> RequestTerminal(This,bstrTerminalClassGUID,lMediaType,Direction,ppTerminal)
  2309. #define ITBasicCallControl2_SelectTerminalOnCall(This,pTerminal)
  2310.     (This)->lpVtbl -> SelectTerminalOnCall(This,pTerminal)
  2311. #define ITBasicCallControl2_UnselectTerminalOnCall(This,pTerminal)
  2312.     (This)->lpVtbl -> UnselectTerminalOnCall(This,pTerminal)
  2313. #endif /* COBJMACROS */
  2314. #endif  /* C style interface */
  2315. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl2_RequestTerminal_Proxy( 
  2316.     ITBasicCallControl2 * This,
  2317.     /* [in] */ BSTR bstrTerminalClassGUID,
  2318.     /* [in] */ long lMediaType,
  2319.     /* [in] */ TERMINAL_DIRECTION Direction,
  2320.     /* [retval][out] */ ITTerminal **ppTerminal);
  2321. void __RPC_STUB ITBasicCallControl2_RequestTerminal_Stub(
  2322.     IRpcStubBuffer *This,
  2323.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2324.     PRPC_MESSAGE _pRpcMessage,
  2325.     DWORD *_pdwStubPhase);
  2326. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl2_SelectTerminalOnCall_Proxy( 
  2327.     ITBasicCallControl2 * This,
  2328.     /* [in] */ ITTerminal *pTerminal);
  2329. void __RPC_STUB ITBasicCallControl2_SelectTerminalOnCall_Stub(
  2330.     IRpcStubBuffer *This,
  2331.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2332.     PRPC_MESSAGE _pRpcMessage,
  2333.     DWORD *_pdwStubPhase);
  2334. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl2_UnselectTerminalOnCall_Proxy( 
  2335.     ITBasicCallControl2 * This,
  2336.     /* [in] */ ITTerminal *pTerminal);
  2337. void __RPC_STUB ITBasicCallControl2_UnselectTerminalOnCall_Stub(
  2338.     IRpcStubBuffer *This,
  2339.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2340.     PRPC_MESSAGE _pRpcMessage,
  2341.     DWORD *_pdwStubPhase);
  2342. #endif  /* __ITBasicCallControl2_INTERFACE_DEFINED__ */
  2343. #ifndef __ITScriptableAudioFormat_INTERFACE_DEFINED__
  2344. #define __ITScriptableAudioFormat_INTERFACE_DEFINED__
  2345. /* interface ITScriptableAudioFormat */
  2346. /* [object][dual][helpstring][uuid] */ 
  2347. EXTERN_C const IID IID_ITScriptableAudioFormat;
  2348. #if defined(__cplusplus) && !defined(CINTERFACE)
  2349.     
  2350.     MIDL_INTERFACE("B87658BD-3C59-4f64-BE74-AEDE3E86A81E")
  2351.     ITScriptableAudioFormat : public IDispatch
  2352.     {
  2353.     public:
  2354.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Channels( 
  2355.             /* [retval][out] */ long *pVal) = 0;
  2356.         
  2357.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Channels( 
  2358.             /* [in] */ const long nNewVal) = 0;
  2359.         
  2360.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SamplesPerSec( 
  2361.             /* [retval][out] */ long *pVal) = 0;
  2362.         
  2363.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SamplesPerSec( 
  2364.             /* [in] */ const long nNewVal) = 0;
  2365.         
  2366.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AvgBytesPerSec( 
  2367.             /* [retval][out] */ long *pVal) = 0;
  2368.         
  2369.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AvgBytesPerSec( 
  2370.             /* [in] */ const long nNewVal) = 0;
  2371.         
  2372.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_BlockAlign( 
  2373.             /* [retval][out] */ long *pVal) = 0;
  2374.         
  2375.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_BlockAlign( 
  2376.             /* [in] */ const long nNewVal) = 0;
  2377.         
  2378.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_BitsPerSample( 
  2379.             /* [retval][out] */ long *pVal) = 0;
  2380.         
  2381.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_BitsPerSample( 
  2382.             /* [in] */ const long nNewVal) = 0;
  2383.         
  2384.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FormatTag( 
  2385.             /* [retval][out] */ long *pVal) = 0;
  2386.         
  2387.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FormatTag( 
  2388.             /* [in] */ const long nNewVal) = 0;
  2389.         
  2390.     };
  2391.     
  2392. #else  /* C style interface */
  2393.     typedef struct ITScriptableAudioFormatVtbl
  2394.     {
  2395.         BEGIN_INTERFACE
  2396.         
  2397.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2398.             ITScriptableAudioFormat * This,
  2399.             /* [in] */ REFIID riid,
  2400.             /* [iid_is][out] */ void **ppvObject);
  2401.         
  2402.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2403.             ITScriptableAudioFormat * This);
  2404.         
  2405.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2406.             ITScriptableAudioFormat * This);
  2407.         
  2408.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  2409.             ITScriptableAudioFormat * This,
  2410.             /* [out] */ UINT *pctinfo);
  2411.         
  2412.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  2413.             ITScriptableAudioFormat * This,
  2414.             /* [in] */ UINT iTInfo,
  2415.             /* [in] */ LCID lcid,
  2416.             /* [out] */ ITypeInfo **ppTInfo);
  2417.         
  2418.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  2419.             ITScriptableAudioFormat * This,
  2420.             /* [in] */ REFIID riid,
  2421.             /* [size_is][in] */ LPOLESTR *rgszNames,
  2422.             /* [in] */ UINT cNames,
  2423.             /* [in] */ LCID lcid,
  2424.             /* [size_is][out] */ DISPID *rgDispId);
  2425.         
  2426.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  2427.             ITScriptableAudioFormat * This,
  2428.             /* [in] */ DISPID dispIdMember,
  2429.             /* [in] */ REFIID riid,
  2430.             /* [in] */ LCID lcid,
  2431.             /* [in] */ WORD wFlags,
  2432.             /* [out][in] */ DISPPARAMS *pDispParams,
  2433.             /* [out] */ VARIANT *pVarResult,
  2434.             /* [out] */ EXCEPINFO *pExcepInfo,
  2435.             /* [out] */ UINT *puArgErr);
  2436.         
  2437.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Channels )( 
  2438.             ITScriptableAudioFormat * This,
  2439.             /* [retval][out] */ long *pVal);
  2440.         
  2441.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Channels )( 
  2442.             ITScriptableAudioFormat * This,
  2443.             /* [in] */ const long nNewVal);
  2444.         
  2445.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SamplesPerSec )( 
  2446.             ITScriptableAudioFormat * This,
  2447.             /* [retval][out] */ long *pVal);
  2448.         
  2449.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SamplesPerSec )( 
  2450.             ITScriptableAudioFormat * This,
  2451.             /* [in] */ const long nNewVal);
  2452.         
  2453.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AvgBytesPerSec )( 
  2454.             ITScriptableAudioFormat * This,
  2455.             /* [retval][out] */ long *pVal);
  2456.         
  2457.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AvgBytesPerSec )( 
  2458.             ITScriptableAudioFormat * This,
  2459.             /* [in] */ const long nNewVal);
  2460.         
  2461.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BlockAlign )( 
  2462.             ITScriptableAudioFormat * This,
  2463.             /* [retval][out] */ long *pVal);
  2464.         
  2465.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BlockAlign )( 
  2466.             ITScriptableAudioFormat * This,
  2467.             /* [in] */ const long nNewVal);
  2468.         
  2469.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BitsPerSample )( 
  2470.             ITScriptableAudioFormat * This,
  2471.             /* [retval][out] */ long *pVal);
  2472.         
  2473.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BitsPerSample )( 
  2474.             ITScriptableAudioFormat * This,
  2475.             /* [in] */ const long nNewVal);
  2476.         
  2477.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FormatTag )( 
  2478.             ITScriptableAudioFormat * This,
  2479.             /* [retval][out] */ long *pVal);
  2480.         
  2481.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FormatTag )( 
  2482.             ITScriptableAudioFormat * This,
  2483.             /* [in] */ const long nNewVal);
  2484.         
  2485.         END_INTERFACE
  2486.     } ITScriptableAudioFormatVtbl;
  2487.     interface ITScriptableAudioFormat
  2488.     {
  2489.         CONST_VTBL struct ITScriptableAudioFormatVtbl *lpVtbl;
  2490.     };
  2491.     
  2492. #ifdef COBJMACROS
  2493. #define ITScriptableAudioFormat_QueryInterface(This,riid,ppvObject)
  2494.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2495. #define ITScriptableAudioFormat_AddRef(This)
  2496.     (This)->lpVtbl -> AddRef(This)
  2497. #define ITScriptableAudioFormat_Release(This)
  2498.     (This)->lpVtbl -> Release(This)
  2499. #define ITScriptableAudioFormat_GetTypeInfoCount(This,pctinfo)
  2500.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2501. #define ITScriptableAudioFormat_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2502.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2503. #define ITScriptableAudioFormat_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2504.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2505. #define ITScriptableAudioFormat_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2506.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2507. #define ITScriptableAudioFormat_get_Channels(This,pVal)
  2508.     (This)->lpVtbl -> get_Channels(This,pVal)
  2509. #define ITScriptableAudioFormat_put_Channels(This,nNewVal)
  2510.     (This)->lpVtbl -> put_Channels(This,nNewVal)
  2511. #define ITScriptableAudioFormat_get_SamplesPerSec(This,pVal)
  2512.     (This)->lpVtbl -> get_SamplesPerSec(This,pVal)
  2513. #define ITScriptableAudioFormat_put_SamplesPerSec(This,nNewVal)
  2514.     (This)->lpVtbl -> put_SamplesPerSec(This,nNewVal)
  2515. #define ITScriptableAudioFormat_get_AvgBytesPerSec(This,pVal)
  2516.     (This)->lpVtbl -> get_AvgBytesPerSec(This,pVal)
  2517. #define ITScriptableAudioFormat_put_AvgBytesPerSec(This,nNewVal)
  2518.     (This)->lpVtbl -> put_AvgBytesPerSec(This,nNewVal)
  2519. #define ITScriptableAudioFormat_get_BlockAlign(This,pVal)
  2520.     (This)->lpVtbl -> get_BlockAlign(This,pVal)
  2521. #define ITScriptableAudioFormat_put_BlockAlign(This,nNewVal)
  2522.     (This)->lpVtbl -> put_BlockAlign(This,nNewVal)
  2523. #define ITScriptableAudioFormat_get_BitsPerSample(This,pVal)
  2524.     (This)->lpVtbl -> get_BitsPerSample(This,pVal)
  2525. #define ITScriptableAudioFormat_put_BitsPerSample(This,nNewVal)
  2526.     (This)->lpVtbl -> put_BitsPerSample(This,nNewVal)
  2527. #define ITScriptableAudioFormat_get_FormatTag(This,pVal)
  2528.     (This)->lpVtbl -> get_FormatTag(This,pVal)
  2529. #define ITScriptableAudioFormat_put_FormatTag(This,nNewVal)
  2530.     (This)->lpVtbl -> put_FormatTag(This,nNewVal)
  2531. #endif /* COBJMACROS */
  2532. #endif  /* C style interface */
  2533. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_get_Channels_Proxy( 
  2534.     ITScriptableAudioFormat * This,
  2535.     /* [retval][out] */ long *pVal);
  2536. void __RPC_STUB ITScriptableAudioFormat_get_Channels_Stub(
  2537.     IRpcStubBuffer *This,
  2538.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2539.     PRPC_MESSAGE _pRpcMessage,
  2540.     DWORD *_pdwStubPhase);
  2541. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_put_Channels_Proxy( 
  2542.     ITScriptableAudioFormat * This,
  2543.     /* [in] */ const long nNewVal);
  2544. void __RPC_STUB ITScriptableAudioFormat_put_Channels_Stub(
  2545.     IRpcStubBuffer *This,
  2546.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2547.     PRPC_MESSAGE _pRpcMessage,
  2548.     DWORD *_pdwStubPhase);
  2549. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_get_SamplesPerSec_Proxy( 
  2550.     ITScriptableAudioFormat * This,
  2551.     /* [retval][out] */ long *pVal);
  2552. void __RPC_STUB ITScriptableAudioFormat_get_SamplesPerSec_Stub(
  2553.     IRpcStubBuffer *This,
  2554.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2555.     PRPC_MESSAGE _pRpcMessage,
  2556.     DWORD *_pdwStubPhase);
  2557. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_put_SamplesPerSec_Proxy( 
  2558.     ITScriptableAudioFormat * This,
  2559.     /* [in] */ const long nNewVal);
  2560. void __RPC_STUB ITScriptableAudioFormat_put_SamplesPerSec_Stub(
  2561.     IRpcStubBuffer *This,
  2562.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2563.     PRPC_MESSAGE _pRpcMessage,
  2564.     DWORD *_pdwStubPhase);
  2565. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_get_AvgBytesPerSec_Proxy( 
  2566.     ITScriptableAudioFormat * This,
  2567.     /* [retval][out] */ long *pVal);
  2568. void __RPC_STUB ITScriptableAudioFormat_get_AvgBytesPerSec_Stub(
  2569.     IRpcStubBuffer *This,
  2570.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2571.     PRPC_MESSAGE _pRpcMessage,
  2572.     DWORD *_pdwStubPhase);
  2573. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_put_AvgBytesPerSec_Proxy( 
  2574.     ITScriptableAudioFormat * This,
  2575.     /* [in] */ const long nNewVal);
  2576. void __RPC_STUB ITScriptableAudioFormat_put_AvgBytesPerSec_Stub(
  2577.     IRpcStubBuffer *This,
  2578.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2579.     PRPC_MESSAGE _pRpcMessage,
  2580.     DWORD *_pdwStubPhase);
  2581. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_get_BlockAlign_Proxy( 
  2582.     ITScriptableAudioFormat * This,
  2583.     /* [retval][out] */ long *pVal);
  2584. void __RPC_STUB ITScriptableAudioFormat_get_BlockAlign_Stub(
  2585.     IRpcStubBuffer *This,
  2586.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2587.     PRPC_MESSAGE _pRpcMessage,
  2588.     DWORD *_pdwStubPhase);
  2589. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_put_BlockAlign_Proxy( 
  2590.     ITScriptableAudioFormat * This,
  2591.     /* [in] */ const long nNewVal);
  2592. void __RPC_STUB ITScriptableAudioFormat_put_BlockAlign_Stub(
  2593.     IRpcStubBuffer *This,
  2594.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2595.     PRPC_MESSAGE _pRpcMessage,
  2596.     DWORD *_pdwStubPhase);
  2597. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_get_BitsPerSample_Proxy( 
  2598.     ITScriptableAudioFormat * This,
  2599.     /* [retval][out] */ long *pVal);
  2600. void __RPC_STUB ITScriptableAudioFormat_get_BitsPerSample_Stub(
  2601.     IRpcStubBuffer *This,
  2602.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2603.     PRPC_MESSAGE _pRpcMessage,
  2604.     DWORD *_pdwStubPhase);
  2605. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_put_BitsPerSample_Proxy( 
  2606.     ITScriptableAudioFormat * This,
  2607.     /* [in] */ const long nNewVal);
  2608. void __RPC_STUB ITScriptableAudioFormat_put_BitsPerSample_Stub(
  2609.     IRpcStubBuffer *This,
  2610.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2611.     PRPC_MESSAGE _pRpcMessage,
  2612.     DWORD *_pdwStubPhase);
  2613. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_get_FormatTag_Proxy( 
  2614.     ITScriptableAudioFormat * This,
  2615.     /* [retval][out] */ long *pVal);
  2616. void __RPC_STUB ITScriptableAudioFormat_get_FormatTag_Stub(
  2617.     IRpcStubBuffer *This,
  2618.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2619.     PRPC_MESSAGE _pRpcMessage,
  2620.     DWORD *_pdwStubPhase);
  2621. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_put_FormatTag_Proxy( 
  2622.     ITScriptableAudioFormat * This,
  2623.     /* [in] */ const long nNewVal);
  2624. void __RPC_STUB ITScriptableAudioFormat_put_FormatTag_Stub(
  2625.     IRpcStubBuffer *This,
  2626.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2627.     PRPC_MESSAGE _pRpcMessage,
  2628.     DWORD *_pdwStubPhase);
  2629. #endif  /* __ITScriptableAudioFormat_INTERFACE_DEFINED__ */
  2630. /* interface __MIDL_itf_tapi3if_0481 */
  2631. /* [local] */ 
  2632. /****************************************
  2633.  * Terminal Classes
  2634.  ****************************************/
  2635. // Video Windows - {F7438990-D6EB-11d0-82A6-00AA00B5CA1B}
  2636. EXTERN_C const CLSID CLSID_VideoWindowTerm;
  2637. // Video input (camera) {AAF578EC-DC70-11d0-8ED3-00C04FB6809F}
  2638. EXTERN_C const CLSID CLSID_VideoInputTerminal;
  2639. // Handset device {AAF578EB-DC70-11d0-8ED3-00C04FB6809F}
  2640. EXTERN_C const CLSID CLSID_HandsetTerminal;
  2641. // Headset device {AAF578ED-DC70-11d0-8ED3-00C04FB6809F}
  2642. EXTERN_C const CLSID CLSID_HeadsetTerminal;
  2643. // Speakerphone device {AAF578EE-DC70-11d0-8ED3-00C04FB6809F}
  2644. EXTERN_C const CLSID CLSID_SpeakerphoneTerminal;
  2645. // Microphone (sound card) {AAF578EF-DC70-11d0-8ED3-00C04FB6809F}
  2646. EXTERN_C const CLSID CLSID_MicrophoneTerminal;
  2647. // Speakers (sound card) {AAF578F0-DC70-11d0-8ED3-00C04FB6809F}
  2648. EXTERN_C const CLSID CLSID_SpeakersTerminal;
  2649. // Media stream terminal {E2F7AEF7-4971-11D1-A671-006097C9A2E8}
  2650. EXTERN_C const CLSID CLSID_MediaStreamTerminal;
  2651. // File Recording terminal {521F3D06-C3D0-4511-8617-86B9A783DA77}
  2652. EXTERN_C const CLSID CLSID_FileRecordingTerminal;
  2653. // File Recording Track {BF14A2E4-E88B-4ef5-9740-5AC5D022F8C9}
  2654. EXTERN_C const CLSID CLSID_FileRecordingTrack;
  2655. // File Playback Terminal {0CB9914C-79CD-47dc-ADB0-327F47CEFB20}
  2656. EXTERN_C const CLSID CLSID_FilePlaybackTerminal;
  2657. // define the media modes
  2658. #define TAPIMEDIATYPE_AUDIO                     0x8
  2659. #define TAPIMEDIATYPE_VIDEO                     0x8000
  2660. #define TAPIMEDIATYPE_DATAMODEM                 0x10
  2661. #define TAPIMEDIATYPE_G3FAX                     0x20
  2662. #define TAPIMEDIATYPE_MULTITRACK                0x10000
  2663. // {831CE2D6-83B5-11d1-BB5C-00C04FB6809F}
  2664. EXTERN_C const CLSID TAPIPROTOCOL_PSTN;
  2665. // {831CE2D7-83B5-11d1-BB5C-00C04FB6809F}
  2666. EXTERN_C const CLSID TAPIPROTOCOL_H323;
  2667. // {831CE2D8-83B5-11d1-BB5C-00C04FB6809F}
  2668. EXTERN_C const CLSID TAPIPROTOCOL_Multicast;
  2669. #define __TapiConstants_MODULE_DEFINED__
  2670. extern RPC_IF_HANDLE __MIDL_itf_tapi3if_0481_v0_0_c_ifspec;
  2671. extern RPC_IF_HANDLE __MIDL_itf_tapi3if_0481_v0_0_s_ifspec;
  2672. /* Additional Prototypes for ALL interfaces */
  2673. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
  2674. unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
  2675. unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
  2676. void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 
  2677. unsigned long             __RPC_USER  HWND_UserSize(     unsigned long *, unsigned long            , HWND * ); 
  2678. unsigned char * __RPC_USER  HWND_UserMarshal(  unsigned long *, unsigned char *, HWND * ); 
  2679. unsigned char * __RPC_USER  HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND * ); 
  2680. void                      __RPC_USER  HWND_UserFree(     unsigned long *, HWND * ); 
  2681. unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long *, unsigned long            , VARIANT * ); 
  2682. unsigned char * __RPC_USER  VARIANT_UserMarshal(  unsigned long *, unsigned char *, VARIANT * ); 
  2683. unsigned char * __RPC_USER  VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * ); 
  2684. void                      __RPC_USER  VARIANT_UserFree(     unsigned long *, VARIANT * ); 
  2685. /* end of Additional Prototypes */
  2686. #ifdef __cplusplus
  2687. }
  2688. #endif
  2689. #endif