sdpblb.h 58 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870
  1. /**
  2. * This file has no copyright assigned and is placed in the Public Domain.
  3. * This file is part of the mingw-w64 runtime package.
  4. * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5. */
  6. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  7. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  8. #endif
  9. #include "rpc.h"
  10. #include "rpcndr.h"
  11. #ifndef __RPCNDR_H_VERSION__
  12. #error This stub requires an updated version of <rpcndr.h>
  13. #endif
  14. #ifndef COM_NO_WINDOWS_H
  15. #include "windows.h"
  16. #include "ole2.h"
  17. #endif
  18. #ifndef __sdpblb_h__
  19. #define __sdpblb_h__
  20. #ifndef __ITConferenceBlob_FWD_DEFINED__
  21. #define __ITConferenceBlob_FWD_DEFINED__
  22. typedef struct ITConferenceBlob ITConferenceBlob;
  23. #endif
  24. #ifndef __ITMedia_FWD_DEFINED__
  25. #define __ITMedia_FWD_DEFINED__
  26. typedef struct ITMedia ITMedia;
  27. #endif
  28. #ifndef __IEnumMedia_FWD_DEFINED__
  29. #define __IEnumMedia_FWD_DEFINED__
  30. typedef struct IEnumMedia IEnumMedia;
  31. #endif
  32. #ifndef __ITMediaCollection_FWD_DEFINED__
  33. #define __ITMediaCollection_FWD_DEFINED__
  34. typedef struct ITMediaCollection ITMediaCollection;
  35. #endif
  36. #ifndef __ITTime_FWD_DEFINED__
  37. #define __ITTime_FWD_DEFINED__
  38. typedef struct ITTime ITTime;
  39. #endif
  40. #ifndef __IEnumTime_FWD_DEFINED__
  41. #define __IEnumTime_FWD_DEFINED__
  42. typedef struct IEnumTime IEnumTime;
  43. #endif
  44. #ifndef __ITTimeCollection_FWD_DEFINED__
  45. #define __ITTimeCollection_FWD_DEFINED__
  46. typedef struct ITTimeCollection ITTimeCollection;
  47. #endif
  48. #ifndef __ITSdp_FWD_DEFINED__
  49. #define __ITSdp_FWD_DEFINED__
  50. typedef struct ITSdp ITSdp;
  51. #endif
  52. #ifndef __ITConnection_FWD_DEFINED__
  53. #define __ITConnection_FWD_DEFINED__
  54. typedef struct ITConnection ITConnection;
  55. #endif
  56. #ifndef __ITAttributeList_FWD_DEFINED__
  57. #define __ITAttributeList_FWD_DEFINED__
  58. typedef struct ITAttributeList ITAttributeList;
  59. #endif
  60. #ifndef __ITMedia_FWD_DEFINED__
  61. #define __ITMedia_FWD_DEFINED__
  62. typedef struct ITMedia ITMedia;
  63. #endif
  64. #ifndef __ITTime_FWD_DEFINED__
  65. #define __ITTime_FWD_DEFINED__
  66. typedef struct ITTime ITTime;
  67. #endif
  68. #ifndef __ITConnection_FWD_DEFINED__
  69. #define __ITConnection_FWD_DEFINED__
  70. typedef struct ITConnection ITConnection;
  71. #endif
  72. #ifndef __ITAttributeList_FWD_DEFINED__
  73. #define __ITAttributeList_FWD_DEFINED__
  74. typedef struct ITAttributeList ITAttributeList;
  75. #endif
  76. #ifndef __SdpConferenceBlob_FWD_DEFINED__
  77. #define __SdpConferenceBlob_FWD_DEFINED__
  78. #ifdef __cplusplus
  79. typedef class SdpConferenceBlob SdpConferenceBlob;
  80. #else
  81. typedef struct SdpConferenceBlob SdpConferenceBlob;
  82. #endif
  83. #endif
  84. #include "oaidl.h"
  85. #include "ocidl.h"
  86. #ifdef __cplusplus
  87. extern "C" {
  88. #endif
  89. #ifndef __MIDL_user_allocate_free_DEFINED__
  90. #define __MIDL_user_allocate_free_DEFINED__
  91. void *__RPC_API MIDL_user_allocate(size_t);
  92. void __RPC_API MIDL_user_free(void *);
  93. #endif
  94. #define IDISPCONFBLOB (0x10000)
  95. #define IDISPSDP (0x20000)
  96. #define IDISPCONNECTION (0x30000)
  97. #define IDISPATTRLIST (0x40000)
  98. #define IDISPMEDIA (0x50000)
  99. typedef enum BLOB_CHARACTER_SET {
  100. BCS_ASCII = 1,BCS_UTF7 = 2,BCS_UTF8 = 3
  101. } BLOB_CHARACTER_SET;
  102. extern RPC_IF_HANDLE __MIDL_itf_sdpblb_0000_v0_0_c_ifspec;
  103. extern RPC_IF_HANDLE __MIDL_itf_sdpblb_0000_v0_0_s_ifspec;
  104. #ifndef __ITConferenceBlob_INTERFACE_DEFINED__
  105. #define __ITConferenceBlob_INTERFACE_DEFINED__
  106. EXTERN_C const IID IID_ITConferenceBlob;
  107. #if defined(__cplusplus) && !defined(CINTERFACE)
  108. struct ITConferenceBlob : public IDispatch {
  109. public:
  110. virtual HRESULT WINAPI Init(BSTR pName,BLOB_CHARACTER_SET CharacterSet,BSTR pBlob) = 0;
  111. virtual HRESULT WINAPI get_CharacterSet(BLOB_CHARACTER_SET *pCharacterSet) = 0;
  112. virtual HRESULT WINAPI get_ConferenceBlob(BSTR *ppBlob) = 0;
  113. virtual HRESULT WINAPI SetConferenceBlob(BLOB_CHARACTER_SET CharacterSet,BSTR pBlob) = 0;
  114. };
  115. #else
  116. typedef struct ITConferenceBlobVtbl {
  117. BEGIN_INTERFACE
  118. HRESULT (WINAPI *QueryInterface)(ITConferenceBlob *This,REFIID riid,void **ppvObject);
  119. ULONG (WINAPI *AddRef)(ITConferenceBlob *This);
  120. ULONG (WINAPI *Release)(ITConferenceBlob *This);
  121. HRESULT (WINAPI *GetTypeInfoCount)(ITConferenceBlob *This,UINT *pctinfo);
  122. HRESULT (WINAPI *GetTypeInfo)(ITConferenceBlob *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  123. HRESULT (WINAPI *GetIDsOfNames)(ITConferenceBlob *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  124. HRESULT (WINAPI *Invoke)(ITConferenceBlob *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  125. HRESULT (WINAPI *Init)(ITConferenceBlob *This,BSTR pName,BLOB_CHARACTER_SET CharacterSet,BSTR pBlob);
  126. HRESULT (WINAPI *get_CharacterSet)(ITConferenceBlob *This,BLOB_CHARACTER_SET *pCharacterSet);
  127. HRESULT (WINAPI *get_ConferenceBlob)(ITConferenceBlob *This,BSTR *ppBlob);
  128. HRESULT (WINAPI *SetConferenceBlob)(ITConferenceBlob *This,BLOB_CHARACTER_SET CharacterSet,BSTR pBlob);
  129. END_INTERFACE
  130. } ITConferenceBlobVtbl;
  131. struct ITConferenceBlob {
  132. CONST_VTBL struct ITConferenceBlobVtbl *lpVtbl;
  133. };
  134. #ifdef COBJMACROS
  135. #define ITConferenceBlob_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  136. #define ITConferenceBlob_AddRef(This) (This)->lpVtbl->AddRef(This)
  137. #define ITConferenceBlob_Release(This) (This)->lpVtbl->Release(This)
  138. #define ITConferenceBlob_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  139. #define ITConferenceBlob_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  140. #define ITConferenceBlob_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  141. #define ITConferenceBlob_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  142. #define ITConferenceBlob_Init(This,pName,CharacterSet,pBlob) (This)->lpVtbl->Init(This,pName,CharacterSet,pBlob)
  143. #define ITConferenceBlob_get_CharacterSet(This,pCharacterSet) (This)->lpVtbl->get_CharacterSet(This,pCharacterSet)
  144. #define ITConferenceBlob_get_ConferenceBlob(This,ppBlob) (This)->lpVtbl->get_ConferenceBlob(This,ppBlob)
  145. #define ITConferenceBlob_SetConferenceBlob(This,CharacterSet,pBlob) (This)->lpVtbl->SetConferenceBlob(This,CharacterSet,pBlob)
  146. #endif
  147. #endif
  148. HRESULT WINAPI ITConferenceBlob_Init_Proxy(ITConferenceBlob *This,BSTR pName,BLOB_CHARACTER_SET CharacterSet,BSTR pBlob);
  149. void __RPC_STUB ITConferenceBlob_Init_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  150. HRESULT WINAPI ITConferenceBlob_get_CharacterSet_Proxy(ITConferenceBlob *This,BLOB_CHARACTER_SET *pCharacterSet);
  151. void __RPC_STUB ITConferenceBlob_get_CharacterSet_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  152. HRESULT WINAPI ITConferenceBlob_get_ConferenceBlob_Proxy(ITConferenceBlob *This,BSTR *ppBlob);
  153. void __RPC_STUB ITConferenceBlob_get_ConferenceBlob_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  154. HRESULT WINAPI ITConferenceBlob_SetConferenceBlob_Proxy(ITConferenceBlob *This,BLOB_CHARACTER_SET CharacterSet,BSTR pBlob);
  155. void __RPC_STUB ITConferenceBlob_SetConferenceBlob_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  156. #endif
  157. #ifndef __ITMedia_INTERFACE_DEFINED__
  158. #define __ITMedia_INTERFACE_DEFINED__
  159. EXTERN_C const IID IID_ITMedia;
  160. #if defined(__cplusplus) && !defined(CINTERFACE)
  161. struct ITMedia : public IDispatch {
  162. public:
  163. virtual HRESULT WINAPI get_MediaName(BSTR *ppMediaName) = 0;
  164. virtual HRESULT WINAPI put_MediaName(BSTR pMediaName) = 0;
  165. virtual HRESULT WINAPI get_StartPort(LONG *pStartPort) = 0;
  166. virtual HRESULT WINAPI get_NumPorts(LONG *pNumPorts) = 0;
  167. virtual HRESULT WINAPI get_TransportProtocol(BSTR *ppProtocol) = 0;
  168. virtual HRESULT WINAPI put_TransportProtocol(BSTR pProtocol) = 0;
  169. virtual HRESULT WINAPI get_FormatCodes(VARIANT *pVal) = 0;
  170. virtual HRESULT WINAPI put_FormatCodes(VARIANT NewVal) = 0;
  171. virtual HRESULT WINAPI get_MediaTitle(BSTR *ppMediaTitle) = 0;
  172. virtual HRESULT WINAPI put_MediaTitle(BSTR pMediaTitle) = 0;
  173. virtual HRESULT WINAPI SetPortInfo(LONG StartPort,LONG NumPorts) = 0;
  174. };
  175. #else
  176. typedef struct ITMediaVtbl {
  177. BEGIN_INTERFACE
  178. HRESULT (WINAPI *QueryInterface)(ITMedia *This,REFIID riid,void **ppvObject);
  179. ULONG (WINAPI *AddRef)(ITMedia *This);
  180. ULONG (WINAPI *Release)(ITMedia *This);
  181. HRESULT (WINAPI *GetTypeInfoCount)(ITMedia *This,UINT *pctinfo);
  182. HRESULT (WINAPI *GetTypeInfo)(ITMedia *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  183. HRESULT (WINAPI *GetIDsOfNames)(ITMedia *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  184. HRESULT (WINAPI *Invoke)(ITMedia *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  185. HRESULT (WINAPI *get_MediaName)(ITMedia *This,BSTR *ppMediaName);
  186. HRESULT (WINAPI *put_MediaName)(ITMedia *This,BSTR pMediaName);
  187. HRESULT (WINAPI *get_StartPort)(ITMedia *This,LONG *pStartPort);
  188. HRESULT (WINAPI *get_NumPorts)(ITMedia *This,LONG *pNumPorts);
  189. HRESULT (WINAPI *get_TransportProtocol)(ITMedia *This,BSTR *ppProtocol);
  190. HRESULT (WINAPI *put_TransportProtocol)(ITMedia *This,BSTR pProtocol);
  191. HRESULT (WINAPI *get_FormatCodes)(ITMedia *This,VARIANT *pVal);
  192. HRESULT (WINAPI *put_FormatCodes)(ITMedia *This,VARIANT NewVal);
  193. HRESULT (WINAPI *get_MediaTitle)(ITMedia *This,BSTR *ppMediaTitle);
  194. HRESULT (WINAPI *put_MediaTitle)(ITMedia *This,BSTR pMediaTitle);
  195. HRESULT (WINAPI *SetPortInfo)(ITMedia *This,LONG StartPort,LONG NumPorts);
  196. END_INTERFACE
  197. } ITMediaVtbl;
  198. struct ITMedia {
  199. CONST_VTBL struct ITMediaVtbl *lpVtbl;
  200. };
  201. #ifdef COBJMACROS
  202. #define ITMedia_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  203. #define ITMedia_AddRef(This) (This)->lpVtbl->AddRef(This)
  204. #define ITMedia_Release(This) (This)->lpVtbl->Release(This)
  205. #define ITMedia_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  206. #define ITMedia_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  207. #define ITMedia_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  208. #define ITMedia_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  209. #define ITMedia_get_MediaName(This,ppMediaName) (This)->lpVtbl->get_MediaName(This,ppMediaName)
  210. #define ITMedia_put_MediaName(This,pMediaName) (This)->lpVtbl->put_MediaName(This,pMediaName)
  211. #define ITMedia_get_StartPort(This,pStartPort) (This)->lpVtbl->get_StartPort(This,pStartPort)
  212. #define ITMedia_get_NumPorts(This,pNumPorts) (This)->lpVtbl->get_NumPorts(This,pNumPorts)
  213. #define ITMedia_get_TransportProtocol(This,ppProtocol) (This)->lpVtbl->get_TransportProtocol(This,ppProtocol)
  214. #define ITMedia_put_TransportProtocol(This,pProtocol) (This)->lpVtbl->put_TransportProtocol(This,pProtocol)
  215. #define ITMedia_get_FormatCodes(This,pVal) (This)->lpVtbl->get_FormatCodes(This,pVal)
  216. #define ITMedia_put_FormatCodes(This,NewVal) (This)->lpVtbl->put_FormatCodes(This,NewVal)
  217. #define ITMedia_get_MediaTitle(This,ppMediaTitle) (This)->lpVtbl->get_MediaTitle(This,ppMediaTitle)
  218. #define ITMedia_put_MediaTitle(This,pMediaTitle) (This)->lpVtbl->put_MediaTitle(This,pMediaTitle)
  219. #define ITMedia_SetPortInfo(This,StartPort,NumPorts) (This)->lpVtbl->SetPortInfo(This,StartPort,NumPorts)
  220. #endif
  221. #endif
  222. HRESULT WINAPI ITMedia_get_MediaName_Proxy(ITMedia *This,BSTR *ppMediaName);
  223. void __RPC_STUB ITMedia_get_MediaName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  224. HRESULT WINAPI ITMedia_put_MediaName_Proxy(ITMedia *This,BSTR pMediaName);
  225. void __RPC_STUB ITMedia_put_MediaName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  226. HRESULT WINAPI ITMedia_get_StartPort_Proxy(ITMedia *This,LONG *pStartPort);
  227. void __RPC_STUB ITMedia_get_StartPort_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  228. HRESULT WINAPI ITMedia_get_NumPorts_Proxy(ITMedia *This,LONG *pNumPorts);
  229. void __RPC_STUB ITMedia_get_NumPorts_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  230. HRESULT WINAPI ITMedia_get_TransportProtocol_Proxy(ITMedia *This,BSTR *ppProtocol);
  231. void __RPC_STUB ITMedia_get_TransportProtocol_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  232. HRESULT WINAPI ITMedia_put_TransportProtocol_Proxy(ITMedia *This,BSTR pProtocol);
  233. void __RPC_STUB ITMedia_put_TransportProtocol_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  234. HRESULT WINAPI ITMedia_get_FormatCodes_Proxy(ITMedia *This,VARIANT *pVal);
  235. void __RPC_STUB ITMedia_get_FormatCodes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  236. HRESULT WINAPI ITMedia_put_FormatCodes_Proxy(ITMedia *This,VARIANT NewVal);
  237. void __RPC_STUB ITMedia_put_FormatCodes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  238. HRESULT WINAPI ITMedia_get_MediaTitle_Proxy(ITMedia *This,BSTR *ppMediaTitle);
  239. void __RPC_STUB ITMedia_get_MediaTitle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  240. HRESULT WINAPI ITMedia_put_MediaTitle_Proxy(ITMedia *This,BSTR pMediaTitle);
  241. void __RPC_STUB ITMedia_put_MediaTitle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  242. HRESULT WINAPI ITMedia_SetPortInfo_Proxy(ITMedia *This,LONG StartPort,LONG NumPorts);
  243. void __RPC_STUB ITMedia_SetPortInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  244. #endif
  245. #ifndef __IEnumMedia_INTERFACE_DEFINED__
  246. #define __IEnumMedia_INTERFACE_DEFINED__
  247. EXTERN_C const IID IID_IEnumMedia;
  248. #if defined(__cplusplus) && !defined(CINTERFACE)
  249. struct IEnumMedia : public IUnknown {
  250. public:
  251. virtual HRESULT WINAPI Next(ULONG celt,ITMedia **pVal,ULONG *pceltFetched) = 0;
  252. virtual HRESULT WINAPI Reset(void) = 0;
  253. virtual HRESULT WINAPI Skip(ULONG celt) = 0;
  254. virtual HRESULT WINAPI Clone(IEnumMedia **ppEnum) = 0;
  255. };
  256. #else
  257. typedef struct IEnumMediaVtbl {
  258. BEGIN_INTERFACE
  259. HRESULT (WINAPI *QueryInterface)(IEnumMedia *This,REFIID riid,void **ppvObject);
  260. ULONG (WINAPI *AddRef)(IEnumMedia *This);
  261. ULONG (WINAPI *Release)(IEnumMedia *This);
  262. HRESULT (WINAPI *Next)(IEnumMedia *This,ULONG celt,ITMedia **pVal,ULONG *pceltFetched);
  263. HRESULT (WINAPI *Reset)(IEnumMedia *This);
  264. HRESULT (WINAPI *Skip)(IEnumMedia *This,ULONG celt);
  265. HRESULT (WINAPI *Clone)(IEnumMedia *This,IEnumMedia **ppEnum);
  266. END_INTERFACE
  267. } IEnumMediaVtbl;
  268. struct IEnumMedia {
  269. CONST_VTBL struct IEnumMediaVtbl *lpVtbl;
  270. };
  271. #ifdef COBJMACROS
  272. #define IEnumMedia_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  273. #define IEnumMedia_AddRef(This) (This)->lpVtbl->AddRef(This)
  274. #define IEnumMedia_Release(This) (This)->lpVtbl->Release(This)
  275. #define IEnumMedia_Next(This,celt,pVal,pceltFetched) (This)->lpVtbl->Next(This,celt,pVal,pceltFetched)
  276. #define IEnumMedia_Reset(This) (This)->lpVtbl->Reset(This)
  277. #define IEnumMedia_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
  278. #define IEnumMedia_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum)
  279. #endif
  280. #endif
  281. HRESULT WINAPI IEnumMedia_Next_Proxy(IEnumMedia *This,ULONG celt,ITMedia **pVal,ULONG *pceltFetched);
  282. void __RPC_STUB IEnumMedia_Next_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  283. HRESULT WINAPI IEnumMedia_Reset_Proxy(IEnumMedia *This);
  284. void __RPC_STUB IEnumMedia_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  285. HRESULT WINAPI IEnumMedia_Skip_Proxy(IEnumMedia *This,ULONG celt);
  286. void __RPC_STUB IEnumMedia_Skip_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  287. HRESULT WINAPI IEnumMedia_Clone_Proxy(IEnumMedia *This,IEnumMedia **ppEnum);
  288. void __RPC_STUB IEnumMedia_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  289. #endif
  290. #ifndef __ITMediaCollection_INTERFACE_DEFINED__
  291. #define __ITMediaCollection_INTERFACE_DEFINED__
  292. EXTERN_C const IID IID_ITMediaCollection;
  293. #if defined(__cplusplus) && !defined(CINTERFACE)
  294. struct ITMediaCollection : public IDispatch {
  295. public:
  296. virtual HRESULT WINAPI get_Count(LONG *pVal) = 0;
  297. virtual HRESULT WINAPI get_Item(LONG Index,ITMedia **pVal) = 0;
  298. virtual HRESULT WINAPI get__NewEnum(IUnknown **pVal) = 0;
  299. virtual HRESULT WINAPI get_EnumerationIf(IEnumMedia **pVal) = 0;
  300. virtual HRESULT WINAPI Create(LONG Index,ITMedia **ppMedia) = 0;
  301. virtual HRESULT WINAPI Delete(LONG Index) = 0;
  302. };
  303. #else
  304. typedef struct ITMediaCollectionVtbl {
  305. BEGIN_INTERFACE
  306. HRESULT (WINAPI *QueryInterface)(ITMediaCollection *This,REFIID riid,void **ppvObject);
  307. ULONG (WINAPI *AddRef)(ITMediaCollection *This);
  308. ULONG (WINAPI *Release)(ITMediaCollection *This);
  309. HRESULT (WINAPI *GetTypeInfoCount)(ITMediaCollection *This,UINT *pctinfo);
  310. HRESULT (WINAPI *GetTypeInfo)(ITMediaCollection *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  311. HRESULT (WINAPI *GetIDsOfNames)(ITMediaCollection *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  312. HRESULT (WINAPI *Invoke)(ITMediaCollection *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  313. HRESULT (WINAPI *get_Count)(ITMediaCollection *This,LONG *pVal);
  314. HRESULT (WINAPI *get_Item)(ITMediaCollection *This,LONG Index,ITMedia **pVal);
  315. HRESULT (WINAPI *get__NewEnum)(ITMediaCollection *This,IUnknown **pVal);
  316. HRESULT (WINAPI *get_EnumerationIf)(ITMediaCollection *This,IEnumMedia **pVal);
  317. HRESULT (WINAPI *Create)(ITMediaCollection *This,LONG Index,ITMedia **ppMedia);
  318. HRESULT (WINAPI *Delete)(ITMediaCollection *This,LONG Index);
  319. END_INTERFACE
  320. } ITMediaCollectionVtbl;
  321. struct ITMediaCollection {
  322. CONST_VTBL struct ITMediaCollectionVtbl *lpVtbl;
  323. };
  324. #ifdef COBJMACROS
  325. #define ITMediaCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  326. #define ITMediaCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
  327. #define ITMediaCollection_Release(This) (This)->lpVtbl->Release(This)
  328. #define ITMediaCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  329. #define ITMediaCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  330. #define ITMediaCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  331. #define ITMediaCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  332. #define ITMediaCollection_get_Count(This,pVal) (This)->lpVtbl->get_Count(This,pVal)
  333. #define ITMediaCollection_get_Item(This,Index,pVal) (This)->lpVtbl->get_Item(This,Index,pVal)
  334. #define ITMediaCollection_get__NewEnum(This,pVal) (This)->lpVtbl->get__NewEnum(This,pVal)
  335. #define ITMediaCollection_get_EnumerationIf(This,pVal) (This)->lpVtbl->get_EnumerationIf(This,pVal)
  336. #define ITMediaCollection_Create(This,Index,ppMedia) (This)->lpVtbl->Create(This,Index,ppMedia)
  337. #define ITMediaCollection_Delete(This,Index) (This)->lpVtbl->Delete(This,Index)
  338. #endif
  339. #endif
  340. HRESULT WINAPI ITMediaCollection_get_Count_Proxy(ITMediaCollection *This,LONG *pVal);
  341. void __RPC_STUB ITMediaCollection_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  342. HRESULT WINAPI ITMediaCollection_get_Item_Proxy(ITMediaCollection *This,LONG Index,ITMedia **pVal);
  343. void __RPC_STUB ITMediaCollection_get_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  344. HRESULT WINAPI ITMediaCollection_get__NewEnum_Proxy(ITMediaCollection *This,IUnknown **pVal);
  345. void __RPC_STUB ITMediaCollection_get__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  346. HRESULT WINAPI ITMediaCollection_get_EnumerationIf_Proxy(ITMediaCollection *This,IEnumMedia **pVal);
  347. void __RPC_STUB ITMediaCollection_get_EnumerationIf_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  348. HRESULT WINAPI ITMediaCollection_Create_Proxy(ITMediaCollection *This,LONG Index,ITMedia **ppMedia);
  349. void __RPC_STUB ITMediaCollection_Create_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  350. HRESULT WINAPI ITMediaCollection_Delete_Proxy(ITMediaCollection *This,LONG Index);
  351. void __RPC_STUB ITMediaCollection_Delete_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  352. #endif
  353. #ifndef __ITTime_INTERFACE_DEFINED__
  354. #define __ITTime_INTERFACE_DEFINED__
  355. EXTERN_C const IID IID_ITTime;
  356. #if defined(__cplusplus) && !defined(CINTERFACE)
  357. struct ITTime : public IDispatch {
  358. public:
  359. virtual HRESULT WINAPI get_StartTime(DOUBLE *pTime) = 0;
  360. virtual HRESULT WINAPI put_StartTime(DOUBLE Time) = 0;
  361. virtual HRESULT WINAPI get_StopTime(DOUBLE *pTime) = 0;
  362. virtual HRESULT WINAPI put_StopTime(DOUBLE Time) = 0;
  363. };
  364. #else
  365. typedef struct ITTimeVtbl {
  366. BEGIN_INTERFACE
  367. HRESULT (WINAPI *QueryInterface)(ITTime *This,REFIID riid,void **ppvObject);
  368. ULONG (WINAPI *AddRef)(ITTime *This);
  369. ULONG (WINAPI *Release)(ITTime *This);
  370. HRESULT (WINAPI *GetTypeInfoCount)(ITTime *This,UINT *pctinfo);
  371. HRESULT (WINAPI *GetTypeInfo)(ITTime *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  372. HRESULT (WINAPI *GetIDsOfNames)(ITTime *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  373. HRESULT (WINAPI *Invoke)(ITTime *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  374. HRESULT (WINAPI *get_StartTime)(ITTime *This,DOUBLE *pTime);
  375. HRESULT (WINAPI *put_StartTime)(ITTime *This,DOUBLE Time);
  376. HRESULT (WINAPI *get_StopTime)(ITTime *This,DOUBLE *pTime);
  377. HRESULT (WINAPI *put_StopTime)(ITTime *This,DOUBLE Time);
  378. END_INTERFACE
  379. } ITTimeVtbl;
  380. struct ITTime {
  381. CONST_VTBL struct ITTimeVtbl *lpVtbl;
  382. };
  383. #ifdef COBJMACROS
  384. #define ITTime_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  385. #define ITTime_AddRef(This) (This)->lpVtbl->AddRef(This)
  386. #define ITTime_Release(This) (This)->lpVtbl->Release(This)
  387. #define ITTime_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  388. #define ITTime_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  389. #define ITTime_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  390. #define ITTime_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  391. #define ITTime_get_StartTime(This,pTime) (This)->lpVtbl->get_StartTime(This,pTime)
  392. #define ITTime_put_StartTime(This,Time) (This)->lpVtbl->put_StartTime(This,Time)
  393. #define ITTime_get_StopTime(This,pTime) (This)->lpVtbl->get_StopTime(This,pTime)
  394. #define ITTime_put_StopTime(This,Time) (This)->lpVtbl->put_StopTime(This,Time)
  395. #endif
  396. #endif
  397. HRESULT WINAPI ITTime_get_StartTime_Proxy(ITTime *This,DOUBLE *pTime);
  398. void __RPC_STUB ITTime_get_StartTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  399. HRESULT WINAPI ITTime_put_StartTime_Proxy(ITTime *This,DOUBLE Time);
  400. void __RPC_STUB ITTime_put_StartTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  401. HRESULT WINAPI ITTime_get_StopTime_Proxy(ITTime *This,DOUBLE *pTime);
  402. void __RPC_STUB ITTime_get_StopTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  403. HRESULT WINAPI ITTime_put_StopTime_Proxy(ITTime *This,DOUBLE Time);
  404. void __RPC_STUB ITTime_put_StopTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  405. #endif
  406. #ifndef __IEnumTime_INTERFACE_DEFINED__
  407. #define __IEnumTime_INTERFACE_DEFINED__
  408. EXTERN_C const IID IID_IEnumTime;
  409. #if defined(__cplusplus) && !defined(CINTERFACE)
  410. struct IEnumTime : public IUnknown {
  411. public:
  412. virtual HRESULT WINAPI Next(ULONG celt,ITTime **pVal,ULONG *pceltFetched) = 0;
  413. virtual HRESULT WINAPI Reset(void) = 0;
  414. virtual HRESULT WINAPI Skip(ULONG celt) = 0;
  415. virtual HRESULT WINAPI Clone(IEnumTime **ppEnum) = 0;
  416. };
  417. #else
  418. typedef struct IEnumTimeVtbl {
  419. BEGIN_INTERFACE
  420. HRESULT (WINAPI *QueryInterface)(IEnumTime *This,REFIID riid,void **ppvObject);
  421. ULONG (WINAPI *AddRef)(IEnumTime *This);
  422. ULONG (WINAPI *Release)(IEnumTime *This);
  423. HRESULT (WINAPI *Next)(IEnumTime *This,ULONG celt,ITTime **pVal,ULONG *pceltFetched);
  424. HRESULT (WINAPI *Reset)(IEnumTime *This);
  425. HRESULT (WINAPI *Skip)(IEnumTime *This,ULONG celt);
  426. HRESULT (WINAPI *Clone)(IEnumTime *This,IEnumTime **ppEnum);
  427. END_INTERFACE
  428. } IEnumTimeVtbl;
  429. struct IEnumTime {
  430. CONST_VTBL struct IEnumTimeVtbl *lpVtbl;
  431. };
  432. #ifdef COBJMACROS
  433. #define IEnumTime_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  434. #define IEnumTime_AddRef(This) (This)->lpVtbl->AddRef(This)
  435. #define IEnumTime_Release(This) (This)->lpVtbl->Release(This)
  436. #define IEnumTime_Next(This,celt,pVal,pceltFetched) (This)->lpVtbl->Next(This,celt,pVal,pceltFetched)
  437. #define IEnumTime_Reset(This) (This)->lpVtbl->Reset(This)
  438. #define IEnumTime_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
  439. #define IEnumTime_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum)
  440. #endif
  441. #endif
  442. HRESULT WINAPI IEnumTime_Next_Proxy(IEnumTime *This,ULONG celt,ITTime **pVal,ULONG *pceltFetched);
  443. void __RPC_STUB IEnumTime_Next_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  444. HRESULT WINAPI IEnumTime_Reset_Proxy(IEnumTime *This);
  445. void __RPC_STUB IEnumTime_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  446. HRESULT WINAPI IEnumTime_Skip_Proxy(IEnumTime *This,ULONG celt);
  447. void __RPC_STUB IEnumTime_Skip_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  448. HRESULT WINAPI IEnumTime_Clone_Proxy(IEnumTime *This,IEnumTime **ppEnum);
  449. void __RPC_STUB IEnumTime_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  450. #endif
  451. #ifndef __ITTimeCollection_INTERFACE_DEFINED__
  452. #define __ITTimeCollection_INTERFACE_DEFINED__
  453. EXTERN_C const IID IID_ITTimeCollection;
  454. #if defined(__cplusplus) && !defined(CINTERFACE)
  455. struct ITTimeCollection : public IDispatch {
  456. public:
  457. virtual HRESULT WINAPI get_Count(LONG *pVal) = 0;
  458. virtual HRESULT WINAPI get_Item(LONG Index,ITTime **pVal) = 0;
  459. virtual HRESULT WINAPI get__NewEnum(IUnknown **pVal) = 0;
  460. virtual HRESULT WINAPI get_EnumerationIf(IEnumTime **pVal) = 0;
  461. virtual HRESULT WINAPI Create(LONG Index,ITTime **ppTime) = 0;
  462. virtual HRESULT WINAPI Delete(LONG Index) = 0;
  463. };
  464. #else
  465. typedef struct ITTimeCollectionVtbl {
  466. BEGIN_INTERFACE
  467. HRESULT (WINAPI *QueryInterface)(ITTimeCollection *This,REFIID riid,void **ppvObject);
  468. ULONG (WINAPI *AddRef)(ITTimeCollection *This);
  469. ULONG (WINAPI *Release)(ITTimeCollection *This);
  470. HRESULT (WINAPI *GetTypeInfoCount)(ITTimeCollection *This,UINT *pctinfo);
  471. HRESULT (WINAPI *GetTypeInfo)(ITTimeCollection *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  472. HRESULT (WINAPI *GetIDsOfNames)(ITTimeCollection *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  473. HRESULT (WINAPI *Invoke)(ITTimeCollection *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  474. HRESULT (WINAPI *get_Count)(ITTimeCollection *This,LONG *pVal);
  475. HRESULT (WINAPI *get_Item)(ITTimeCollection *This,LONG Index,ITTime **pVal);
  476. HRESULT (WINAPI *get__NewEnum)(ITTimeCollection *This,IUnknown **pVal);
  477. HRESULT (WINAPI *get_EnumerationIf)(ITTimeCollection *This,IEnumTime **pVal);
  478. HRESULT (WINAPI *Create)(ITTimeCollection *This,LONG Index,ITTime **ppTime);
  479. HRESULT (WINAPI *Delete)(ITTimeCollection *This,LONG Index);
  480. END_INTERFACE
  481. } ITTimeCollectionVtbl;
  482. struct ITTimeCollection {
  483. CONST_VTBL struct ITTimeCollectionVtbl *lpVtbl;
  484. };
  485. #ifdef COBJMACROS
  486. #define ITTimeCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  487. #define ITTimeCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
  488. #define ITTimeCollection_Release(This) (This)->lpVtbl->Release(This)
  489. #define ITTimeCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  490. #define ITTimeCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  491. #define ITTimeCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  492. #define ITTimeCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  493. #define ITTimeCollection_get_Count(This,pVal) (This)->lpVtbl->get_Count(This,pVal)
  494. #define ITTimeCollection_get_Item(This,Index,pVal) (This)->lpVtbl->get_Item(This,Index,pVal)
  495. #define ITTimeCollection_get__NewEnum(This,pVal) (This)->lpVtbl->get__NewEnum(This,pVal)
  496. #define ITTimeCollection_get_EnumerationIf(This,pVal) (This)->lpVtbl->get_EnumerationIf(This,pVal)
  497. #define ITTimeCollection_Create(This,Index,ppTime) (This)->lpVtbl->Create(This,Index,ppTime)
  498. #define ITTimeCollection_Delete(This,Index) (This)->lpVtbl->Delete(This,Index)
  499. #endif
  500. #endif
  501. HRESULT WINAPI ITTimeCollection_get_Count_Proxy(ITTimeCollection *This,LONG *pVal);
  502. void __RPC_STUB ITTimeCollection_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  503. HRESULT WINAPI ITTimeCollection_get_Item_Proxy(ITTimeCollection *This,LONG Index,ITTime **pVal);
  504. void __RPC_STUB ITTimeCollection_get_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  505. HRESULT WINAPI ITTimeCollection_get__NewEnum_Proxy(ITTimeCollection *This,IUnknown **pVal);
  506. void __RPC_STUB ITTimeCollection_get__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  507. HRESULT WINAPI ITTimeCollection_get_EnumerationIf_Proxy(ITTimeCollection *This,IEnumTime **pVal);
  508. void __RPC_STUB ITTimeCollection_get_EnumerationIf_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  509. HRESULT WINAPI ITTimeCollection_Create_Proxy(ITTimeCollection *This,LONG Index,ITTime **ppTime);
  510. void __RPC_STUB ITTimeCollection_Create_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  511. HRESULT WINAPI ITTimeCollection_Delete_Proxy(ITTimeCollection *This,LONG Index);
  512. void __RPC_STUB ITTimeCollection_Delete_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  513. #endif
  514. #ifndef __ITSdp_INTERFACE_DEFINED__
  515. #define __ITSdp_INTERFACE_DEFINED__
  516. EXTERN_C const IID IID_ITSdp;
  517. #if defined(__cplusplus) && !defined(CINTERFACE)
  518. struct ITSdp : public IDispatch {
  519. public:
  520. virtual HRESULT WINAPI get_IsValid(VARIANT_BOOL *pfIsValid) = 0;
  521. virtual HRESULT WINAPI get_ProtocolVersion(unsigned char *pProtocolVersion) = 0;
  522. virtual HRESULT WINAPI get_SessionId(DOUBLE *pSessionId) = 0;
  523. virtual HRESULT WINAPI get_SessionVersion(DOUBLE *pSessionVersion) = 0;
  524. virtual HRESULT WINAPI put_SessionVersion(DOUBLE SessionVersion) = 0;
  525. virtual HRESULT WINAPI get_MachineAddress(BSTR *ppMachineAddress) = 0;
  526. virtual HRESULT WINAPI put_MachineAddress(BSTR pMachineAddress) = 0;
  527. virtual HRESULT WINAPI get_Name(BSTR *ppName) = 0;
  528. virtual HRESULT WINAPI put_Name(BSTR pName) = 0;
  529. virtual HRESULT WINAPI get_Description(BSTR *ppDescription) = 0;
  530. virtual HRESULT WINAPI put_Description(BSTR pDescription) = 0;
  531. virtual HRESULT WINAPI get_Url(BSTR *ppUrl) = 0;
  532. virtual HRESULT WINAPI put_Url(BSTR pUrl) = 0;
  533. virtual HRESULT WINAPI GetEmailNames(VARIANT *pAddresses,VARIANT *pNames) = 0;
  534. virtual HRESULT WINAPI SetEmailNames(VARIANT Addresses,VARIANT Names) = 0;
  535. virtual HRESULT WINAPI GetPhoneNumbers(VARIANT *pNumbers,VARIANT *pNames) = 0;
  536. virtual HRESULT WINAPI SetPhoneNumbers(VARIANT Numbers,VARIANT Names) = 0;
  537. virtual HRESULT WINAPI get_Originator(BSTR *ppOriginator) = 0;
  538. virtual HRESULT WINAPI put_Originator(BSTR pOriginator) = 0;
  539. virtual HRESULT WINAPI get_MediaCollection(ITMediaCollection **ppMediaCollection) = 0;
  540. virtual HRESULT WINAPI get_TimeCollection(ITTimeCollection **ppTimeCollection) = 0;
  541. };
  542. #else
  543. typedef struct ITSdpVtbl {
  544. BEGIN_INTERFACE
  545. HRESULT (WINAPI *QueryInterface)(ITSdp *This,REFIID riid,void **ppvObject);
  546. ULONG (WINAPI *AddRef)(ITSdp *This);
  547. ULONG (WINAPI *Release)(ITSdp *This);
  548. HRESULT (WINAPI *GetTypeInfoCount)(ITSdp *This,UINT *pctinfo);
  549. HRESULT (WINAPI *GetTypeInfo)(ITSdp *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  550. HRESULT (WINAPI *GetIDsOfNames)(ITSdp *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  551. HRESULT (WINAPI *Invoke)(ITSdp *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  552. HRESULT (WINAPI *get_IsValid)(ITSdp *This,VARIANT_BOOL *pfIsValid);
  553. HRESULT (WINAPI *get_ProtocolVersion)(ITSdp *This,unsigned char *pProtocolVersion);
  554. HRESULT (WINAPI *get_SessionId)(ITSdp *This,DOUBLE *pSessionId);
  555. HRESULT (WINAPI *get_SessionVersion)(ITSdp *This,DOUBLE *pSessionVersion);
  556. HRESULT (WINAPI *put_SessionVersion)(ITSdp *This,DOUBLE SessionVersion);
  557. HRESULT (WINAPI *get_MachineAddress)(ITSdp *This,BSTR *ppMachineAddress);
  558. HRESULT (WINAPI *put_MachineAddress)(ITSdp *This,BSTR pMachineAddress);
  559. HRESULT (WINAPI *get_Name)(ITSdp *This,BSTR *ppName);
  560. HRESULT (WINAPI *put_Name)(ITSdp *This,BSTR pName);
  561. HRESULT (WINAPI *get_Description)(ITSdp *This,BSTR *ppDescription);
  562. HRESULT (WINAPI *put_Description)(ITSdp *This,BSTR pDescription);
  563. HRESULT (WINAPI *get_Url)(ITSdp *This,BSTR *ppUrl);
  564. HRESULT (WINAPI *put_Url)(ITSdp *This,BSTR pUrl);
  565. HRESULT (WINAPI *GetEmailNames)(ITSdp *This,VARIANT *pAddresses,VARIANT *pNames);
  566. HRESULT (WINAPI *SetEmailNames)(ITSdp *This,VARIANT Addresses,VARIANT Names);
  567. HRESULT (WINAPI *GetPhoneNumbers)(ITSdp *This,VARIANT *pNumbers,VARIANT *pNames);
  568. HRESULT (WINAPI *SetPhoneNumbers)(ITSdp *This,VARIANT Numbers,VARIANT Names);
  569. HRESULT (WINAPI *get_Originator)(ITSdp *This,BSTR *ppOriginator);
  570. HRESULT (WINAPI *put_Originator)(ITSdp *This,BSTR pOriginator);
  571. HRESULT (WINAPI *get_MediaCollection)(ITSdp *This,ITMediaCollection **ppMediaCollection);
  572. HRESULT (WINAPI *get_TimeCollection)(ITSdp *This,ITTimeCollection **ppTimeCollection);
  573. END_INTERFACE
  574. } ITSdpVtbl;
  575. struct ITSdp {
  576. CONST_VTBL struct ITSdpVtbl *lpVtbl;
  577. };
  578. #ifdef COBJMACROS
  579. #define ITSdp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  580. #define ITSdp_AddRef(This) (This)->lpVtbl->AddRef(This)
  581. #define ITSdp_Release(This) (This)->lpVtbl->Release(This)
  582. #define ITSdp_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  583. #define ITSdp_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  584. #define ITSdp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  585. #define ITSdp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  586. #define ITSdp_get_IsValid(This,pfIsValid) (This)->lpVtbl->get_IsValid(This,pfIsValid)
  587. #define ITSdp_get_ProtocolVersion(This,pProtocolVersion) (This)->lpVtbl->get_ProtocolVersion(This,pProtocolVersion)
  588. #define ITSdp_get_SessionId(This,pSessionId) (This)->lpVtbl->get_SessionId(This,pSessionId)
  589. #define ITSdp_get_SessionVersion(This,pSessionVersion) (This)->lpVtbl->get_SessionVersion(This,pSessionVersion)
  590. #define ITSdp_put_SessionVersion(This,SessionVersion) (This)->lpVtbl->put_SessionVersion(This,SessionVersion)
  591. #define ITSdp_get_MachineAddress(This,ppMachineAddress) (This)->lpVtbl->get_MachineAddress(This,ppMachineAddress)
  592. #define ITSdp_put_MachineAddress(This,pMachineAddress) (This)->lpVtbl->put_MachineAddress(This,pMachineAddress)
  593. #define ITSdp_get_Name(This,ppName) (This)->lpVtbl->get_Name(This,ppName)
  594. #define ITSdp_put_Name(This,pName) (This)->lpVtbl->put_Name(This,pName)
  595. #define ITSdp_get_Description(This,ppDescription) (This)->lpVtbl->get_Description(This,ppDescription)
  596. #define ITSdp_put_Description(This,pDescription) (This)->lpVtbl->put_Description(This,pDescription)
  597. #define ITSdp_get_Url(This,ppUrl) (This)->lpVtbl->get_Url(This,ppUrl)
  598. #define ITSdp_put_Url(This,pUrl) (This)->lpVtbl->put_Url(This,pUrl)
  599. #define ITSdp_GetEmailNames(This,pAddresses,pNames) (This)->lpVtbl->GetEmailNames(This,pAddresses,pNames)
  600. #define ITSdp_SetEmailNames(This,Addresses,Names) (This)->lpVtbl->SetEmailNames(This,Addresses,Names)
  601. #define ITSdp_GetPhoneNumbers(This,pNumbers,pNames) (This)->lpVtbl->GetPhoneNumbers(This,pNumbers,pNames)
  602. #define ITSdp_SetPhoneNumbers(This,Numbers,Names) (This)->lpVtbl->SetPhoneNumbers(This,Numbers,Names)
  603. #define ITSdp_get_Originator(This,ppOriginator) (This)->lpVtbl->get_Originator(This,ppOriginator)
  604. #define ITSdp_put_Originator(This,pOriginator) (This)->lpVtbl->put_Originator(This,pOriginator)
  605. #define ITSdp_get_MediaCollection(This,ppMediaCollection) (This)->lpVtbl->get_MediaCollection(This,ppMediaCollection)
  606. #define ITSdp_get_TimeCollection(This,ppTimeCollection) (This)->lpVtbl->get_TimeCollection(This,ppTimeCollection)
  607. #endif
  608. #endif
  609. HRESULT WINAPI ITSdp_get_IsValid_Proxy(ITSdp *This,VARIANT_BOOL *pfIsValid);
  610. void __RPC_STUB ITSdp_get_IsValid_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  611. HRESULT WINAPI ITSdp_get_ProtocolVersion_Proxy(ITSdp *This,unsigned char *pProtocolVersion);
  612. void __RPC_STUB ITSdp_get_ProtocolVersion_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  613. HRESULT WINAPI ITSdp_get_SessionId_Proxy(ITSdp *This,DOUBLE *pSessionId);
  614. void __RPC_STUB ITSdp_get_SessionId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  615. HRESULT WINAPI ITSdp_get_SessionVersion_Proxy(ITSdp *This,DOUBLE *pSessionVersion);
  616. void __RPC_STUB ITSdp_get_SessionVersion_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  617. HRESULT WINAPI ITSdp_put_SessionVersion_Proxy(ITSdp *This,DOUBLE SessionVersion);
  618. void __RPC_STUB ITSdp_put_SessionVersion_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  619. HRESULT WINAPI ITSdp_get_MachineAddress_Proxy(ITSdp *This,BSTR *ppMachineAddress);
  620. void __RPC_STUB ITSdp_get_MachineAddress_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  621. HRESULT WINAPI ITSdp_put_MachineAddress_Proxy(ITSdp *This,BSTR pMachineAddress);
  622. void __RPC_STUB ITSdp_put_MachineAddress_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  623. HRESULT WINAPI ITSdp_get_Name_Proxy(ITSdp *This,BSTR *ppName);
  624. void __RPC_STUB ITSdp_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  625. HRESULT WINAPI ITSdp_put_Name_Proxy(ITSdp *This,BSTR pName);
  626. void __RPC_STUB ITSdp_put_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  627. HRESULT WINAPI ITSdp_get_Description_Proxy(ITSdp *This,BSTR *ppDescription);
  628. void __RPC_STUB ITSdp_get_Description_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  629. HRESULT WINAPI ITSdp_put_Description_Proxy(ITSdp *This,BSTR pDescription);
  630. void __RPC_STUB ITSdp_put_Description_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  631. HRESULT WINAPI ITSdp_get_Url_Proxy(ITSdp *This,BSTR *ppUrl);
  632. void __RPC_STUB ITSdp_get_Url_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  633. HRESULT WINAPI ITSdp_put_Url_Proxy(ITSdp *This,BSTR pUrl);
  634. void __RPC_STUB ITSdp_put_Url_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  635. HRESULT WINAPI ITSdp_GetEmailNames_Proxy(ITSdp *This,VARIANT *pAddresses,VARIANT *pNames);
  636. void __RPC_STUB ITSdp_GetEmailNames_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  637. HRESULT WINAPI ITSdp_SetEmailNames_Proxy(ITSdp *This,VARIANT Addresses,VARIANT Names);
  638. void __RPC_STUB ITSdp_SetEmailNames_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  639. HRESULT WINAPI ITSdp_GetPhoneNumbers_Proxy(ITSdp *This,VARIANT *pNumbers,VARIANT *pNames);
  640. void __RPC_STUB ITSdp_GetPhoneNumbers_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  641. HRESULT WINAPI ITSdp_SetPhoneNumbers_Proxy(ITSdp *This,VARIANT Numbers,VARIANT Names);
  642. void __RPC_STUB ITSdp_SetPhoneNumbers_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  643. HRESULT WINAPI ITSdp_get_Originator_Proxy(ITSdp *This,BSTR *ppOriginator);
  644. void __RPC_STUB ITSdp_get_Originator_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  645. HRESULT WINAPI ITSdp_put_Originator_Proxy(ITSdp *This,BSTR pOriginator);
  646. void __RPC_STUB ITSdp_put_Originator_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  647. HRESULT WINAPI ITSdp_get_MediaCollection_Proxy(ITSdp *This,ITMediaCollection **ppMediaCollection);
  648. void __RPC_STUB ITSdp_get_MediaCollection_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  649. HRESULT WINAPI ITSdp_get_TimeCollection_Proxy(ITSdp *This,ITTimeCollection **ppTimeCollection);
  650. void __RPC_STUB ITSdp_get_TimeCollection_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  651. #endif
  652. #ifndef __ITConnection_INTERFACE_DEFINED__
  653. #define __ITConnection_INTERFACE_DEFINED__
  654. EXTERN_C const IID IID_ITConnection;
  655. #if defined(__cplusplus) && !defined(CINTERFACE)
  656. struct ITConnection : public IDispatch {
  657. public:
  658. virtual HRESULT WINAPI get_NetworkType(BSTR *ppNetworkType) = 0;
  659. virtual HRESULT WINAPI put_NetworkType(BSTR pNetworkType) = 0;
  660. virtual HRESULT WINAPI get_AddressType(BSTR *ppAddressType) = 0;
  661. virtual HRESULT WINAPI put_AddressType(BSTR pAddressType) = 0;
  662. virtual HRESULT WINAPI get_StartAddress(BSTR *ppStartAddress) = 0;
  663. virtual HRESULT WINAPI get_NumAddresses(LONG *pNumAddresses) = 0;
  664. virtual HRESULT WINAPI get_Ttl(unsigned char *pTtl) = 0;
  665. virtual HRESULT WINAPI get_BandwidthModifier(BSTR *ppModifier) = 0;
  666. virtual HRESULT WINAPI get_Bandwidth(DOUBLE *pBandwidth) = 0;
  667. virtual HRESULT WINAPI SetAddressInfo(BSTR pStartAddress,LONG NumAddresses,unsigned char Ttl) = 0;
  668. virtual HRESULT WINAPI SetBandwidthInfo(BSTR pModifier,DOUBLE Bandwidth) = 0;
  669. virtual HRESULT WINAPI SetEncryptionKey(BSTR pKeyType,BSTR *ppKeyData) = 0;
  670. virtual HRESULT WINAPI GetEncryptionKey(BSTR *ppKeyType,VARIANT_BOOL *pfValidKeyData,BSTR *ppKeyData) = 0;
  671. };
  672. #else
  673. typedef struct ITConnectionVtbl {
  674. BEGIN_INTERFACE
  675. HRESULT (WINAPI *QueryInterface)(ITConnection *This,REFIID riid,void **ppvObject);
  676. ULONG (WINAPI *AddRef)(ITConnection *This);
  677. ULONG (WINAPI *Release)(ITConnection *This);
  678. HRESULT (WINAPI *GetTypeInfoCount)(ITConnection *This,UINT *pctinfo);
  679. HRESULT (WINAPI *GetTypeInfo)(ITConnection *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  680. HRESULT (WINAPI *GetIDsOfNames)(ITConnection *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  681. HRESULT (WINAPI *Invoke)(ITConnection *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  682. HRESULT (WINAPI *get_NetworkType)(ITConnection *This,BSTR *ppNetworkType);
  683. HRESULT (WINAPI *put_NetworkType)(ITConnection *This,BSTR pNetworkType);
  684. HRESULT (WINAPI *get_AddressType)(ITConnection *This,BSTR *ppAddressType);
  685. HRESULT (WINAPI *put_AddressType)(ITConnection *This,BSTR pAddressType);
  686. HRESULT (WINAPI *get_StartAddress)(ITConnection *This,BSTR *ppStartAddress);
  687. HRESULT (WINAPI *get_NumAddresses)(ITConnection *This,LONG *pNumAddresses);
  688. HRESULT (WINAPI *get_Ttl)(ITConnection *This,unsigned char *pTtl);
  689. HRESULT (WINAPI *get_BandwidthModifier)(ITConnection *This,BSTR *ppModifier);
  690. HRESULT (WINAPI *get_Bandwidth)(ITConnection *This,DOUBLE *pBandwidth);
  691. HRESULT (WINAPI *SetAddressInfo)(ITConnection *This,BSTR pStartAddress,LONG NumAddresses,unsigned char Ttl);
  692. HRESULT (WINAPI *SetBandwidthInfo)(ITConnection *This,BSTR pModifier,DOUBLE Bandwidth);
  693. HRESULT (WINAPI *SetEncryptionKey)(ITConnection *This,BSTR pKeyType,BSTR *ppKeyData);
  694. HRESULT (WINAPI *GetEncryptionKey)(ITConnection *This,BSTR *ppKeyType,VARIANT_BOOL *pfValidKeyData,BSTR *ppKeyData);
  695. END_INTERFACE
  696. } ITConnectionVtbl;
  697. struct ITConnection {
  698. CONST_VTBL struct ITConnectionVtbl *lpVtbl;
  699. };
  700. #ifdef COBJMACROS
  701. #define ITConnection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  702. #define ITConnection_AddRef(This) (This)->lpVtbl->AddRef(This)
  703. #define ITConnection_Release(This) (This)->lpVtbl->Release(This)
  704. #define ITConnection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  705. #define ITConnection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  706. #define ITConnection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  707. #define ITConnection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  708. #define ITConnection_get_NetworkType(This,ppNetworkType) (This)->lpVtbl->get_NetworkType(This,ppNetworkType)
  709. #define ITConnection_put_NetworkType(This,pNetworkType) (This)->lpVtbl->put_NetworkType(This,pNetworkType)
  710. #define ITConnection_get_AddressType(This,ppAddressType) (This)->lpVtbl->get_AddressType(This,ppAddressType)
  711. #define ITConnection_put_AddressType(This,pAddressType) (This)->lpVtbl->put_AddressType(This,pAddressType)
  712. #define ITConnection_get_StartAddress(This,ppStartAddress) (This)->lpVtbl->get_StartAddress(This,ppStartAddress)
  713. #define ITConnection_get_NumAddresses(This,pNumAddresses) (This)->lpVtbl->get_NumAddresses(This,pNumAddresses)
  714. #define ITConnection_get_Ttl(This,pTtl) (This)->lpVtbl->get_Ttl(This,pTtl)
  715. #define ITConnection_get_BandwidthModifier(This,ppModifier) (This)->lpVtbl->get_BandwidthModifier(This,ppModifier)
  716. #define ITConnection_get_Bandwidth(This,pBandwidth) (This)->lpVtbl->get_Bandwidth(This,pBandwidth)
  717. #define ITConnection_SetAddressInfo(This,pStartAddress,NumAddresses,Ttl) (This)->lpVtbl->SetAddressInfo(This,pStartAddress,NumAddresses,Ttl)
  718. #define ITConnection_SetBandwidthInfo(This,pModifier,Bandwidth) (This)->lpVtbl->SetBandwidthInfo(This,pModifier,Bandwidth)
  719. #define ITConnection_SetEncryptionKey(This,pKeyType,ppKeyData) (This)->lpVtbl->SetEncryptionKey(This,pKeyType,ppKeyData)
  720. #define ITConnection_GetEncryptionKey(This,ppKeyType,pfValidKeyData,ppKeyData) (This)->lpVtbl->GetEncryptionKey(This,ppKeyType,pfValidKeyData,ppKeyData)
  721. #endif
  722. #endif
  723. HRESULT WINAPI ITConnection_get_NetworkType_Proxy(ITConnection *This,BSTR *ppNetworkType);
  724. void __RPC_STUB ITConnection_get_NetworkType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  725. HRESULT WINAPI ITConnection_put_NetworkType_Proxy(ITConnection *This,BSTR pNetworkType);
  726. void __RPC_STUB ITConnection_put_NetworkType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  727. HRESULT WINAPI ITConnection_get_AddressType_Proxy(ITConnection *This,BSTR *ppAddressType);
  728. void __RPC_STUB ITConnection_get_AddressType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  729. HRESULT WINAPI ITConnection_put_AddressType_Proxy(ITConnection *This,BSTR pAddressType);
  730. void __RPC_STUB ITConnection_put_AddressType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  731. HRESULT WINAPI ITConnection_get_StartAddress_Proxy(ITConnection *This,BSTR *ppStartAddress);
  732. void __RPC_STUB ITConnection_get_StartAddress_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  733. HRESULT WINAPI ITConnection_get_NumAddresses_Proxy(ITConnection *This,LONG *pNumAddresses);
  734. void __RPC_STUB ITConnection_get_NumAddresses_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  735. HRESULT WINAPI ITConnection_get_Ttl_Proxy(ITConnection *This,unsigned char *pTtl);
  736. void __RPC_STUB ITConnection_get_Ttl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  737. HRESULT WINAPI ITConnection_get_BandwidthModifier_Proxy(ITConnection *This,BSTR *ppModifier);
  738. void __RPC_STUB ITConnection_get_BandwidthModifier_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  739. HRESULT WINAPI ITConnection_get_Bandwidth_Proxy(ITConnection *This,DOUBLE *pBandwidth);
  740. void __RPC_STUB ITConnection_get_Bandwidth_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  741. HRESULT WINAPI ITConnection_SetAddressInfo_Proxy(ITConnection *This,BSTR pStartAddress,LONG NumAddresses,unsigned char Ttl);
  742. void __RPC_STUB ITConnection_SetAddressInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  743. HRESULT WINAPI ITConnection_SetBandwidthInfo_Proxy(ITConnection *This,BSTR pModifier,DOUBLE Bandwidth);
  744. void __RPC_STUB ITConnection_SetBandwidthInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  745. HRESULT WINAPI ITConnection_SetEncryptionKey_Proxy(ITConnection *This,BSTR pKeyType,BSTR *ppKeyData);
  746. void __RPC_STUB ITConnection_SetEncryptionKey_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  747. HRESULT WINAPI ITConnection_GetEncryptionKey_Proxy(ITConnection *This,BSTR *ppKeyType,VARIANT_BOOL *pfValidKeyData,BSTR *ppKeyData);
  748. void __RPC_STUB ITConnection_GetEncryptionKey_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  749. #endif
  750. #ifndef __ITAttributeList_INTERFACE_DEFINED__
  751. #define __ITAttributeList_INTERFACE_DEFINED__
  752. EXTERN_C const IID IID_ITAttributeList;
  753. #if defined(__cplusplus) && !defined(CINTERFACE)
  754. struct ITAttributeList : public IDispatch {
  755. public:
  756. virtual HRESULT WINAPI get_Count(LONG *pVal) = 0;
  757. virtual HRESULT WINAPI get_Item(LONG Index,BSTR *pVal) = 0;
  758. virtual HRESULT WINAPI Add(LONG Index,BSTR pAttribute) = 0;
  759. virtual HRESULT WINAPI Delete(LONG Index) = 0;
  760. virtual HRESULT WINAPI get_AttributeList(VARIANT *pVal) = 0;
  761. virtual HRESULT WINAPI put_AttributeList(VARIANT newVal) = 0;
  762. };
  763. #else
  764. typedef struct ITAttributeListVtbl {
  765. BEGIN_INTERFACE
  766. HRESULT (WINAPI *QueryInterface)(ITAttributeList *This,REFIID riid,void **ppvObject);
  767. ULONG (WINAPI *AddRef)(ITAttributeList *This);
  768. ULONG (WINAPI *Release)(ITAttributeList *This);
  769. HRESULT (WINAPI *GetTypeInfoCount)(ITAttributeList *This,UINT *pctinfo);
  770. HRESULT (WINAPI *GetTypeInfo)(ITAttributeList *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  771. HRESULT (WINAPI *GetIDsOfNames)(ITAttributeList *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  772. HRESULT (WINAPI *Invoke)(ITAttributeList *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  773. HRESULT (WINAPI *get_Count)(ITAttributeList *This,LONG *pVal);
  774. HRESULT (WINAPI *get_Item)(ITAttributeList *This,LONG Index,BSTR *pVal);
  775. HRESULT (WINAPI *Add)(ITAttributeList *This,LONG Index,BSTR pAttribute);
  776. HRESULT (WINAPI *Delete)(ITAttributeList *This,LONG Index);
  777. HRESULT (WINAPI *get_AttributeList)(ITAttributeList *This,VARIANT *pVal);
  778. HRESULT (WINAPI *put_AttributeList)(ITAttributeList *This,VARIANT newVal);
  779. END_INTERFACE
  780. } ITAttributeListVtbl;
  781. struct ITAttributeList {
  782. CONST_VTBL struct ITAttributeListVtbl *lpVtbl;
  783. };
  784. #ifdef COBJMACROS
  785. #define ITAttributeList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  786. #define ITAttributeList_AddRef(This) (This)->lpVtbl->AddRef(This)
  787. #define ITAttributeList_Release(This) (This)->lpVtbl->Release(This)
  788. #define ITAttributeList_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  789. #define ITAttributeList_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  790. #define ITAttributeList_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  791. #define ITAttributeList_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  792. #define ITAttributeList_get_Count(This,pVal) (This)->lpVtbl->get_Count(This,pVal)
  793. #define ITAttributeList_get_Item(This,Index,pVal) (This)->lpVtbl->get_Item(This,Index,pVal)
  794. #define ITAttributeList_Add(This,Index,pAttribute) (This)->lpVtbl->Add(This,Index,pAttribute)
  795. #define ITAttributeList_Delete(This,Index) (This)->lpVtbl->Delete(This,Index)
  796. #define ITAttributeList_get_AttributeList(This,pVal) (This)->lpVtbl->get_AttributeList(This,pVal)
  797. #define ITAttributeList_put_AttributeList(This,newVal) (This)->lpVtbl->put_AttributeList(This,newVal)
  798. #endif
  799. #endif
  800. HRESULT WINAPI ITAttributeList_get_Count_Proxy(ITAttributeList *This,LONG *pVal);
  801. void __RPC_STUB ITAttributeList_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  802. HRESULT WINAPI ITAttributeList_get_Item_Proxy(ITAttributeList *This,LONG Index,BSTR *pVal);
  803. void __RPC_STUB ITAttributeList_get_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  804. HRESULT WINAPI ITAttributeList_Add_Proxy(ITAttributeList *This,LONG Index,BSTR pAttribute);
  805. void __RPC_STUB ITAttributeList_Add_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  806. HRESULT WINAPI ITAttributeList_Delete_Proxy(ITAttributeList *This,LONG Index);
  807. void __RPC_STUB ITAttributeList_Delete_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  808. HRESULT WINAPI ITAttributeList_get_AttributeList_Proxy(ITAttributeList *This,VARIANT *pVal);
  809. void __RPC_STUB ITAttributeList_get_AttributeList_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  810. HRESULT WINAPI ITAttributeList_put_AttributeList_Proxy(ITAttributeList *This,VARIANT newVal);
  811. void __RPC_STUB ITAttributeList_put_AttributeList_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  812. #endif
  813. #ifndef __SDPBLBLib_LIBRARY_DEFINED__
  814. #define __SDPBLBLib_LIBRARY_DEFINED__
  815. EXTERN_C const IID LIBID_SDPBLBLib;
  816. EXTERN_C const CLSID CLSID_SdpConferenceBlob;
  817. #ifdef __cplusplus
  818. class SdpConferenceBlob;
  819. #endif
  820. #endif
  821. ULONG __RPC_API BSTR_UserSize(ULONG *,ULONG,BSTR *);
  822. unsigned char *__RPC_API BSTR_UserMarshal(ULONG *,unsigned char *,BSTR *);
  823. unsigned char *__RPC_API BSTR_UserUnmarshal(ULONG *,unsigned char *,BSTR *);
  824. void __RPC_API BSTR_UserFree(ULONG *,BSTR *);
  825. ULONG __RPC_API VARIANT_UserSize(ULONG *,ULONG,VARIANT *);
  826. unsigned char *__RPC_API VARIANT_UserMarshal(ULONG *,unsigned char *,VARIANT *);
  827. unsigned char *__RPC_API VARIANT_UserUnmarshal(ULONG *,unsigned char *,VARIANT *);
  828. void __RPC_API VARIANT_UserFree(ULONG *,VARIANT *);
  829. #ifdef __cplusplus
  830. }
  831. #endif
  832. #endif