mdhcp.h 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  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 __mdhcp_h__
  19. #define __mdhcp_h__
  20. #ifndef __IMcastScope_FWD_DEFINED__
  21. #define __IMcastScope_FWD_DEFINED__
  22. typedef struct IMcastScope IMcastScope;
  23. #endif
  24. #ifndef __IMcastLeaseInfo_FWD_DEFINED__
  25. #define __IMcastLeaseInfo_FWD_DEFINED__
  26. typedef struct IMcastLeaseInfo IMcastLeaseInfo;
  27. #endif
  28. #ifndef __IEnumMcastScope_FWD_DEFINED__
  29. #define __IEnumMcastScope_FWD_DEFINED__
  30. typedef struct IEnumMcastScope IEnumMcastScope;
  31. #endif
  32. #ifndef __IMcastAddressAllocation_FWD_DEFINED__
  33. #define __IMcastAddressAllocation_FWD_DEFINED__
  34. typedef struct IMcastAddressAllocation IMcastAddressAllocation;
  35. #endif
  36. #ifndef __IMcastScope_FWD_DEFINED__
  37. #define __IMcastScope_FWD_DEFINED__
  38. typedef struct IMcastScope IMcastScope;
  39. #endif
  40. #ifndef __IMcastLeaseInfo_FWD_DEFINED__
  41. #define __IMcastLeaseInfo_FWD_DEFINED__
  42. typedef struct IMcastLeaseInfo IMcastLeaseInfo;
  43. #endif
  44. #ifndef __IEnumMcastScope_FWD_DEFINED__
  45. #define __IEnumMcastScope_FWD_DEFINED__
  46. typedef struct IEnumMcastScope IEnumMcastScope;
  47. #endif
  48. #ifndef __IMcastAddressAllocation_FWD_DEFINED__
  49. #define __IMcastAddressAllocation_FWD_DEFINED__
  50. typedef struct IMcastAddressAllocation IMcastAddressAllocation;
  51. #endif
  52. #ifndef __McastAddressAllocation_FWD_DEFINED__
  53. #define __McastAddressAllocation_FWD_DEFINED__
  54. #ifdef __cplusplus
  55. typedef class McastAddressAllocation McastAddressAllocation;
  56. #else
  57. typedef struct McastAddressAllocation McastAddressAllocation;
  58. #endif
  59. #endif
  60. #include "oaidl.h"
  61. #include "ocidl.h"
  62. #include "tapi3if.h"
  63. #ifdef __cplusplus
  64. extern "C"{
  65. #endif
  66. #ifndef __MIDL_user_allocate_free_DEFINED__
  67. #define __MIDL_user_allocate_free_DEFINED__
  68. void *__RPC_API MIDL_user_allocate(size_t);
  69. void __RPC_API MIDL_user_free(void *);
  70. #endif
  71. extern RPC_IF_HANDLE __MIDL_itf_mdhcp_0000_v0_0_c_ifspec;
  72. extern RPC_IF_HANDLE __MIDL_itf_mdhcp_0000_v0_0_s_ifspec;
  73. #ifndef __IMcastScope_INTERFACE_DEFINED__
  74. #define __IMcastScope_INTERFACE_DEFINED__
  75. EXTERN_C const IID IID_IMcastScope;
  76. #if defined(__cplusplus) && !defined(CINTERFACE)
  77. struct IMcastScope : public IDispatch {
  78. public:
  79. virtual HRESULT WINAPI get_ScopeID(__LONG32 *pID) = 0;
  80. virtual HRESULT WINAPI get_ServerID(__LONG32 *pID) = 0;
  81. virtual HRESULT WINAPI get_InterfaceID(__LONG32 *pID) = 0;
  82. virtual HRESULT WINAPI get_ScopeDescription(BSTR *ppDescription) = 0;
  83. virtual HRESULT WINAPI get_TTL(__LONG32 *pTTL) = 0;
  84. };
  85. #else
  86. typedef struct IMcastScopeVtbl {
  87. BEGIN_INTERFACE
  88. HRESULT (WINAPI *QueryInterface)(IMcastScope *This,REFIID riid,void **ppvObject);
  89. ULONG (WINAPI *AddRef)(IMcastScope *This);
  90. ULONG (WINAPI *Release)(IMcastScope *This);
  91. HRESULT (WINAPI *GetTypeInfoCount)(IMcastScope *This,UINT *pctinfo);
  92. HRESULT (WINAPI *GetTypeInfo)(IMcastScope *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  93. HRESULT (WINAPI *GetIDsOfNames)(IMcastScope *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  94. HRESULT (WINAPI *Invoke)(IMcastScope *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  95. HRESULT (WINAPI *get_ScopeID)(IMcastScope *This,__LONG32 *pID);
  96. HRESULT (WINAPI *get_ServerID)(IMcastScope *This,__LONG32 *pID);
  97. HRESULT (WINAPI *get_InterfaceID)(IMcastScope *This,__LONG32 *pID);
  98. HRESULT (WINAPI *get_ScopeDescription)(IMcastScope *This,BSTR *ppDescription);
  99. HRESULT (WINAPI *get_TTL)(IMcastScope *This,__LONG32 *pTTL);
  100. END_INTERFACE
  101. } IMcastScopeVtbl;
  102. struct IMcastScope {
  103. CONST_VTBL struct IMcastScopeVtbl *lpVtbl;
  104. };
  105. #ifdef COBJMACROS
  106. #define IMcastScope_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  107. #define IMcastScope_AddRef(This) (This)->lpVtbl->AddRef(This)
  108. #define IMcastScope_Release(This) (This)->lpVtbl->Release(This)
  109. #define IMcastScope_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  110. #define IMcastScope_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  111. #define IMcastScope_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  112. #define IMcastScope_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  113. #define IMcastScope_get_ScopeID(This,pID) (This)->lpVtbl->get_ScopeID(This,pID)
  114. #define IMcastScope_get_ServerID(This,pID) (This)->lpVtbl->get_ServerID(This,pID)
  115. #define IMcastScope_get_InterfaceID(This,pID) (This)->lpVtbl->get_InterfaceID(This,pID)
  116. #define IMcastScope_get_ScopeDescription(This,ppDescription) (This)->lpVtbl->get_ScopeDescription(This,ppDescription)
  117. #define IMcastScope_get_TTL(This,pTTL) (This)->lpVtbl->get_TTL(This,pTTL)
  118. #endif
  119. #endif
  120. HRESULT WINAPI IMcastScope_get_ScopeID_Proxy(IMcastScope *This,__LONG32 *pID);
  121. void __RPC_STUB IMcastScope_get_ScopeID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  122. HRESULT WINAPI IMcastScope_get_ServerID_Proxy(IMcastScope *This,__LONG32 *pID);
  123. void __RPC_STUB IMcastScope_get_ServerID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  124. HRESULT WINAPI IMcastScope_get_InterfaceID_Proxy(IMcastScope *This,__LONG32 *pID);
  125. void __RPC_STUB IMcastScope_get_InterfaceID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  126. HRESULT WINAPI IMcastScope_get_ScopeDescription_Proxy(IMcastScope *This,BSTR *ppDescription);
  127. void __RPC_STUB IMcastScope_get_ScopeDescription_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  128. HRESULT WINAPI IMcastScope_get_TTL_Proxy(IMcastScope *This,__LONG32 *pTTL);
  129. void __RPC_STUB IMcastScope_get_TTL_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  130. #endif
  131. #ifndef __IMcastLeaseInfo_INTERFACE_DEFINED__
  132. #define __IMcastLeaseInfo_INTERFACE_DEFINED__
  133. EXTERN_C const IID IID_IMcastLeaseInfo;
  134. #if defined(__cplusplus) && !defined(CINTERFACE)
  135. struct IMcastLeaseInfo : public IDispatch {
  136. public:
  137. virtual HRESULT WINAPI get_RequestID(BSTR *ppRequestID) = 0;
  138. virtual HRESULT WINAPI get_LeaseStartTime(DATE *pTime) = 0;
  139. virtual HRESULT WINAPI put_LeaseStartTime(DATE time) = 0;
  140. virtual HRESULT WINAPI get_LeaseStopTime(DATE *pTime) = 0;
  141. virtual HRESULT WINAPI put_LeaseStopTime(DATE time) = 0;
  142. virtual HRESULT WINAPI get_AddressCount(__LONG32 *pCount) = 0;
  143. virtual HRESULT WINAPI get_ServerAddress(BSTR *ppAddress) = 0;
  144. virtual HRESULT WINAPI get_TTL(__LONG32 *pTTL) = 0;
  145. virtual HRESULT WINAPI get_Addresses(VARIANT *pVariant) = 0;
  146. virtual HRESULT WINAPI EnumerateAddresses(IEnumBstr **ppEnumAddresses) = 0;
  147. };
  148. #else
  149. typedef struct IMcastLeaseInfoVtbl {
  150. BEGIN_INTERFACE
  151. HRESULT (WINAPI *QueryInterface)(IMcastLeaseInfo *This,REFIID riid,void **ppvObject);
  152. ULONG (WINAPI *AddRef)(IMcastLeaseInfo *This);
  153. ULONG (WINAPI *Release)(IMcastLeaseInfo *This);
  154. HRESULT (WINAPI *GetTypeInfoCount)(IMcastLeaseInfo *This,UINT *pctinfo);
  155. HRESULT (WINAPI *GetTypeInfo)(IMcastLeaseInfo *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  156. HRESULT (WINAPI *GetIDsOfNames)(IMcastLeaseInfo *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  157. HRESULT (WINAPI *Invoke)(IMcastLeaseInfo *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  158. HRESULT (WINAPI *get_RequestID)(IMcastLeaseInfo *This,BSTR *ppRequestID);
  159. HRESULT (WINAPI *get_LeaseStartTime)(IMcastLeaseInfo *This,DATE *pTime);
  160. HRESULT (WINAPI *put_LeaseStartTime)(IMcastLeaseInfo *This,DATE time);
  161. HRESULT (WINAPI *get_LeaseStopTime)(IMcastLeaseInfo *This,DATE *pTime);
  162. HRESULT (WINAPI *put_LeaseStopTime)(IMcastLeaseInfo *This,DATE time);
  163. HRESULT (WINAPI *get_AddressCount)(IMcastLeaseInfo *This,__LONG32 *pCount);
  164. HRESULT (WINAPI *get_ServerAddress)(IMcastLeaseInfo *This,BSTR *ppAddress);
  165. HRESULT (WINAPI *get_TTL)(IMcastLeaseInfo *This,__LONG32 *pTTL);
  166. HRESULT (WINAPI *get_Addresses)(IMcastLeaseInfo *This,VARIANT *pVariant);
  167. HRESULT (WINAPI *EnumerateAddresses)(IMcastLeaseInfo *This,IEnumBstr **ppEnumAddresses);
  168. END_INTERFACE
  169. } IMcastLeaseInfoVtbl;
  170. struct IMcastLeaseInfo {
  171. CONST_VTBL struct IMcastLeaseInfoVtbl *lpVtbl;
  172. };
  173. #ifdef COBJMACROS
  174. #define IMcastLeaseInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  175. #define IMcastLeaseInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
  176. #define IMcastLeaseInfo_Release(This) (This)->lpVtbl->Release(This)
  177. #define IMcastLeaseInfo_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  178. #define IMcastLeaseInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  179. #define IMcastLeaseInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  180. #define IMcastLeaseInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  181. #define IMcastLeaseInfo_get_RequestID(This,ppRequestID) (This)->lpVtbl->get_RequestID(This,ppRequestID)
  182. #define IMcastLeaseInfo_get_LeaseStartTime(This,pTime) (This)->lpVtbl->get_LeaseStartTime(This,pTime)
  183. #define IMcastLeaseInfo_put_LeaseStartTime(This,time) (This)->lpVtbl->put_LeaseStartTime(This,time)
  184. #define IMcastLeaseInfo_get_LeaseStopTime(This,pTime) (This)->lpVtbl->get_LeaseStopTime(This,pTime)
  185. #define IMcastLeaseInfo_put_LeaseStopTime(This,time) (This)->lpVtbl->put_LeaseStopTime(This,time)
  186. #define IMcastLeaseInfo_get_AddressCount(This,pCount) (This)->lpVtbl->get_AddressCount(This,pCount)
  187. #define IMcastLeaseInfo_get_ServerAddress(This,ppAddress) (This)->lpVtbl->get_ServerAddress(This,ppAddress)
  188. #define IMcastLeaseInfo_get_TTL(This,pTTL) (This)->lpVtbl->get_TTL(This,pTTL)
  189. #define IMcastLeaseInfo_get_Addresses(This,pVariant) (This)->lpVtbl->get_Addresses(This,pVariant)
  190. #define IMcastLeaseInfo_EnumerateAddresses(This,ppEnumAddresses) (This)->lpVtbl->EnumerateAddresses(This,ppEnumAddresses)
  191. #endif
  192. #endif
  193. HRESULT WINAPI IMcastLeaseInfo_get_RequestID_Proxy(IMcastLeaseInfo *This,BSTR *ppRequestID);
  194. void __RPC_STUB IMcastLeaseInfo_get_RequestID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  195. HRESULT WINAPI IMcastLeaseInfo_get_LeaseStartTime_Proxy(IMcastLeaseInfo *This,DATE *pTime);
  196. void __RPC_STUB IMcastLeaseInfo_get_LeaseStartTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  197. HRESULT WINAPI IMcastLeaseInfo_put_LeaseStartTime_Proxy(IMcastLeaseInfo *This,DATE time);
  198. void __RPC_STUB IMcastLeaseInfo_put_LeaseStartTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  199. HRESULT WINAPI IMcastLeaseInfo_get_LeaseStopTime_Proxy(IMcastLeaseInfo *This,DATE *pTime);
  200. void __RPC_STUB IMcastLeaseInfo_get_LeaseStopTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  201. HRESULT WINAPI IMcastLeaseInfo_put_LeaseStopTime_Proxy(IMcastLeaseInfo *This,DATE time);
  202. void __RPC_STUB IMcastLeaseInfo_put_LeaseStopTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  203. HRESULT WINAPI IMcastLeaseInfo_get_AddressCount_Proxy(IMcastLeaseInfo *This,__LONG32 *pCount);
  204. void __RPC_STUB IMcastLeaseInfo_get_AddressCount_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  205. HRESULT WINAPI IMcastLeaseInfo_get_ServerAddress_Proxy(IMcastLeaseInfo *This,BSTR *ppAddress);
  206. void __RPC_STUB IMcastLeaseInfo_get_ServerAddress_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  207. HRESULT WINAPI IMcastLeaseInfo_get_TTL_Proxy(IMcastLeaseInfo *This,__LONG32 *pTTL);
  208. void __RPC_STUB IMcastLeaseInfo_get_TTL_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  209. HRESULT WINAPI IMcastLeaseInfo_get_Addresses_Proxy(IMcastLeaseInfo *This,VARIANT *pVariant);
  210. void __RPC_STUB IMcastLeaseInfo_get_Addresses_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  211. HRESULT WINAPI IMcastLeaseInfo_EnumerateAddresses_Proxy(IMcastLeaseInfo *This,IEnumBstr **ppEnumAddresses);
  212. void __RPC_STUB IMcastLeaseInfo_EnumerateAddresses_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  213. #endif
  214. #ifndef __IEnumMcastScope_INTERFACE_DEFINED__
  215. #define __IEnumMcastScope_INTERFACE_DEFINED__
  216. EXTERN_C const IID IID_IEnumMcastScope;
  217. #if defined(__cplusplus) && !defined(CINTERFACE)
  218. struct IEnumMcastScope : public IUnknown {
  219. public:
  220. virtual HRESULT WINAPI Next(ULONG celt,IMcastScope **ppScopes,ULONG *pceltFetched) = 0;
  221. virtual HRESULT WINAPI Reset(void) = 0;
  222. virtual HRESULT WINAPI Skip(ULONG celt) = 0;
  223. virtual HRESULT WINAPI Clone(IEnumMcastScope **ppEnum) = 0;
  224. };
  225. #else
  226. typedef struct IEnumMcastScopeVtbl {
  227. BEGIN_INTERFACE
  228. HRESULT (WINAPI *QueryInterface)(IEnumMcastScope *This,REFIID riid,void **ppvObject);
  229. ULONG (WINAPI *AddRef)(IEnumMcastScope *This);
  230. ULONG (WINAPI *Release)(IEnumMcastScope *This);
  231. HRESULT (WINAPI *Next)(IEnumMcastScope *This,ULONG celt,IMcastScope **ppScopes,ULONG *pceltFetched);
  232. HRESULT (WINAPI *Reset)(IEnumMcastScope *This);
  233. HRESULT (WINAPI *Skip)(IEnumMcastScope *This,ULONG celt);
  234. HRESULT (WINAPI *Clone)(IEnumMcastScope *This,IEnumMcastScope **ppEnum);
  235. END_INTERFACE
  236. } IEnumMcastScopeVtbl;
  237. struct IEnumMcastScope {
  238. CONST_VTBL struct IEnumMcastScopeVtbl *lpVtbl;
  239. };
  240. #ifdef COBJMACROS
  241. #define IEnumMcastScope_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  242. #define IEnumMcastScope_AddRef(This) (This)->lpVtbl->AddRef(This)
  243. #define IEnumMcastScope_Release(This) (This)->lpVtbl->Release(This)
  244. #define IEnumMcastScope_Next(This,celt,ppScopes,pceltFetched) (This)->lpVtbl->Next(This,celt,ppScopes,pceltFetched)
  245. #define IEnumMcastScope_Reset(This) (This)->lpVtbl->Reset(This)
  246. #define IEnumMcastScope_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
  247. #define IEnumMcastScope_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum)
  248. #endif
  249. #endif
  250. HRESULT WINAPI IEnumMcastScope_Next_Proxy(IEnumMcastScope *This,ULONG celt,IMcastScope **ppScopes,ULONG *pceltFetched);
  251. void __RPC_STUB IEnumMcastScope_Next_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  252. HRESULT WINAPI IEnumMcastScope_Reset_Proxy(IEnumMcastScope *This);
  253. void __RPC_STUB IEnumMcastScope_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  254. HRESULT WINAPI IEnumMcastScope_Skip_Proxy(IEnumMcastScope *This,ULONG celt);
  255. void __RPC_STUB IEnumMcastScope_Skip_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  256. HRESULT WINAPI IEnumMcastScope_Clone_Proxy(IEnumMcastScope *This,IEnumMcastScope **ppEnum);
  257. void __RPC_STUB IEnumMcastScope_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  258. #endif
  259. #ifndef __IMcastAddressAllocation_INTERFACE_DEFINED__
  260. #define __IMcastAddressAllocation_INTERFACE_DEFINED__
  261. EXTERN_C const IID IID_IMcastAddressAllocation;
  262. #if defined(__cplusplus) && !defined(CINTERFACE)
  263. struct IMcastAddressAllocation : public IDispatch {
  264. public:
  265. virtual HRESULT WINAPI get_Scopes(VARIANT *pVariant) = 0;
  266. virtual HRESULT WINAPI EnumerateScopes(IEnumMcastScope **ppEnumMcastScope) = 0;
  267. virtual HRESULT WINAPI RequestAddress(IMcastScope *pScope,DATE LeaseStartTime,DATE LeaseStopTime,__LONG32 NumAddresses,IMcastLeaseInfo **ppLeaseResponse) = 0;
  268. virtual HRESULT WINAPI RenewAddress(__LONG32 lReserved,IMcastLeaseInfo *pRenewRequest,IMcastLeaseInfo **ppRenewResponse) = 0;
  269. virtual HRESULT WINAPI ReleaseAddress(IMcastLeaseInfo *pReleaseRequest) = 0;
  270. virtual HRESULT WINAPI CreateLeaseInfo(DATE LeaseStartTime,DATE LeaseStopTime,DWORD dwNumAddresses,LPWSTR *ppAddresses,LPWSTR pRequestID,LPWSTR pServerAddress,IMcastLeaseInfo **ppReleaseRequest) = 0;
  271. virtual HRESULT WINAPI CreateLeaseInfoFromVariant(DATE LeaseStartTime,DATE LeaseStopTime,VARIANT vAddresses,BSTR pRequestID,BSTR pServerAddress,IMcastLeaseInfo **ppReleaseRequest) = 0;
  272. };
  273. #else
  274. typedef struct IMcastAddressAllocationVtbl {
  275. BEGIN_INTERFACE
  276. HRESULT (WINAPI *QueryInterface)(IMcastAddressAllocation *This,REFIID riid,void **ppvObject);
  277. ULONG (WINAPI *AddRef)(IMcastAddressAllocation *This);
  278. ULONG (WINAPI *Release)(IMcastAddressAllocation *This);
  279. HRESULT (WINAPI *GetTypeInfoCount)(IMcastAddressAllocation *This,UINT *pctinfo);
  280. HRESULT (WINAPI *GetTypeInfo)(IMcastAddressAllocation *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  281. HRESULT (WINAPI *GetIDsOfNames)(IMcastAddressAllocation *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  282. HRESULT (WINAPI *Invoke)(IMcastAddressAllocation *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  283. HRESULT (WINAPI *get_Scopes)(IMcastAddressAllocation *This,VARIANT *pVariant);
  284. HRESULT (WINAPI *EnumerateScopes)(IMcastAddressAllocation *This,IEnumMcastScope **ppEnumMcastScope);
  285. HRESULT (WINAPI *RequestAddress)(IMcastAddressAllocation *This,IMcastScope *pScope,DATE LeaseStartTime,DATE LeaseStopTime,__LONG32 NumAddresses,IMcastLeaseInfo **ppLeaseResponse);
  286. HRESULT (WINAPI *RenewAddress)(IMcastAddressAllocation *This,__LONG32 lReserved,IMcastLeaseInfo *pRenewRequest,IMcastLeaseInfo **ppRenewResponse);
  287. HRESULT (WINAPI *ReleaseAddress)(IMcastAddressAllocation *This,IMcastLeaseInfo *pReleaseRequest);
  288. HRESULT (WINAPI *CreateLeaseInfo)(IMcastAddressAllocation *This,DATE LeaseStartTime,DATE LeaseStopTime,DWORD dwNumAddresses,LPWSTR *ppAddresses,LPWSTR pRequestID,LPWSTR pServerAddress,IMcastLeaseInfo **ppReleaseRequest);
  289. HRESULT (WINAPI *CreateLeaseInfoFromVariant)(IMcastAddressAllocation *This,DATE LeaseStartTime,DATE LeaseStopTime,VARIANT vAddresses,BSTR pRequestID,BSTR pServerAddress,IMcastLeaseInfo **ppReleaseRequest);
  290. END_INTERFACE
  291. } IMcastAddressAllocationVtbl;
  292. struct IMcastAddressAllocation {
  293. CONST_VTBL struct IMcastAddressAllocationVtbl *lpVtbl;
  294. };
  295. #ifdef COBJMACROS
  296. #define IMcastAddressAllocation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  297. #define IMcastAddressAllocation_AddRef(This) (This)->lpVtbl->AddRef(This)
  298. #define IMcastAddressAllocation_Release(This) (This)->lpVtbl->Release(This)
  299. #define IMcastAddressAllocation_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  300. #define IMcastAddressAllocation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  301. #define IMcastAddressAllocation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  302. #define IMcastAddressAllocation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  303. #define IMcastAddressAllocation_get_Scopes(This,pVariant) (This)->lpVtbl->get_Scopes(This,pVariant)
  304. #define IMcastAddressAllocation_EnumerateScopes(This,ppEnumMcastScope) (This)->lpVtbl->EnumerateScopes(This,ppEnumMcastScope)
  305. #define IMcastAddressAllocation_RequestAddress(This,pScope,LeaseStartTime,LeaseStopTime,NumAddresses,ppLeaseResponse) (This)->lpVtbl->RequestAddress(This,pScope,LeaseStartTime,LeaseStopTime,NumAddresses,ppLeaseResponse)
  306. #define IMcastAddressAllocation_RenewAddress(This,lReserved,pRenewRequest,ppRenewResponse) (This)->lpVtbl->RenewAddress(This,lReserved,pRenewRequest,ppRenewResponse)
  307. #define IMcastAddressAllocation_ReleaseAddress(This,pReleaseRequest) (This)->lpVtbl->ReleaseAddress(This,pReleaseRequest)
  308. #define IMcastAddressAllocation_CreateLeaseInfo(This,LeaseStartTime,LeaseStopTime,dwNumAddresses,ppAddresses,pRequestID,pServerAddress,ppReleaseRequest) (This)->lpVtbl->CreateLeaseInfo(This,LeaseStartTime,LeaseStopTime,dwNumAddresses,ppAddresses,pRequestID,pServerAddress,ppReleaseRequest)
  309. #define IMcastAddressAllocation_CreateLeaseInfoFromVariant(This,LeaseStartTime,LeaseStopTime,vAddresses,pRequestID,pServerAddress,ppReleaseRequest) (This)->lpVtbl->CreateLeaseInfoFromVariant(This,LeaseStartTime,LeaseStopTime,vAddresses,pRequestID,pServerAddress,ppReleaseRequest)
  310. #endif
  311. #endif
  312. HRESULT WINAPI IMcastAddressAllocation_get_Scopes_Proxy(IMcastAddressAllocation *This,VARIANT *pVariant);
  313. void __RPC_STUB IMcastAddressAllocation_get_Scopes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  314. HRESULT WINAPI IMcastAddressAllocation_EnumerateScopes_Proxy(IMcastAddressAllocation *This,IEnumMcastScope **ppEnumMcastScope);
  315. void __RPC_STUB IMcastAddressAllocation_EnumerateScopes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  316. HRESULT WINAPI IMcastAddressAllocation_RequestAddress_Proxy(IMcastAddressAllocation *This,IMcastScope *pScope,DATE LeaseStartTime,DATE LeaseStopTime,__LONG32 NumAddresses,IMcastLeaseInfo **ppLeaseResponse);
  317. void __RPC_STUB IMcastAddressAllocation_RequestAddress_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  318. HRESULT WINAPI IMcastAddressAllocation_RenewAddress_Proxy(IMcastAddressAllocation *This,__LONG32 lReserved,IMcastLeaseInfo *pRenewRequest,IMcastLeaseInfo **ppRenewResponse);
  319. void __RPC_STUB IMcastAddressAllocation_RenewAddress_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  320. HRESULT WINAPI IMcastAddressAllocation_ReleaseAddress_Proxy(IMcastAddressAllocation *This,IMcastLeaseInfo *pReleaseRequest);
  321. void __RPC_STUB IMcastAddressAllocation_ReleaseAddress_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  322. HRESULT WINAPI IMcastAddressAllocation_CreateLeaseInfo_Proxy(IMcastAddressAllocation *This,DATE LeaseStartTime,DATE LeaseStopTime,DWORD dwNumAddresses,LPWSTR *ppAddresses,LPWSTR pRequestID,LPWSTR pServerAddress,IMcastLeaseInfo **ppReleaseRequest);
  323. void __RPC_STUB IMcastAddressAllocation_CreateLeaseInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  324. HRESULT WINAPI IMcastAddressAllocation_CreateLeaseInfoFromVariant_Proxy(IMcastAddressAllocation *This,DATE LeaseStartTime,DATE LeaseStopTime,VARIANT vAddresses,BSTR pRequestID,BSTR pServerAddress,IMcastLeaseInfo **ppReleaseRequest);
  325. void __RPC_STUB IMcastAddressAllocation_CreateLeaseInfoFromVariant_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  326. #endif
  327. #ifndef __McastLib_LIBRARY_DEFINED__
  328. #define __McastLib_LIBRARY_DEFINED__
  329. EXTERN_C const IID LIBID_McastLib;
  330. EXTERN_C const CLSID CLSID_McastAddressAllocation;
  331. #ifdef __cplusplus
  332. class McastAddressAllocation;
  333. #endif
  334. #endif
  335. ULONG __RPC_API BSTR_UserSize(ULONG *,ULONG,BSTR *);
  336. unsigned char *__RPC_API BSTR_UserMarshal(ULONG *,unsigned char *,BSTR *);
  337. unsigned char *__RPC_API BSTR_UserUnmarshal(ULONG *,unsigned char *,BSTR *);
  338. void __RPC_API BSTR_UserFree(ULONG *,BSTR *);
  339. ULONG __RPC_API VARIANT_UserSize(ULONG *,ULONG,VARIANT *);
  340. unsigned char *__RPC_API VARIANT_UserMarshal(ULONG *,unsigned char *,VARIANT *);
  341. unsigned char *__RPC_API VARIANT_UserUnmarshal(ULONG *,unsigned char *,VARIANT *);
  342. void __RPC_API VARIANT_UserFree(ULONG *,VARIANT *);
  343. #ifdef __cplusplus
  344. }
  345. #endif
  346. #endif